SUBCATEGORIES

6 posts by 2 authors in: Forums > CMS Builder
Last Post: October 27, 2009   (RSS)

By kitka - October 25, 2009

Hi ...

I am trying to set subcategories under a general umbrella called categories...

I created an area called "content" which has the dropdown list where the person adding info can add it to one of the subcatgories as listed below.
I am not sure how to setup the other List viewer pages to display the detail so it will show the results of the subcategories.
have alook a the link below..

any help would be appreciated

the sub categories are called

misc
textiles
sculpture
etc etc...

The List page comes out as follows but
http://www.cadainfo.com/categoriesList.php

But i am not sure how to get these pages to link properly to the content...Do i need to do a separate listviewer page for each subcategory?
jim albert

Re: [kitka] SUBCATEGORIES

By Dave - October 26, 2009

Hi kitka,

Use the Code Generator to make a list viewer page that lists all the "Content" records. You'll then be able to list "content" records from specific subcategories by adding something like this:

contentList.php?subcategory=15

Once you have all the content records showing you can filter them by adding search conditions in the url or in the where option. For more information about how searching works see this page in the docs:
http://www.interactivetools.com/docs/cmsbuilder/viewer_search.html

Note: Replace 'subcategory' with whatever the name of your field is that the subcategory value is stored in. And use the number if you are storing the number (or the name if you are storing the name) to lookup associated records.

Hope that makes sense. Let me know how it goes.
Dave Edis - Senior Developer
interactivetools.com

Re: [kitka] SUBCATEGORIES

By Dave - October 26, 2009

Hi Kitka,

Like this: http://www.cadainfo.com/contentList.php?category=Rugs

So basically you just need to create a link on your categoryList.php page that goes to http://www.cadainfo.com/contentList.php?category=Rugs and puts the category name where "Rugs" is.

Hope that helps! Let me know how that goes.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] SUBCATEGORIES

By kitka - October 26, 2009

Hi Dave:

I might hire you to do a couple of quick mods for me...
Is there a good time to get ahold of you diectly...

Easier to explain by phone via email first


JIM
jim albert

Re: [kitka] SUBCATEGORIES

By Dave - October 27, 2009

Hi Jim,

Sure just email me your contact info and availability and I'll give you a call. You can reach me at dave@interactivetools.com

Thanks!
Dave Edis - Senior Developer
interactivetools.com