This package provides an advanced UI component that allows the user to generate Reference Tags directly from the element editor.
Usage
On any Element editor page (Entry, Asset, Category, Tag) click Ctrl+Alt+R
to
trigger the modal:
By Default the modal will load Global Sets, as this is the most common use case.
Once all required fields have been filled in, the Reference Tag will be displayed at the bottom. Clicking on it will copy the tag to the clipboard and close the modal.
Now you can simply paste the tag in every text field on your page.
Remember that when rendering the field on the Front end you will need to use the parseRefs
filter:
{{ entry.myField | parseRefs }}
Changing the default trigger
Create a config/ref-tags-ui.php
file:
<?php
return [
'trigger'=>'Ctrl+Alt+R'
];
Set the trigger
value to whatever combination you prefer. E.g:
'trigger'=>'Ctrl+Shift+H'
Standard
Plus $5/year after one year.
To install this plugin, copy the command above to your terminal.
This plugin doesn't have any reviews.