[pmwiki-users] Link "last news" automatically
Peter Bowers
pbowers at pobox.com
Sun May 9 15:01:20 CDT 2010
On Sun, May 9, 2010 at 7:12 PM, Hans <design5 at softflow.co.uk> wrote:
>
> try this in Site.SideBar
>
>...
It seems like you could do it with a single pagelist, using (:template
first:) and (:template each:)... Maybe something like this:
%sidehead% (:pagelist trail=News/News fmt=#Site.SideBar#news count=5
order=-ctime:)
(:if false:)
[[#newshead]]
(:template first:)
* [[{=$FullName}|News]]
(:template each:)
** [[{=$FullName}|{=$Titlespaced}]]
[[#newsheadend]]
(:if:)
-Peter
More information about the pmwiki-users
mailing list