Component for easy tag management on the site.
Download the package from the manager of your site.
How to download?
1 004
Автор дополнения
1 004
Version 1.0.4-pl
Release date 10.07.2020
Downloads 211
Views 1 132
Warning! This component requires PHP version 5.6 or higher! If your site uses PHP less than required, the installation of this package could break it.
Warning! This package requires MODX not less than 2.7 !
Component for managing tags on the site.
Key benefits:
  • Allows you to create dynamic beautiful url for tags. For example,
  • There is a page for managing tags, where we specify: alias, title, description. You can add, remove, edit and disable tags.
  • There is its own TV-field, into which all the added tags are loaded and you cannot accidentally add a new tag, which is convenient when working with content managers, disabled tags are also not shown
  • There is a custom tag cloud snippet that can be easily customized.
  • The page with the tag output immediately receives all the fields, where we can easily output them and use with other components
  • You can change the names and other fields of tags without losing anything in the resources.
  • Much better performance compared to TV «Auto-tag», since tags are collected not from every resource, but from one entity

Component overview
Tag management page.


Connecting tags to the site
After installing the component, you must:
Create a resource that will catch tags and specify its id in the system setting: prettytags_resource_id
Important: In this resource, uncheck “Cached” to avoid problems.
Create a TV box for resources that need tags, with the prettytagstv type

Работа со страницей тегов.
Все теги будут отлавливаться на этой странице, в формате:

In a template, you can immediately call placeholders:

To select resources by tag, through pdoResource, you can call it like this:
      &tpl=`@INLINE <p>[[+pagetitle]]</p>`
      &where=`{ "tags:LIKE":"%[[+pretty_tags_id]]%" }`

Displaying resource tags
There is also a prettyTagsResource snippet for displaying resource tags, simple output:

You can specify your tpl and design as required, all tag fields are also available.

More details with examples, as well as asking a question, you can here


  • First release


  • fix for correct work with tags page with '/' in the end
  • add system setting for check isset tag, if on and tag not found - redirect to 404 page..


  • sort by name in resources for tags
  • auto alias for creating tag with translit and replaced spaces


  • add [[+count]] param for prettyTagsCloud tpl
  • add params for prettyTagsCloud snippet: tvId (required), includeUnpublished, includeDeleted


  • fix prettyTagsCloud snippet for deleted tags