Re: [SMARTY] Basic question about insert
| From: | Luc Saint-Elie | Date: | Thu, 17 Jul 2003 12:48:38 +0000 |
| Subject: | Re: [SMARTY] Basic question about insert | ||
| References: | 1 2 3 4 5 6 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9918@lists.php.net to get a copy of this message | ||
At 10:58 17/07/2003 +0200, messju mohr wrote:
you mean, make "calendar" (which i don't know of) an insert function?Yes, In fact I can build a insert_calendar($param, &$smarty) function that takes care of all the variables to be passed to the calendar. What i'm unclear about its the way to use the whole stuff. Calendar is a custom stuff that is inserted in a template with the following custom tag: {calendar url_format=$url_format year=$year month=$month day=$day} In fact the same question could be asked about for example {html_options....} Luc