{"id":21598125,"url":"https://github.com/matfish2/craft-ref-tags-ui","last_synced_at":"2025-09-18T23:44:31.779Z","repository":{"id":62550929,"uuid":"504482820","full_name":"matfish2/craft-ref-tags-ui","owner":"matfish2","description":"Generate Reference Tags directly from the Element Editor","archived":false,"fork":false,"pushed_at":"2022-06-30T11:46:25.000Z","size":434,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-02T09:46:16.440Z","etag":null,"topics":["craft-plugin","craftcms"],"latest_commit_sha":null,"homepage":"https://plugins.craftcms.com/ref-tags-ui?craft4","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matfish2.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}},"created_at":"2022-06-17T10:00:50.000Z","updated_at":"2023-08-05T17:23:39.000Z","dependencies_parsed_at":"2022-11-03T02:00:50.912Z","dependency_job_id":null,"html_url":"https://github.com/matfish2/craft-ref-tags-ui","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/matfish2/craft-ref-tags-ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matfish2%2Fcraft-ref-tags-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matfish2%2Fcraft-ref-tags-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matfish2%2Fcraft-ref-tags-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matfish2%2Fcraft-ref-tags-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matfish2","download_url":"https://codeload.github.com/matfish2/craft-ref-tags-ui/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matfish2%2Fcraft-ref-tags-ui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275852425,"owners_count":25540137,"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","status":"online","status_checked_at":"2025-09-18T02:00:09.552Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["craft-plugin","craftcms"],"created_at":"2024-11-24T18:11:21.495Z","updated_at":"2025-09-18T23:44:31.760Z","avatar_url":"https://github.com/matfish2.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Craft Reference Tags UI\n\nThis package provides an advanced UI component that allows the user to\ngenerate [Reference Tags](https://craftcms.com/docs/4.x/reference-tags.html) directly from the element editor.\n\n### Requirements\n\nThis plugin requires Craft CMS 4.x or later.\n\n### Installation\n\n1. Include the package:\n\n```\ncomposer require matfish/craft-ref-tags-ui\n```\n\n2. Install the plugin:\n\n```\nphp craft plugin/install ref-tags-ui\n```\n\n### Usage\n\nOn any Element editor page (Entry, Asset, Category, Tag) click `Ctrl+Alt+R` to\ntrigger the modal:\n\n![](https://user-images.githubusercontent.com/1510460/174532283-945ebd5c-7aaa-4c1f-ac68-d61cea1fd43d.png)\n\nBy Default the modal will load Global Sets, as this is the most common use case.\n\nOnce all required fields have been filled in, the Reference Tag will be displayed at the bottom. Clicking on it will\ncopy the tag to the clipboard and close the modal.\n\nNow you can simply paste the tag in every text field on your page.\n\nRemember that when rendering the field on the Front end you will need to use the `parseRefs` filter:\n\n```twig\n{{ entry.myField | parseRefs }}\n```\n\n#### Changing the default trigger\n\nCreate a `config/ref-tags-ui.php` file:\n\n```\n\u003c?php\n\nreturn  [\n    'trigger'=\u003e'Ctrl+Alt+R'\n];\n```\n\nSet the `trigger` value to whatever combination you prefer. E.g:\n\n```\n    'trigger'=\u003e'Ctrl+Shift+H'\n```\n\n### License\n\nYou can try Reference Tags UI in a development environment for as long as you like. Once your site goes live, you are\nrequired to purchase a license for the plugin. License is purchasable through\nthe [Craft Plugin Store](https://plugins.craftcms.com/ref-tags-ui).\n\nFor more information, see\nCraft's [Commercial Plugin Licensing](https://craftcms.com/docs/3.x/plugins.html#commercial-plugin-licensing).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatfish2%2Fcraft-ref-tags-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatfish2%2Fcraft-ref-tags-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatfish2%2Fcraft-ref-tags-ui/lists"}