designs for your weblog!

Movable Type: Calendar using PHP to autodetect date

December 2002
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30        
published 12/31/02, which highlights
that date rather than todays actual date.
Modification on the default-templates and Dawn's php calendar tutorial.

This calendar is something that has been requested repeatedly on the forums, with a date that changes colors based on date rather than rebuild date (while in the same month). You are welcome to use it on your site (a linkback to would be welcomed but not required).

Instructions and requirements for use:
The code used to create this calendar is shown below (the links point to entries on my journal, The CSS has comments for what the different classes do. You can view the source of this page to see how the calendar looks in its full format instead of just the MT tags.

If you have questions, you can post your questions on the MT forums. Good luck!
MT Code

Sample Stylesheet
Sister site to Blogplates & love-productions

Has this site helped you?
donations will help with the upkeep of the site, and encourage me to add more features!

©2001-2003, blogstyles.
Where to?

Two Column Styles
Three Column Styles
Photoblog Styles

Styles by Color

MT Tutorials

blogstyles: designs for your blog!
link to blogstyles!
last 50 visitors