Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Help with global for adcycle GID in detailed.html

Quote Reply
Help with global for adcycle GID in detailed.html
I am using the adcycle plugin and want to display a category specific banner on each detailed page.

My directory is structured so that all sub categories are displayed on the main category page using SSI, and as such all my links are contained in sub categories and none in the main categories. Each of my main(father) categories is assigned a group of its own in adcycle and all the banners for that category are called from that group. There are no groups assigned to the sub categories.

The tag <%Plugins::Adcycle::display_banner ('5')%> will display a banner from GroupID 5. So I figure what I need to do is write a global that will return the adcycle GID of the Father/Main category for each link from the groups table in my database.

I hope that all makes sense.

There are 2 problems I can see with this

1. With my skills I wouldnt have a hope in hell of writing this global Unsure

2. I am not sure if i can use this tag <%Plugins::Adcycle::display_banner ('<%GID%>')%> ie. a tag within a tag.

Any help, suggestions or advice here would be greatly appreciated

Thanks
Mark
Subject Author Views Date
Thread Help with global for adcycle GID in detailed.html marker 1247 Nov 13, 2002, 7:22 AM
Post Re: [marker] Help with global for adcycle GID in detailed.html
marker 1171 Nov 14, 2002, 6:42 PM