[pmwiki-users] automatic Trail with random back & next
Stéphane Heckel
hsteph at club-internet.fr
Sat Jul 26 17:55:31 CDT 2008
"Patrick R. Michaud" wrote :
> It can be done very simply with a pagelist template:
>
> [[#randomtrail]]
> (:template first:)
> << {=$Title} | {$$group} |
> (:template last:)
> {=$Title} >>
> [[#randomtrailend]]
>
> (:pagelist group=Groupname order=random fmt=#randomtrail:)
Thanks, it works !
I have tried to display 'back' and 'next' on the same line with something
like :
(:template first:) << {=$Title} | {$$group} | (:template last:){=$Title} >>
But it seems that (:template last:) generates a linefeed
Any workaround ?
Thanks
SH
More information about the pmwiki-users
mailing list