Has anyone set the date format for the News Module from within a stylesheet?
Anyone able to give me an idea?
Craig.
P.S.
The following doesn't work.
Excerpt from summary news template...
{if $entry->formatpostdate}
{$entry->formatpostdate}
{/if}
...
Excerpt from Stylesheet...
.NewsSummaryPostdate {
font-size: 90%;
font-weight: bold;
color:#a65c76;
dateformat='%a %e %B %G';
}
...
[Solved] Setting News Module Postdate format within a stylesheet
[Solved] Setting News Module Postdate format within a stylesheet
Last edited by Anonymous on Wed Aug 20, 2008 6:48 am, edited 1 time in total.
Re: Setting News Module Postdate format within a stylesheet
Date format needs to be set in the tag, there is a how to in the modules Help, or you can set it in that part of the template...
-
christiaans
- Power Poster

- Posts: 300
- Joined: Tue Mar 04, 2008 10:37 am
Re: Setting News Module Postdate format within a stylesheet
Exactly, the postdate is no way to be set from a css stylesheet!mark wrote: Date format needs to be set in the tag, there is a how to in the modules Help, or you can set it in that part of the template...
-
christiaans
- Power Poster

- Posts: 300
- Joined: Tue Mar 04, 2008 10:37 am
Re: Setting News Module Postdate format within a stylesheet
Topic marked solved and closed.

