How can i access the new "Page URL" Parameter in "Options" Tab?
In a page template i want to call its parent page url to link to the parent page.
how can i achieve this? Maybe with cg simple smarty?
how to access "Page URL"?
Re: how to access "Page URL"?
i think cgsimple gives me that:
Code: Select all
{$cgsimple->get_children('','','children')}
{if count($children)}
{foreach from=$children item='child' name='childarray'}
{if $smarty.foreach.childarray.first}
<h5><a href="{cms_selflink href=$child.alias}">{cms_selflink page=$child.alias}</a></h5>
<p>wanna know {cms_selflink page=$child.alias text="more"}?</p>
{/if}
{/foreach}
{/if}