Re: [SMARTY] Smarty and calender layout question
| From: | Monte Ohrt | Date: | Thu, 30 Jan 2003 14:20:48 +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-7418@lists.php.net to get a copy of this message | ||
Use Date_Calc from PEAR to create the calendar matrix, then use Smarty
to display it.
On Wed, 2003-01-29 at 19:52, Jason La wrote:
> 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.
>
> Any help is much appreciated.
>
> =====
> -- Jason La
> jasonla@pobox.com
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
--
Monte Ohrt <monte@ispi.net>