PDA

View Full Version : Add the time the page was generated at back!



PandavB
11-02-14, 07:49 PM
This should typically work on 5.0.x:

On 5.0.2, in your footer template, find:

HTML Code:

<div id="footer-copyright">
Add after

HTML Code:

<div id="timeisstupid" class="gd-time h-left">All times are GMT<vb:if condition="$user['timezoneoffset'] != 0">{vb:raw user.timezoneoffset}</vb:if>. This page was generated at {vb:date 'timenow', {vb:raw vboptions.timeformat}}.</div>
Save, (ignore the error about you violating the copyright, old messages are stupid).

You should see the time as shown in the tiny preview.


I use generated at, because the guest cache by default is 10 min long, makes it more clear that the page might be cached in some cases.

Show Your Support

To receive notifications regarding updates -> Click to Mark as Installed.
If you like this modification -> Click to Nominate for Modification of the Month.
This modification may not be copied, reproduced or published elsewhere without author's permission.