Code: Select all
<div id="{$alias}">
What is the correct syntax to do this?
Thanks,
Ken
Code: Select all
<div id="{$alias}">
Code: Select all
global $gCms;
return $gCms->variables['page_name'];
Code: Select all
<div id="{pagealias}"></div>
would return
<div id="home"></div>
If you add:kendo451 wrote: Can someone create a documentation page in the wiki that lists all the page variables that can be accessed from a template using SMARTY? I would much rather consult a page like that than ask a question in the forum.