|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
David Smarty Rookie
Joined: 18 Apr 2003 Posts: 17 Location: New York, NY, USA
|
Posted: Wed Sep 10, 2003 4:55 pm Post subject: can templates know their own lastmod timestamp? |
|
|
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 |
|
muppie Smarty Rookie
Joined: 27 Apr 2003 Posts: 20
|
Posted: Sat Sep 13, 2003 2:49 pm Post subject: |
|
|
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 |
|
|
|
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
|