[pmwiki-users] Link "last news" automatically

Hans design5 at softflow.co.uk
Sun May 9 12:12:08 CDT 2010


correction:
try this in Site.SideBar

%sidehead% (:pagelist trail=News/News fmt=Site.SideBar#newshead count=1 order=-ctime:)
%sidehead% (:pagelist trail=News/News fmt=#titlespaced count=5 order=-ctime:)
(:if false:)
[[#newshead]]
* [[{=$FullName}|News]]
[[#newsheadend]]
(:if:)

It needs fmt=Site.SideBar#newshead if the #newshead template section
is in page Site.SideBar. Or move the section to Site.LocalTemplates.

  ~Hans




More information about the pmwiki-users mailing list