i want to split the news date string so that i can style them individually using css to achieve something similar to this as a news section:
http://www.allpaymedia.com/
can anybody point me in the right direction as to what i have to do?
thanks in advance
how can i split the news date string
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: how can i split the news date string
I'd try using the smarty modifier date_format on $entry->postdate
i.e:
{$entry->postdate|date_format:"%b"}
{$entry->postdate|date_format:"%d"}
i.e:
{$entry->postdate|date_format:"%b"}
{$entry->postdate|date_format:"%d"}
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
