You can type Snippets tags directly, but the editor button inserts the correct tag syntax for you. The button is available in both Free and Pro in administrator editors. Pro can also make it available in frontend editors.
In current Joomla editors, open the CMS Content editor menu and select Snippet. The popup lists each available snippet by ID, alias, and title. Select the value you want the inserted tag to use:
{snippet id="12"}
{snippet alias="copyright"}
{snippet title="Copyright notice"}
Variables PRO
For a Pro snippet, variables with Insert in Tag enabled are added as tag attributes. If the Variables Fill Wizard is disabled, the editor button inserts those attributes with empty values for you to complete in the editor.
{snippet alias="copyright" company="" year=""}
If the Variables Fill Wizard is enabled, selecting the snippet first opens a form for those variable values. The completed values are then inserted directly into the tag.
The global Show Variables Fill Wizard setting provides the default. Each snippet can choose Use Global, No, or Yes under its Variables tab.
Controlling which snippets are listed PRO
Each Pro snippet has a Show in Editor Button List option:
- Yes shows it in administrator and enabled frontend editor-button lists.
- Only in Admin hides it from frontend lists but keeps it in administrator lists.
- No hides it from all editor-button lists. Manually entered tags continue to work.
See Configuration for the global editor-button settings and Using Dynamic Variables for variable syntax.