Gossamer Forum
Home : Products : Gossamer Links : Discussions :

How can I do an "if" statement with AdvertPRO?

Quote Reply
How can I do an "if" statement with AdvertPRO?
Hello, my Links SQL site has over 750 categories in it. I would like to be able to use a banner within my category template, but only on those cats & subcats where I have assigned relationships using the plugin. If I put this call <%Plugins::AdvertPRO::display_category_region('Which_Region')%> in the template it works great, but AdvertPro generates an error on the pages where I haven't assigned a region to an LSQL category. I don't want to have to assign 750 categories at present, but I would like to have the banners run on those that I have already assigned.

Can anyone think of a way I could use an "if" statement that would call <%Plugins::AdvertPRO::display_category_region('Which_Region')%> only if the relationship has been set through the plugin?

Thanks,

Bryce
Subject Author Views Date
Thread How can I do an "if" statement with AdvertPRO? Demolitioncrew 2189 Oct 7, 2002, 5:41 PM
Thread Re: [Demolitioncrew] How can I do an "if" statement with AdvertPRO?
Andy 2125 Oct 8, 2002, 1:31 AM
Thread Re: [Andy] How can I do an "if" statement with AdvertPRO?
Demolitioncrew 2135 Oct 8, 2002, 6:35 AM
Thread Re: [Demolitioncrew] How can I do an "if" statement with AdvertPRO?
Andy 2144 Oct 8, 2002, 6:41 AM
Thread Re: [Andy] How can I do an "if" statement with AdvertPRO?
Demolitioncrew 2111 Oct 8, 2002, 6:44 AM
Thread Re: [Demolitioncrew] How can I do an "if" statement with AdvertPRO?
qango 2132 Oct 8, 2002, 8:39 AM
Thread Re: [qango] How can I do an "if" statement with AdvertPRO?
Demolitioncrew 2121 Oct 9, 2002, 8:23 PM
Post Re: [Demolitioncrew] How can I do an "if" statement with AdvertPRO?
qango 2091 Oct 10, 2002, 1:11 AM