Page 1 of 1

Methodology suggestion

Posted: Wed Dec 16, 2009 1:17 pm
by igavemybest
I am looking to create a help section like: http://www.buy.com/help/welcome-to-help/67211.html

...namely with the topics to the left. Does anyone have any opinions on if it would be better to create just a new template with a table and links in it, or should I create a category list? Right now I am thinking table...any comments?

Re: Methodology suggestion

Posted: Thu Dec 17, 2009 10:41 am
by mazhar
One possibility could be create a category with AbleCommerce webpages in it. The next job could be to setup a left nav that can render those webpages titles in left nav. Finally you can create some custom category display page to show webpages from that category in desired format like in the link you posted above. One advantage with this approach is to edit HELP Contents (AbleWebPages) from within AbleCommerce.

Re: Methodology suggestion

Posted: Thu Dec 17, 2009 11:23 am
by igavemybest
Thats exactly what I did actually, at least for the web pages. They are all created within the help category and sub categories. I guess you are right, just makes more sense to use a custom category display. Things will be then updated and removed as they are changed, duh. Ok, thanks!

Re: Methodology suggestion

Posted: Sat Dec 19, 2009 12:52 pm
by igavemybest
What would be the best way to display the categories and content in a simplecategorylist? I havent really messed with that at all and am a little lost.

Re: Methodology suggestion

Posted: Mon Dec 21, 2009 5:36 am
by mazhar
Make use of CatalogDataSource class's LoadForCategory method to load all child nodes within a category. Something like

Code: Select all

CatalogNodeCollection catalogNodes = CatalogDataSource.LoadForCategory(categoryId, true);
This will load all objects within a category for example products, webpages, categories and links. You can then simply bind it to some repeater with list type format. Better have a look at category details page its doing quite similar job so you can use this control as sample.

Re: Methodology suggestion

Posted: Mon Dec 21, 2009 3:15 pm
by igavemybest
Ok, thanks