Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

can templates know their own lastmod timestamp?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
David
Smarty Rookie


Joined: 18 Apr 2003
Posts: 17
Location: New York, NY, USA

PostPosted: Wed Sep 10, 2003 4:55 pm    Post subject: can templates know their own lastmod timestamp? Reply with quote

Hi all

This may be one of those things where I say "d'oh!" and feel embarrassed at how obvious the answer ought to have been, BUT.......

Is there a quick & painless way for a template to display its own last modification time?
_________________
David Mintz
http://davidmintz.org/

"Anybody else got a problem with Webistics?" -- Sopranos 24:17
Back to top
View user's profile Send private message
muppie
Smarty Rookie


Joined: 27 Apr 2003
Posts: 20

PostPosted: Sat Sep 13, 2003 2:49 pm    Post subject: Reply with quote

You can easily assign a variable to smarty before loading the template. You can derive a class that does it everytime you call fetch for example.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP