Allows users to render view helpers using short codes. Useful when used with editors like TinyMCE.
- Clone this project into your
./vendor/
directory.
Coming Soon...
-
Enabling it in your
application.config.php
file.<?php return array( 'modules' => array( // ... 'HMShortCode', ), // ... );
Simply add {{viewHelper[parameters to pass in]}} to any view or even within an editor like TinyMCE. This removes the need for allowing users to add php to content from an editor.
EXAMPLE:
{{url['home', array()]}}
The current version of this module is unfinished. Still trying to prevent the module of running when trying to edit existing short codes within an editor.