Page 1 of 1

Webpage for category

Posted: Tue Apr 06, 2010 2:39 pm
by igavemybest
How do I designate a webpage for a category root?

Re: Webpage for category

Posted: Wed Apr 07, 2010 5:54 am
by jmestep
You can't get there from here. :D
In the past, I have created a category page to display content like a webpage so that it would show up in the root of the site. Able does have a CategoryDetails page now, so it looks like you can use it but take out some of the display elements.
I had thought about changing the admin to have an add webpage link show at root level, but doing that still might not let the link show up in the left nav because of code looking only for categories for the nav.

Re: Webpage for category

Posted: Wed Apr 07, 2010 8:34 pm
by igavemybest
To make sure I am understanding you correctly, there is no way to alter a category root to display web/html content besides selecting a category details page? Hmm..seeems counterintuitive to have a category "Corporate" lets say, but then have it so when someone actually clicks on the "Corporate" breadcrumb they go to a directory of webpages set up like products instead of a webpage or a category details page. I would think that it makes a lot of sense to allow an admin to put an HTML page in a category root.

Re: Webpage for category

Posted: Thu Apr 08, 2010 8:14 am
by jmestep
In the admin on the Catalog Browse page where it shows Add Item, you could change the code to include add webpage at that level.
The problem I was talking about was if you do that (webpage on same level as root categories), you would need to change whatever you are using in the left nav to display webpages as well as categories in the nav. Right now, the default controls only show categories. In the past, I had customized one to show webpages and products for someone with a small site. If the site is larger and they don't want all the webpages in the nav, you would have to code to show webpages only at a certain level of the structure or something like that.

Re: Webpage for category

Posted: Thu Apr 08, 2010 5:08 pm
by igavemybest
Ok, thanks for the help :)