theme the date like a calendar

-Anti- - July 26, 2008 - 16:12

How would I go about theming the date to display like in this theme?

Blue Zinfandel: http://drupal.org/node/207032

Any tutorials anywhere?

Cheers.

That's just a graphic and

WorldFallz - July 26, 2008 - 17:40

That's just a graphic and some theming. The "tutorial" is in the theme you mention-- take a look at the node.tpl.php and style.css files for that theme (the css used for class "contentdate" is what you're looking for).

EDIT: there's also some prep done in the template.php for outputting the date in the proper format.

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz

Thanks. I haven't had a look

-Anti- - July 27, 2008 - 13:01

Thanks. I haven't had a look yet, but I'm just assuming that I'm not competent enough to understand and replicate it. Plus, the only examples I could find of it are D5 themes, and I'd expect D6 to perhaps do it slightly differently(?).

I just thought that it might be a common enough little detail that someone might have the information to hand.
If not, don't worry; I'll put it on a back burner until I have enough time to delve into it.

Cheers.

 
 

Drupal is a registered trademark of Dries Buytaert.