With Snippets you can include text snippets in your content. You can make reusable snippets (pieces of text/content) and include them into your content via a tag, like {snippet my-first-snippet}
If you edit the article (or module or wherever you put the tag), you will still see the tag. But on frontend view you will see the content of the snippet instead.
You can use this to insert much used content for instance. Then, if you change the content of the snippet, it changes everywhere you have used the tag.
The Snippets editor button will help you insert Snippets tag. You don't have to use this, you can also just type the tag directly into your content. The tags look like:
{snippet snippet-id}
So to place a snippet you have given the id 'copyright', you would have to place:
{snippet copyright}
You can pass along 'variables' with the tag which can be placed inside the snippet. This way you can use one snippet and it will generate different output, depending on what you pass along in the tag.
Then in the Snippet itself, you can put placeholders for variables with \1, \2, etc. So in the copyright example, your Snippet could look like:
©\2 - \1 - All rights reserved
You can pass along variables in the tag like:
{snippet copyright|My Company|2012}
This would output:
©2012 - My Company - All rights reserved
And with:
{snippet copyright|Another Company|2011}
You would get:
©2011 - Another Company - All rights reserved
Note: More and better documentation coming soon...
Free
For basic use
Free
Free
For basic use
Free
For basic use
Professional
Get all features and support
€ 10 for 1 year
Professional
Get all features and support
Professional
Get all features and support
Snippets is a Joomla! extension compatible with:
JOOMLA 2.5
JOOMLA 3.x
No more Joomla 1.5 ?
Snippets will only work correctly if your setup meets these requirements:
Important: I can only provide support for setups that:
Snippets comes packed with the following languages:
| English (United Kingdom) | ||
| Catalan (Spain) | Translate | |
| German (Germany) | Translate | |
| Greek (Greece) | Translate | |
| Spanish (Spain) | Translate | |
| French (France) | Translate | |
| Italian (Italy) | Translate | |
| Japanese (Japan) | Translate | |
| Lithuanian (Lithuania) | Translate | |
| Dutch (Netherlands) | Translate | |
| Portuguese (Brazil) | Translate | |
| Russian (Russia) | Translate | |
| Slovenian (Slovenia) | Translate | |
| Swedish (Sweden) | Translate | |
| Thai (Thailand) | Translate |
Snippets is an Open Source Joomla! extension. It is in compliance
with the GNU/GPL license:
GNU General Public
License, version 2
Joomla! is also Open Source.
13 NoNumber Extensions
in the Joomla! Top 50
of more than 6500 extensions