This chapter has not been updated for the current version of Orchard, and has been ARCHIVED.
The system can also be queried to provide all tags currently in use or to provide all content items that have been tagged with a given tag.
Because any content could be tagged, this will be implemented as a content part.
Applicability of the taggable content part
The default setting for tags should be that they are available on any content type.
A content author can apply tags to any content item he creates
Except is the site administrator disabled the taggable aspect from the content type being edited, content items can be tagged through UI that is dynamically added to the admin UI for the current item.
The author goes to the admin page for his content item.
A tags section appears on the bottom of the admin page where the list of existing tags is presented as a checkbox list. There is also a textbox and an "add" button to add a new tag.
The author checks "Apples", "Pears" and types Orange into the text box, then clicks "add".
The author publishes the new version.
A user of the site can navigate contents by tags
- A user navigates to the site and sees a tag cloud in one of the columns.
For the moment, and until we have widgets, we will hard-code the tag cloud into the page templates.
The user sees a topic he's interested in: "Pears" and clicks the tag.
The user is then taken to a page that has a list of content items that have been tagged with "Pears". Note: this requires the list feature to be implemented.
(optional) The user can refine the search by clicking on "Orange" on the "sub" tag cloud that appeared on top of the search results.
The user clicks on the title of one of the items and can then read the full page.
The owner here is the owner of the content item being tagged for the tag content permission, and the site owner for the tag management right.