Page 1 of 1

[solved] News module: how to show end_date

Posted: Mon Dec 03, 2012 8:07 pm
by joecannes
Hi all,

I am creating news items using the news module, and in the summary template, I want to show the expiration date when the news item expires.

I have been placing this in my summary template:

Code: Select all

{$entry->end_date}
But it does not show the end date.

What am I doing wrong, is it supposed to be called another way?

Thanks,

Joe C.

Re: [solved] News module: how to show end_date

Posted: Mon Dec 03, 2012 8:20 pm
by joecannes
Found it, (if anyone needs reference):

Code: Select all

{if $entry->enddate}{$entry->enddate|cms_date_format}

JC