Version: 3.5.5
C PS PB
JOOMLA 2
JOOMLA 3

Snippets

Make content placeholders

Download Free Buy Pro   € 10

Description

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 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}

Using dynamic snippets

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...

Features

Create unlimited snippets
Editor Button to place Snippets fast & easily

Access & Support

PRO functionality
PRO downloads & updates
Install on multiple domains

Free

For basic use

Free

Yes
No

Free

For basic use

No
No
Yes
Yes
Yes
No

Free

For basic use

Professional

Get all features and support

€ 10 for 1 year

Yes
Yes

Professional

Get all features and support

Yes
Yes
Yes
Yes
Yes
Yes

Professional

Get all features and support

Other Tutorials, Guides and Videos

Version

The current version is:

3.5.5

Compatibility

Snippets is a Joomla! extension compatible with:

JOOMLA 2
JOOMLA 3

Contents

The package includes:

  • Component
  • System plugin
  • Editor button plugin
  • NoNumber Framework (system plugin)

Requirements

Snippets will only work correctly if your setup meets these requirements:

Important: I can only provide support for setups that:

  • meet the above requirements;
  • do not have extension files or Joomla! core files which have been altered in any way.

Open Source License

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.

Quick Menu

Peter van Westen

Hosted by

SiteGround.com