If I understand you correctly, you want to limit the pagelist to 20
entries, and display the first 5 lines for each entry.
You should already be able to display the first 5 lines of each entry
returned in a pagelist by using a local template.
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:)
Hope that helps,
Randy
On May 26, 2009, at 10:59 AM, pmw...@911networks.com wrote:
I'm looking for a simple way of doing a paging every 20 entries. No
conditional. I only want to display the first 5 lines so users can
evaluate the wiki page.
_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users