# Create new tags - best practice?

**URL:** <https://www.ruby-forum.com/t/create-new-tags-best-practice/108052>\
**Category:** Radiant CMS\
**Created:** [June 28, 2007, 7:49pm UTC](https://www.ruby-forum.com/t/create-new-tags-best-practice/108052 "2007-06-28T19:49:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pgundlach](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/b9e5f3/32.png) [@pgundlach](https://www.ruby-forum.com/u/pgundlach)\
**Post date:** [June 28, 2007, 7:49pm UTC](https://www.ruby-forum.com/t/create-new-tags-best-practice/108052/1 "2007-06-28T19:49:13Z")

</div>

Hi,

what is the current best practice to create new tags? Create an  
extension, create a module and include Radiant::Taggable and call  
Page.send :include, ? Or should I create a plugin as described  
in  
[http://radiantcms.org/blog/archives/2006/09/14/how-to-create-global-tags-in-a-plugin/](http://radiantcms.org/blog/archives/2006/09/14/how-to-create-global-tags-in-a-plugin/)?  
The latter seems to be outdated (radiant really evolves quickly - thats  
so nice).

Patrick

---

<div class="post-metadata">

**Author:** ![pgundlach](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/b9e5f3/32.png) [@pgundlach](https://www.ruby-forum.com/u/pgundlach)\
**Post date:** [June 28, 2007, 9:34pm UTC](https://www.ruby-forum.com/t/create-new-tags-best-practice/108052/2 "2007-06-28T21:34:21Z")

</div>

Hello again,

without being able to answer my own question (it would be still  
interesting to know), I have just used the script/generate extension and  
this was pretty easy to set up.

> what is the current best practice to create new tags? Create an  
> extension, create a module and include Radiant::Taggable and call  
> Page.send :include, ? Or should I create a plugin as described  
> in  
> [http://radiantcms.org/blog/archives/2006/09/14/how-to-create-global-tags-in-a-plugin/](http://radiantcms.org/blog/archives/2006/09/14/how-to-create-global-tags-in-a-plugin/)?  
> The latter seems to be outdated (radiant really evolves quickly - thats  
> so nice).

---

<div class="post-metadata">

**Author:** ![pgundlach](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/b9e5f3/32.png) [@pgundlach](https://www.ruby-forum.com/u/pgundlach)\
**Post date:** [July 16, 2007, 8:18pm UTC](https://www.ruby-forum.com/t/create-new-tags-best-practice/108052/3 "2007-07-16T20:18:53Z")

</div>

Patrick G. wrote:

> what is the current best practice to create new tags? Create an  
> extension, create a module and include Radiant::Taggable and call  
> Page.send :include, ? Or should I create a plugin as described  
> in  
> [http://radiantcms.org/blog/archives/2006/09/14/how-to-create-global-tags-in-a-plugin/](http://radiantcms.org/blog/archives/2006/09/14/how-to-create-global-tags-in-a-plugin/)?  
> The latter seems to be outdated (radiant really evolves quickly - thats  
> so nice).

The plugin approach was made obsolete with the release of the extension  
system in 0.6. See:

[http://wiki.radiantcms.org/Creating\_Radiant\_Extensions](http://wiki.radiantcms.org/Creating_Radiant_Extensions)

–  
John
