Thanks Jenny,
Unfortunatly that doesn't work.
If you'd like to see what the code does now see 
http://www.endlessmountains.org/directory.cfm and click on dining you'll see 
the list
The client wants some of the subcategorys to display when the category is 
clicked. (fewer clicks for the user)
If you go to http://www.endlessmountains.org/directory500.cfm?cat_id=103
you'll see in the center portion there is an alphabetical list of all the 
places to eat, no longer broken up into subcategorys.

so you'll see that ALL the subcategory listings cant be on one page. The client 
still wants the categorys just not all the subcategorys. (Like under shopping 
wants them together all except Antiques; and in places to stay still wants tem 
all seperate the way they are now.

the url2.variable was just a way to differentiate between the 2. But I tried it 
the other way too.
Thanks,
Lisa


>Hi Lisa,
>
>Working through the logic, could this work?
>
><cfset mode = "directory">
><cfif isdefined("url.catID") and url.catID is 103>
><cfset mode = "category">
><cfelseif isdefined("url.catID2") and url.catID is 100>
><cfset mode = "subcategory">
></cfif>
>
>I noticed you used the variable url2.variable and I'm not aware this is 
>valid, I've only used url.variable myself?
>
>Are you just assigning the one variable from the url ?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1452
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to