PDA


View Full Version : Category Conditionals ?


pulsetoday
09-03-2004, 12:56 PM
Is it possible to show content based on category?

Like when we use vB templates we can have conditions like

<if forumid==xyz> LOL Plz don't see if I am using this syntax correct , I have it written somewhere which I refer before actually using it on site </if>.

Is it possible for the links directory ?

Brian
09-03-2004, 01:50 PM
Yes, you can use conditionals in the links templates... What exactly are you trying to do though?

pulsetoday
09-03-2004, 09:20 PM
Show ads based on category, have few special instructions for particlular categories and show some related categories based on the category... :D


Ok, Can you tell me the exact code to use... <if the_cond_here== cat_id> </if> ... What do I replace at place of the_cond_here .


Regards!

Brian
09-04-2004, 01:23 AM
Ahh, gotcha. :)

<if condition="$catid == X">

Simple enough, huh? :)

pulsetoday
09-04-2004, 01:26 AM
Ahh, gotcha. :)

<if condition="$catid == X">

Simple enough, huh? :)
Yeah!

Man you have created an awsome software... This is perhaps the best investment that I have made after getting vB :D .