<p>Depending on your needs, you may want to look into using <a href="http://buildwithcraft.com/docs/categories" rel="nofollow noreferrer">categories</a> instead of tags. Categories, like other entries, already have a status that can be turned on and off without creating a custom field. You can also manage categories thru their own section in the control panel like entries and assets.</p>

<p>Tags on the other hand, are kind of weird to manage in Craft. You can only add tags. You can't delete them without updating the database directly. And you can only add tags or update data in their fields by adding it to an entry, asset, or category.</p>

<p>Here's a screenshot below of how you would change the "oastatus" field for a tag that's been added to an entry. To do this, you would add the tag first, then double click on the tag to bring up this edit dialog of the tag's fields.</p>

<p><img src="https://i.sstatic.net/rLJQ0.png" alt="example of editing a tags custom fields"></p>

<p>If tags is the way you want to go, and you want to display a list of tags and the 'oastatus' field you created with Twig in your templates, you can use the craft.tags ElementCriteriaModel:</p>

<pre><code>&lt;ul&gt;
  {% for tag in craft.tags.group('theme') %}
    &lt;li&gt;{{ tag.title }} – {{ tag.oastatus }}&lt;/li&gt;
  {% endfor %}
&lt;/ul&gt;
</code></pre>

CC BY-SA 3.0
2015-02-20T07:04:47.973Z
2015-02-20T07:04:47.973Z
Alex Roper
<p>Craft treats all element types as equal: assets, categories, entries, tags and users. This means that each of these element types can have their own set of custom fields.</p>

<p>In practice, you may well not need to create custom fields for things like tags or categories, but it's useful to be able to add them if you need to.</p>

<p>The field layout for a Tag is used for applying custom data fields to each tag, such as a description, not for storing the name of the tags.</p>

<p>To use tags in your Craft site, you must first <a href="http://buildwithcraft.com/docs/tags" rel="nofollow noreferrer">create a tag group</a> for each different group of tags you want to use.</p>

<p>Next, add a <a href="http://buildwithcraft.com/docs/tags-fields" rel="nofollow noreferrer">tags field</a>  and assign it to the entry types that you want to tag.</p>

<p>Now, when you are adding the content for each entry, you will be able to add a relation to the tag you want to assign to that entry by clicking the plus button in the tags field and typing the name of the tag you want to assign to the entry. As you type a pop-up menu appears showing you the matching existing tags in the system. The last entry in this menu adds the current typed name as a new tag to the group.</p>

<p><img src="https://i.sstatic.net/zMFNu.jpg" alt="enter image description here"></p>

CC BY-SA 3.0
2015-02-17T15:05:33.533Z
2015-02-17T15:05:33.533Z
Steve Rowling
<p>I am managing Tags in Craft. For example, I have a tag called Theme with entries Light, Dark, Grayscale, etc.</p>

<p>I want to be able to list all tag entries and then toggle their status on/off.</p>

<p>I have added Theme as a tag and created a field layout as shown below.</p>

<p><img src="https://i.sstatic.net/q117G.png" alt="enter image description here"></p>

<p>How can I now list the tags to access this field?</p>

CC BY-SA 3.0
2015-02-26T09:21:21.820Z
Did either of these answers help at all? Or is there something else we're missing?
Alex Roper
<tags>
Tag: Field Layout
# Tag: Field Layout

(Asked by: username_0 on 2015-02-17)

I am managing Tags in Craft. For example, I have a tag called Theme with entries Light, Dark, Grayscale, etc.

I want to be able to list all tag entries and then toggle their status on/off.

I have added Theme as a tag and created a field layout as shown below.

![enter image description here](https://i.sstatic.net/q117G.png)

How can I now list the tags to access this field?

**Tags:** tags

> **Comments:**
> **username_1**: Did either of these answers help at all? Or is there something else we're missing?  

---

## 2 answers

### Answer by username_1 on 2015-02-20. Score: 3

Depending on your needs, you may want to look into using categories instead of tags. Categories, like other entries, already have a status that can be turned on and off without creating a custom field. You can also manage categories thru their own section in the control panel like entries and assets.
Tags on the other hand, are kind of weird to manage in Craft. You can only add tags. You can't delete them without updating the database directly. And you can only add tags or update data in their fields by adding it to an entry, asset, or category.
Here's a screenshot below of how you would change the "oastatus" field for a tag that's been added to an entry. To do this, you would add the tag first, then double click on the tag to bring up this edit dialog of the tag's fields.

If tags is the way you want to go, and you want to display a list of tags and the 'oastatus' field you created with Twig in your templates, you can use the craft.tags ElementCriteriaModel:

  {% for tag in craft.tags.group('theme') %}
    {{ tag.title }} – {{ tag.oastatus }}
  {% endfor %}


---

### Answer by username_2 on 2015-02-17. Score: 2

Craft treats all element types as equal: assets, categories, entries, tags and users. This means that each of these element types can have their own set of custom fields.

In practice, you may well not need to create custom fields for things like tags or categories, but it's useful to be able to add them if you need to.

The field layout for a Tag is used for applying custom data fields to each tag, such as a description, not for storing the name of the tags.

To use tags in your Craft site, you must first [create a tag group](http://buildwithcraft.com/docs/tags) for each different group of tags you want to use.

Next, add a [tags field](http://buildwithcraft.com/docs/tags-fields) and assign it to the entry types that you want to tag.

Now, when you are adding the content for each entry, you will be able to add a relation to the tag you want to assign to that entry by clicking the plus button in the tags field and typing the name of the tag you want to assign to the entry. As you type a pop-up menu appears showing you the matching existing tags in the system. The last entry in this menu adds the current typed name as a new tag to the group.

![enter image description here](https://i.sstatic.net/zMFNu.jpg)


---

