SPIC - Show Plugin Code


SPIC is a simple plugin that allows to display a plugin code (or any other code) in raw format (without executing it).

SPIC is very useful when you want to show a code (for example when you want to explain the usage of a new plugin) and you don't want Joomla to execute it.

It works by converting the text into bracket into ascii code, so that Joomla can't recognise it as a code.

How to use it
{spic}your code{/spic}

Example:
{spic}{edocs}documents/catalogue.pdf,400,200{/edocs}{/spic}

The result on the article will be displayed as {edocs}documents/catalogue.pdf,400,200{/edocs} and the code will not be processed.

NOTICE: Make sure that SPIC is listed before the plugin that you want to show the code, because otherways the code inside the brackets will be processed by joomla.

No comments:

Post a Comment