Quote from: Alik at Dec 21, 2008, 02:29 PM
You can use @EVAL binding within your template variable. What about something like this... (?)
@EVAL return $modx->runSnippet('Jot', array('subscribe' => '1', 'pagination' => '2'));
Tried that but I get a weird error:
Warning: require_once(manager/includes/sniff/phpSniff.core.php) [function.require-once]: failed to open stream on line 22.
Changing the php file from:
require_once($modx->config[’base_path’] . ’manager/includes/sniff/phpSniff.core.php’);
to
require_once(’phpSniff.core.php’);
brings up the error:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« `` is not numeric and may not be passed to makeUrl() »
Quote from: tkfm at Dec 21, 2008, 07:06 PM
How about changing [!Jot? ... !] (uncached mode) to [[Jot? ... ]] (cached mode).
Still outputs it literally