<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Possible to look for tag before code execution ?</title>
		<link>https://www.cotonti.com</link>
		<description>Last topic posts</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Mon, 13 Apr 2026 10:18:57 -0000</pubDate>

		<item>
			<title>Elgan</title>
			<description><![CDATA[<blockquote><a href="https://www.cotonti.com/forums.php?m=posts&amp;p=11882#11882">#</a> <strong>Kilandor :</strong>
Its easy to check, just read the file. But as elgan said this could and likely would create lots of overhead. The 1 and only solution I could see to something like this is creating a system, to cache tags in TPL, but this seems like alot of work.<br />
<br />
Though there could be some gains for it with a re-design, as in some areas queries could be reduced I&quot;ve thought of that myself, in some areas why have all these tags working to be built then never used, (wasted resources)<br />
</blockquote>
<br />
i agree, so maybe its worth discussing and thinking more about some sort of skin tag cache system.]]></description>
			<pubDate>Wed, 29 Apr 2009 22:08:15 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2661&d=0#post11889]]></link>
		</item>
		<item>
			<title>Kilandor</title>
			<description><![CDATA[Its easy to check, just read the file. But as elgan said this could and likely would create lots of overhead. The 1 and only solution I could see to something like this is creating a system, to cache tags in TPL, but this seems like alot of work.<br />
<br />
Though there could be some gains for it with a re-design, as in some areas queries could be reduced I&quot;ve thought of that myself, in some areas why have all these tags working to be built then never used, (wasted resources)]]></description>
			<pubDate>Wed, 29 Apr 2009 06:21:01 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2661&d=0#post11882]]></link>
		</item>
		<item>
			<title>Elgan</title>
			<description><![CDATA[ive often thought about this in plugins.<br />
<br />
would maybe save some code, time etc.  Like for example id like to be able to produce lots of info and tags that were placeable on index or whatever. however i dont like to cause that overhead.<br />
<br />
so maybe if(tag exists) <br />
<br />
probably not so difficult to check.]]></description>
			<pubDate>Wed, 29 Apr 2009 06:10:22 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2661&d=0#post11881]]></link>
		</item>
		<item>
			<title>Lombi</title>
			<description><![CDATA[Will this be a banner rocket upgrade?<br />
<br />
Guess simplest way would be to make a list of templates on each location, then parse the three (header-whatever-footer) to see if it's included. If yes, up the counter and run the code, if not, do nothing.]]></description>
			<pubDate>Wed, 29 Apr 2009 05:06:30 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2661&d=0#post11876]]></link>
		</item>
		<item>
			<title>JonnyM</title>
			<description><![CDATA[Hi,<br />
<br />
Haven't coded anything Seditio related for some time now and definitely never done anything for <span style="color:#729FCF">C</span><span style="color:#F57900">o</span><span style="color:#729FCF">ton</span><span style="color:#F57900">t</span><span style="color:#729FCF">i</span>. But I figured I'd give it a go now.<br />
<br />
So, I have this plugin that will display an image, anywhere on the website, where it finds a tag like <span style="color:#F57900">{DISPLAY_ME_HERE}</span> .<br />
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.<br />
What I need is a way to know <span style="color:#F57900">IF the tag exists </span>on the page being loaded ( in any of the .tpl files being used), <span style="color:#F57900">THEN generate the code</span> for display.<br />
I'm not really sure how I would go about doing this.<br />
I would appreciate any help and/ or pointers in the right direction.<br />
<br />
Thanks,<br />
JonnyM]]></description>
			<pubDate>Wed, 29 Apr 2009 04:48:32 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2661&d=0#post11875]]></link>
		</item>
	</channel>
</rss>