Methodology suggestion

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
igavemybest
Captain (CAPT)
Captain (CAPT)
Posts: 388
Joined: Sun Apr 06, 2008 5:47 pm

Methodology suggestion

Post by igavemybest » Wed Dec 16, 2009 1:17 pm

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?

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Methodology suggestion

Post by mazhar » Thu Dec 17, 2009 10:41 am

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.

User avatar
igavemybest
Captain (CAPT)
Captain (CAPT)
Posts: 388
Joined: Sun Apr 06, 2008 5:47 pm

Re: Methodology suggestion

Post by igavemybest » Thu Dec 17, 2009 11:23 am

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!

User avatar
igavemybest
Captain (CAPT)
Captain (CAPT)
Posts: 388
Joined: Sun Apr 06, 2008 5:47 pm

Re: Methodology suggestion

Post by igavemybest » Sat Dec 19, 2009 12:52 pm

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.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Methodology suggestion

Post by mazhar » Mon Dec 21, 2009 5:36 am

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.

User avatar
igavemybest
Captain (CAPT)
Captain (CAPT)
Posts: 388
Joined: Sun Apr 06, 2008 5:47 pm

Re: Methodology suggestion

Post by igavemybest » Mon Dec 21, 2009 3:15 pm

Ok, thanks

Post Reply