Re: [SMARTY] calendars and smarty
| From: | Sarah Gray | Date: | Tue, 15 Jun 2004 15:23:49 +0000 |
| Subject: | Re: [SMARTY] calendars and smarty | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11459@lists.php.net to get a copy of this message | ||
I have played with the smarty plugin below and also with PEAR::Calendar,
deciding between the two for usage. They are both nice, but
the thing that is special about PEAR is that it allows you to pass an
array of selected items (like day objects) when you build your calendar,
so that you can take output from a database (for an event calendar, say)
and have the calendar draw itself accordingly (days with events a diff
color, have a diff behaviour when clicked, etc). I didn't see similar
functionality in the smarty calendar plugin. Is there something like
this that I missed in the smarty one? And if you wanted this
functionality would you agree that using the PEAR class makes more sense
-- or not? thanks,
s.
Jochem Maas wrote:
>
> what do you want it to do?
>
> there is a nice/simple output calendar plugin which you can find in the
> smarty wiki (of which I have an extended version which allows showing of
> multiple months and choosing which day is 1st-day-of-week - mail me if
> you want it or check the archives for the download link, there is an
> exmaple included)
>
> I also use to show a client side calendar:
> http://dynarch.com/mishoo/calendar.epl
>
> Daniel Cummings wrote:
>
> > IYHO... which calendar lib works nicely with smarty? I'm currently looking
> > at PEAR::Calendar and finding it a little abstract. Is there something more
> > tuned to smarty ken?
> >
> > dan
> >
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php