Thankyou<br><br><div class="gmail_quote">On 15 March 2011 22:05, Petko Yotov <span dir="ltr"><<a href="mailto:5ko@5ko.fr">5ko@5ko.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Tuesday 15 March 2011 09:40:39, Simon wrote :<br>
<div class="im">> Please see <a href="http://www.pmwiki.org/wiki/Test/PageListLastModified" target="_blank">http://www.pmwiki.org/wiki/Test/PageListLastModified</a><br>
><br>
> I'm struggling to get the output I expect.<br>
> Any suggestions would be welcome.<br>
<br>
</div>There are two problems here.<br>
<br>
The first is the markup expression in the (:template...:) tag - it is not<br>
evaluated, so all pages, having a different timestamp, are on different lines.<br>
<br>
This is simply fixed by a custom page variable, for example $LastModifiedYear<br>
for which I gave an example on that page.<br>
<br>
The second problem (year 1969 instead of 2011) is that PHP has trouble parsing<br>
all date-time strings correctly. This is fixable by using the unambiguous<br>
@{=$LastModifiedTime} instead of {=$LastModified} inside the when parameter.<br>
<font color="#888888"><br>
Petko<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>____<br><a href="http://kiwiwiki.co.nz">http://kiwiwiki.co.nz</a><br>