[pmwiki-users] Link "last news" automatically
Francesco Sblendorio
sblendorio at gmail.com
Fri May 14 03:31:29 CDT 2010
Thanks, fixed it.
I've just browsed the site with IE 8 with the "Compatibility Mode" disabled,
and I notice something strange about style:
This is the site displayed by IE8, Compatibility Mode disabled (something
wrong):
http://dl.dropbox.com/u/1880383/screenshots/ie.png
This is displayed by Firefox (correct)
http://dl.dropbox.com/u/1880383/screenshots/ff.png
I also tried some test with this simple html file, but I did't reproduce the
same error:
http://dl.dropbox.com/u/1880383/screenshots/test.html
2010/5/14 Hans <design5 at softflow.co.uk>
> Friday, May 14, 2010, 12:45:13 AM, Francesco Sblendorio wrote:
>
> > (:pagelist trail=News/News fmt=#redirect count=1 order=-ctime:)
> > (:if false:)
> > [[#redirect]]
> > (:template first:)
> > (:redirect {=$FullName} quiet=1:)
> > (:template each:)
> > [[#redirectend]]
> > (:ifend:)
>
> you could shorten this to:
>
> (:pagelist trail=News/News fmt=#redirect order=-ctime:)
> (:if false:)
> [[#redirect]]
> (:redirect {=$FullName} quiet=1:)
> [[#redirectend]]
> (:ifend:)
>
> There is no need for the count= parameter and the (:template :)
> directives, since the first name onn the list (ordered by order=...)
> will be use din the (:redirect :) directive, and processing of the
> pagelist output stops there, because it is a redirection.
>
>
> ~Hans
>
>
--
Francesco Sblendorio
http://fsblendorio.blogspot.com
http://www.sblendorio.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20100514/e279eb24/attachment.html>
More information about the pmwiki-users
mailing list