[pmwiki-users] Help with a pagelist

Simon nzskiwi at gmail.com
Wed Mar 16 03:19:26 CDT 2011


Thankyou

On 15 March 2011 22:05, Petko Yotov <5ko at 5ko.fr> wrote:

> On Tuesday 15 March 2011 09:40:39, Simon wrote :
> > Please see http://www.pmwiki.org/wiki/Test/PageListLastModified
> >
> > I'm struggling to get the output I expect.
> > Any suggestions would be welcome.
>
> There are two problems here.
>
> The first is the markup expression in the (:template...:) tag - it is not
> evaluated, so all pages, having a different timestamp, are on different
> lines.
>
> This is simply fixed by a custom page variable, for example
> $LastModifiedYear
> for which I gave an example on that page.
>
> The second problem (year 1969 instead of 2011) is that PHP has trouble
> parsing
> all date-time strings correctly. This is fixable by using the unambiguous
> @{=$LastModifiedTime} instead of {=$LastModified} inside the when
> parameter.
>
> Petko
>



-- 
____
http://kiwiwiki.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20110316/9ac5548c/attachment.html>


More information about the pmwiki-users mailing list