Code: Select all
{cms_selflink page="testing" text="Hi there" urlparam="?models=G"}
http://test.wallaby.nimfm.org/products/ ... l?models=G
since 1.10 it does:
http://test.wallaby.nimfm.org/products/ ... models%3DG
i also use this code in a UDT where it performs likewise:
Code: Select all
$smarty = cmsms()->GetSmarty();
$smarty_data = "{cms_selflink page=\"$pageAlias\" text=\"$letter\" urlparam=\"?models=$letter\" more=\"rel='nofollow'\"}";
$smarty->_compile_source('temporary template', $smarty_data, $_compiled );
@ob_start();
$smarty->_eval('?>' . $_compiled);
$_contents = @ob_get_contents();
@ob_end_clean();
echo '<li>'.trim($_contents).'</li>';
Any idea