Categories

4 posts by 3 authors in: Forums > CMS Builder
Last Post: November 1, 2010   (RSS)

By (Deleted User) - October 29, 2010

Hi Guys,

I'm currently using the category / subcategory list option on my site and in it I have a number of categories and sub-categories listed.

The problem however is that when given the option to select which category you want, you cannot distinguish in the list which is a category and which is a sub-category? The all appear in one long list.

Is there a way to somehow show visual difference between main categories and sub categories?

Re: [smesa] Categories

By Chris - October 29, 2010

Hi smesa,

The simplest approach is to use the '_listItemStart' and '_listItemEnd' pseudofields. See the first post in my Sub-categories Tutorial for an example:

http://www.interactivetools.com/forum/gforum.cgi?post=77230

Another approach might use the 'depth' field.

I hope this helps! Please let me know if you have any questions.
All the best,
Chris

Re: [smesa] Categories

By Jason - November 1, 2010

Hi Shawn,

If you've opted to create 2 different thumbnails, you can get the second type by adding a "2" to the end of your fields like this:

<img src="<?php echo $upload['thumbUrlPath2'] ?>" width="<?php echo $upload['thumbWidth2'] ?>" height="<?php echo $upload['thumbHeight2'] ?>" alt="" /><br/>

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/