<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Using Tags in Plugins</title>
		<link>https://www.cotonti.com</link>
		<description>Last topic posts</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Sun, 12 Apr 2026 12:32:29 -0000</pubDate>

		<item>
			<title>urlkiller</title>
			<description><![CDATA[got it to work! thx dude!]]></description>
			<pubDate>Thu, 25 Mar 2010 07:23:42 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=5447&d=0#post23765]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[You are also damn right about arrays <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/smile.gif" alt=":)" /> There an array $tag_areas, you can extend it with your own search this way:<br />
hook into 'tags.first':<br />
<div class="highlight"><pre class="php">$tag_areas&#091;&#093; = 'files';
function sed_tag_search_files($query)
{
    // Perform the search
}</pre></div>
See examples of such functions in <em>tags/inc/functions.php</em>]]></description>
			<pubDate>Thu, 25 Mar 2010 04:44:54 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=5447&d=0#post23760]]></link>
		</item>
		<item>
			<title>urlkiller</title>
			<description><![CDATA[ok this far it works well.<br />
<br />
the question is i want to use the index.tags and the search and both only looks for tags with pages and forum as cat?!<br />
<br />
if i add a tag with the cat &quot;files&quot; it just wont show up in the regular serch...<br /><br /><b>Added 44 seconds later:</b><br /><br />or do i have to change some array somewhere ? tags.php maybe?]]></description>
			<pubDate>Thu, 25 Mar 2010 03:09:22 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=5447&d=0#post23752]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[Yes, see sed_tag* functions in the reference manual. As for example of use, the <em>tags</em> plugin is a good implementation for 'pages' and 'forums'. You can use tags.forums.* to see how you could use these functions for 'files' or anything else as well, because the API works the same way for any module or plugin.]]></description>
			<pubDate>Tue, 23 Mar 2010 17:57:38 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=5447&d=0#post23724]]></link>
		</item>
		<item>
			<title>tensh</title>
			<description><![CDATA[Trustmaster said once that here:<br />
<a href="http://www.cotonti.com/docs/en/developer/code_reference">http://www.cotonti.com/docs/en/developer/code_reference</a><br />
<br />
we can find Tags API. So we can reuse specific functions for adding tags, etc.]]></description>
			<pubDate>Tue, 23 Mar 2010 16:18:22 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=5447&d=0#post23723]]></link>
		</item>
		<item>
			<title>urlkiller</title>
			<description><![CDATA[Hellow again,<br />
<br />
is there a way that i can add Tags as Category &quot;files&quot; instead of forum or page?<br />
i mean i tried NOT to make my own tag system and i wanted to use the onboard version.<br />
so how did i add/edit/delete show tags i was working in my plugins with.<br />
<br />
any tut i missed?]]></description>
			<pubDate>Tue, 23 Mar 2010 07:26:38 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=5447&d=0#post23722]]></link>
		</item>
	</channel>
</rss>