categories and sub-categories
13 posts by 2 authors in: Forums > CMS Builder
Last Post: July 13, 2011 (RSS)
By furcat - July 5, 2011
I will be wanting to first sort these contractors by their general category and then secondly by their sub-category on the website.
I am looking at setting up a section editor with the contractor name, address, etc. But, when I get to the point where I want to create a category I don't know how to handle the sub-category. I could set up two lists, one for category and then for sub-category, but I'm sure there's a more elegant way to handle this situation?
I appreciate any help or guidance.
Re: [furcat] categories and sub-categories
By Jason - July 6, 2011
What you can do is actually set up a category section in CMS Builder that you can use to create your entire category structure, top-level and sub categories.
Here is a sub-category tutorial here:
http://www.interactivetools.com/forum/gforum.cgi?post=77230#77230
Hope this helps get you started.
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Jason] categories and sub-categories
By furcat - July 6, 2011
Interior contractor (subs of painting, carpeting, windows, etc.)
Exterior contractor (subs of siding, roofing, etc.)
Concrete contractor (subs of driveway, sidewalk, etc.)
And so on ............
Re: [furcat] categories and sub-categories
By Jason - July 7, 2011
Okay, I see. In that case, you could model your data in two separate lists, one for "top level" and one for "sub level". One of the issues with doing it this way is that you wouldn't be able to go beyond 1 level of depth (ie, you could have a sub-sub-category).
It is sometimes good to experiment with a couple of different ways to model your data until you find one that matches your needs best.
Hope this helps. Please let us know if you have any other questions.
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Jason] categories and sub-categories
By furcat - July 12, 2011
How do I make the drop-down in the contractor section editor have the nice indented list like what is shown in the categogy menu?
Thanks.
Re: [furcat] categories and sub-categories
By Jason - July 12, 2011
There isn't a way to have your drop down be indented. The easiest solution would be to use the breadcrumb field for the label (not the value). That will show you the lineage of each option.
Hope this helps
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Jason] categories and sub-categories
By furcat - July 12, 2011
Re: [furcat] categories and sub-categories
By furcat - July 12, 2011
Re: [furcat] categories and sub-categories
By Jason - July 13, 2011
Glad to hear that everything is working for you now. Please let us know if you run into any other problems.
Thanks
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Jason] categories and sub-categories
By furcat - July 13, 2011