Community & Support

theme the date like a calendar

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.

Comments

That's just a graphic and

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

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

Thanks. I haven't had a look

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.

Everything I say is opinion, even if interpreted as fact.
Sometimes I may be inaccurate or *GASP* wrong!
Sometimes I attack Drupal due to frustration. Get over it.