Page 1 of 1

[Solved] Setting News Module Postdate format within a stylesheet

Posted: Sun Aug 17, 2008 10:37 am
by westlc01
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';
}
...

Re: Setting News Module Postdate format within a stylesheet

Posted: Sun Aug 17, 2008 11:03 am
by Dr.CSS
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...

Re: Setting News Module Postdate format within a stylesheet

Posted: Mon Aug 18, 2008 6:20 am
by christiaans
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...
Exactly, the postdate is no way to be set from a css stylesheet!

Re: Setting News Module Postdate format within a stylesheet

Posted: Wed Aug 20, 2008 6:47 am
by christiaans
Topic marked solved and closed.

Re: [Solved] Setting News Module Postdate format within a stylesheet

Posted: Wed Aug 20, 2008 4:02 pm
by westlc01
Thankyou