[solved] News module: how to show end_date

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
joecannes
Forum Members
Forum Members
Posts: 93
Joined: Mon Nov 26, 2007 5:00 pm
Location: Montreal, Quebec

[solved] News module: how to show end_date

Post 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.
joecannes
Forum Members
Forum Members
Posts: 93
Joined: Mon Nov 26, 2007 5:00 pm
Location: Montreal, Quebec

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

Post by joecannes »

Found it, (if anyone needs reference):

Code: Select all

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

JC
Post Reply

Return to “Modules/Add-Ons”