how to use a page value in the news module
Posted: Fri Dec 12, 2008 5:07 pm
To display a kind of calender on a page I want to use a news tag. If there is a way to pass the page alias of the current page to a news template the calender can show the entries for the current page based on the value in a custom field, say cms_selflink.
Will this do?
{alias assign=pagealias}
{news etc}
to get {if $entry->cms_selflink == $pagealias} working???
Thanks,
Rob
Will this do?
{alias assign=pagealias}
{news etc}
to get {if $entry->cms_selflink == $pagealias} working???
Thanks,
Rob