logo       

RE: [SMARTY] Smarty and calender layout question: msg#00441

php.smarty.general

Subject: RE: [SMARTY] Smarty and calender layout question

> -----Original Message-----
> From: Jason La [mailto:jasonla00@xxxxxxxxx]
>
> 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



--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise