{"id":20022143,"url":"https://github.com/modxcms/tagger","last_synced_at":"2025-06-19T10:39:06.251Z","repository":{"id":15221918,"uuid":"17950496","full_name":"modxcms/Tagger","owner":"modxcms","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-25T15:11:29.000Z","size":1712,"stargazers_count":16,"open_issues_count":32,"forks_count":31,"subscribers_count":17,"default_branch":"3.x","last_synced_at":"2025-04-28T13:23:49.760Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/modxcms.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-03-20T16:49:40.000Z","updated_at":"2025-03-25T15:11:33.000Z","dependencies_parsed_at":"2024-02-16T00:34:31.452Z","dependency_job_id":"80e20bf2-4929-4684-846e-2b77139af99c","html_url":"https://github.com/modxcms/Tagger","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modxcms%2FTagger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modxcms%2FTagger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modxcms%2FTagger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modxcms%2FTagger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/modxcms","download_url":"https://codeload.github.com/modxcms/Tagger/tar.gz/refs/heads/3.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252423078,"owners_count":21745541,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T08:39:19.477Z","updated_at":"2025-05-05T01:31:10.253Z","avatar_url":"https://github.com/modxcms.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Tagger\n======\n*Tags, Categories, and More for MODX!*\n\nA robust and performant tag management system. Summary of the many, many features:\n\n1. Tested with up to a million tags \n2. Paginated drop-down and type-ahead for easy tag input\n3. Combo-box or tag-field input types\n4. Optionally remove unused tags from the database automatically\n5. Optionally restrict tag creation to the CMP, versus on input\n6. Optionally use Auto-Tag cloud for input\n\nDisplay and list: all tags, tags from specified group(s), omit unused tags, Resources with a given tag, etc. Supplies getResources with a \u0026where condition, so that all the templating and sorting abilities of getResources are at your fingertips. \n\n## Installation\n\nInstall via Package Management, or download the package from the [MODX Extras repository](http://modx.com/extras/)\n\n## Basic Usage\n\n### TaggerGetTags\n\nThis Snippet allows you to list tags for resource(s), group(s) and all tags\n\n**PROPERTIES:**\n\n\u0026resources    Comma separated list of resources for which will be listed Tags\n\n\u0026groups       Comma separated list of Tagger Groups for which will be listed Tags\n\n\u0026rowTpl       Name of a chunk that will be used for each Tag. If no chunk is given, array with available placeholders will be rendered\n\n\u0026outTpl       Name of a chunk that will be used for wrapping all tags. If no chunk is given, tags will be rendered without a wrapper\n\n\u0026separator    String separator, that will be used for separating Tags\n\n\u0026target       An ID of a resource that will be used for generating URI for a Tag. If no ID is given, current Resource ID will be used\n\n\u0026showUnused   If set to 1, Tags that are not assigned to any Resource will be included to the output as well\n\n**OUTPUT PLACEHOLDERS AND EXAMPLE VALUES:**\n\n[[+id]] =\u003e 1\n\n[[+tag]] =\u003e News\n\n[[+group]] =\u003e 3\n\n[[+group_id]] =\u003e 3\n\n[[+group_name]] =\u003e Media Type\n\n[[+group_field_type]] =\u003e tagger-combo-tag\n\n[[+group_allow_new]] =\u003e 0\n\n[[+group_remove_unused]] =\u003e 0\n\n[[+group_allow_blank]] =\u003e 1\n\n[[+group_allow_type]] =\u003e 0\n\n[[+group_show_autotag]] =\u003e 0\n\n[[+group_show_for_templates]] =\u003e 21\n\n[[+cnt]] =\u003e 1\n\n[[+uri]]\n\n**EXAMPLE USAGE:**\n\n```[[TaggerGetTags? \u0026showUnused=`1`]]```\n\n```[[TaggerGetTags? \u0026groups=`1,3` \u0026rowTpl=`tag_links_tpl`]]```\n\n### TaggerGetResourcesWhere\n\nThis snippet generate SQL Query that can be used in WHERE condition in getResources snippet\n\n**PROPERTIES:**\n\n\u0026tags       Comma separated list of Tags for which will be generated a Resource query. By default Tags from GET param will be loaded\n\n\u0026groups     Comma separated list of Tagger Groups. Only from those groups will Tags be allowed\n\n\u0026where      Original getResources where property. If you used where property in your current getResources call, move it here\n\n**EXAMPLE USAGE:**\n\n```[[!getResources? \u0026where=`[[!TaggerGetResourcesWhere? \u0026tags=`Books,Vehicles` \u0026where=`{\"isfolder\": 0}`]]`]]```\n\n## Documentation\n\nLearn more about Tagger in the [Official Documentation](http://rtfm.modx.com/extras/revo/tagger).\n\n## License\n\nTagger is GPL2. For the full copyright and license information, please view the license.txt file that was distributed with this source code, under /core/components/tagger/docs/.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodxcms%2Ftagger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodxcms%2Ftagger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodxcms%2Ftagger/lists"}