Hi!
You can disable the security mode in your template's config.inc.php.
However, the cleaner syntax would be to create your custom smarty modifier:
Code: Select all
<?php
function serendipity_smarty_bildname(&$var, $input) {
$parts = explode(',', $input);
foreach($parts AS $part) {
$var .= $part . '.serendipityThumb.jpg';
}
}
$serendipity['smarty']->register_modifier('serendipity_smarty_bildname', 'serendipity_smarty_bildname');
and in TPL:
Code: Select all
{$bildname|@serendipity_smarty_bildname:$entry.properties.ep_MimboImage}
(I don't know what you want to do do exactly, though, so you might need to use your own PHP function there
Regards,
Garvin