Lisa, At least I solve your original problem.
If you want to do something like this. Directory.cfm?cat=103&subcat=100 If you look at this site www.australianbridaldirectory.com.au and click the link services on the left side, you'll see what I mean. Regards, Andrew Scott Quote of the Day: In his novel ''Dog Years,'' Gunter Grass parodies Heideggerese in the character of a German Air Force auxiliary named Stortebeker, who ''created a philosophical schoolboy language that was soon prattled by many, with varying success.'' Every commonplace incident or object can be rechristened in Stortebeker/Heidegger's hilarious language. Underdone potatoes in the mess kitchen, for example, are ''spuds forgetful of Being.'' Stortebeker relaxes by catching rats, so they are the object of some of his best ruminations: ''The rat withdraws itself by unconcealing itself into the ratty. So the rat errates the ratty, illuminating it with errancy. For the ratty has come-to-be in the errancy where the rat errs and so fosters error.'' -----Original Message----- From: Lisa Deemy [mailto:[EMAIL PROTECTED] Sent: Sunday, 16 October 2005 4:56 PM To: CF-Newbie Subject: Re: cfelse or cfelseif or neither 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 to get a fax number that sends and receives faxes using your current email address http://www.houseoffusion.com/banners/view.cfm?bannerid=64 Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1453 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
