Categories and Subcategories

13 posts by 6 authors in: Forums > CMS Builder
Last Post: June 21, 2010   (RSS)

Re: [Perchpole] Categories and Subcategories

By studio-a - June 18, 2010 - edited: June 18, 2010

Hello,

We have been reading this thread and it has the content of information we are seeking, but it’s not been clarified. IF someone can fill in the missing pieces we sure would appreciate your help.

What’s missing are just a few elements from Dave and Perchole comments. For example, the comment Perchole made in his Step 5 using the code below appears as if we know the our category name (YOURCATEGORY). We thought the idea was to allow One Table to Dynamically populate the other Table’s particular field and then to list all the records in the second table accordly with the dynamically populated field. Are we reading the intentions for this thread correctly?

'where' => "category = 'YOURCATEGORY'",

The other information missing is the PHP code from Carrie so that’s a bit confusing too. Dave did bring to comment more code for the where statement, but how do we actually use it?

'where' => " parentCategory = '" .getNumberFromEndOfUrl() . "'",


BELOW IS OUR SETUP.

table 01 = service_categories
textfield within this table = category_name

table 02 = service_titles
droplist within this table = category (this is being dynamically populated from table 01 textfield category_name)
textfield within this table = service_title
textbox within this table = description

Our objective is to create List Pages for EACH Service Category while displaying the service_titles and descriptions associated with the dynamically created category_name(s) filtering.

Anyone who can help please do. We look forward to hearing from you.

Thanks for your time!

studio-a

Re: [studio-a] Categories and Subcategories

By Jason - June 21, 2010

Hi,

Just want to confirm that this issue was resolved via e-mail. If so, could you post the solution.

If not, just let me know and I'll take another look at it.

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/