JonnyM |
|
---|---|
Hi,
Haven't coded anything Seditio related for some time now and definitely never done anything for Cotonti. But I figured I'd give it a go now. So, I have this plugin that will display an image, anywhere on the website, where it finds a tag like {DISPLAY_ME_HERE} . The problem is, whenever the code is generated for display, an counter increases. So I can't keep generating the code for each time any page loads and then just display it if a tag happens to be found. What I need is a way to know IF the tag exists on the page being loaded ( in any of the .tpl files being used), THEN generate the code for display. I'm not really sure how I would go about doing this. I would appreciate any help and/ or pointers in the right direction. Thanks, JonnyM |