RE: [SMARTY] Smarty and calender layout question

From: Date: Thu, 30 Jan 2003 12:02:39 +0000
Subject: RE: [SMARTY] Smarty and calender layout question
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7417@lists.php.net to get a copy of this message
> -----Original Message----- > From: Jason La [mailto:jasonla00@yahoo.com] > > I'm working on a script to display our database of articles in such a > way that a user can browse through them using a calendar. > > What I want is this: The calendar should be set up to look like a > regular calendar would. For example, if you have a 7x4 table set-up > as a grid to display a given month such as January, and the 1st of of > January 2003 starts on a Wednesday, I would like for the calender to > start on the first row, fourth column, and continue on from there. > > The problem is, I have no idea how to implement this using > Smarty/PHP. Hi Jason, Take a look at http://michael.yoon.org/software/smarty-plugins/ - this plugin can be downloaded and will save you a lot of time developing your own! It's not perfect - I had to make some code adaptations to get it to work on the sites I design (e.g., http://uk.gay.com/headlines/) but Michael Yoon deserves credit for creating a solution in the first place. Scott

« previous php.smarty.general (#7417) next »