RE: [SMARTY] Need some help with {insert}

From: Date: Wed, 02 Apr 2003 21:17:12 +0000
Subject: RE: [SMARTY] Need some help with {insert}
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9039@lists.php.net to get a copy of this message
a) Make confetti of your templates and use {insert} functions to display dates in the pages. If you want to apply a modifier just call the modifier from the insert function to transform the data. b) You can try to dislay the date and time using javaScript Smarty will cache de Js code and the client will interpret it and output the current date/time for the client. c) If you need the Server date/time and that is a must-must think about more exotic ideas like Javascript using xmlrpc to ask the server time (argh) or something like that (aaaaah!) If none is useful sorry. Luis -----Original Message----- From: pt2002 [mailto:pt2002@mail.pt] Sent: Wednesday, April 02, 2003 2:57 PM To: smarty-general@lists.php.net Subject: [SMARTY] Need some help with {insert} Hi everybody, I have some pages cached with 24 hours lifetime but in every page I need to show current date and time with a modifier applied. Any suggestions ? TIA pt2002 -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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