[Zope] small <bobobase_modification_time> problem
Dieter Maurer
dieter@handshake.de
Thu, 8 Feb 2001 20:57:52 +0100 (CET)
Damir Bartakovic writes:
> I am using <bobobase_modification_time> in my standard_html_footer.
> It works fine if I am changing the index_html in which the
> standard_html_footer is included.
> But the index_html has also a variable "news"(dtml-method) included. If I
> am changing the news, the <bobobase_modification_time> doesn't change ;-(.
> So my Site changed, but not the modification time. Is there a way to
> solve this?
You can use the "_.max" function to determine the highest
modification time of all objects your are interested in;
something like:
<dtml-var "_.max(bobobase_modification_time(),
news.bobobase_modification_time(),
standard_html_header.bobobase_modification_time(),
)">
Dieter