[pmwiki-users] Paging pagelists
pmwiki at 911networks.com
pmwiki at 911networks.com
Wed May 27 11:32:37 CDT 2009
On Tue, 26 May 2009 11:52:35 -0500
Randy Brown <randy at brownragfilms.com> wrote:
> To limit the number of pages returned by the pagelist, you can do
> the following if you have the httpvariables recipe installed:
>
> (:comment show the bounded pagelist:)
> (:if !equal "{$?first}" "":)(:pagelist count={$?first}..{$?last}:)
> (:else:)[[{$FullName}?first=1?last=20|Show pagelist, 20 pages at a
> time]] (:ifend:)
> ----
> (:comment show the continuation link:)
> (:if equal "{$?first}" "1":)[[{$FullName}?first=21?last=40|more...]]
> (:elseif equal "{$?first}"
> "21":)[[{$FullName}?first=41?last=60|more...]] (:comment add lines
> like the above up to the maximum number of pages:) (:comment
> or maybe you can calculate the page range using another
> recipe:) (:ifend:)
How do I assign the previous? to go back?
--
Thanks
More information about the pmwiki-users
mailing list