Page 1 of 1

how to use a page value in the news module

Posted: Fri Dec 12, 2008 5:07 pm
by robbedoes
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