[pmwiki-users] pagelist and order=random
Patrick R. Michaud
pmichaud at pobox.com
Sun Apr 2 11:22:41 CDT 2006
On Sun, Apr 02, 2006 at 10:30:46AM +0200, Sebastian Siedentopf wrote:
> Currently we use pmwiki2.1b24. To generate a random backlink list we
> use a custom backlink recipe which uses the BackLinkTo() function.
> This function is gone in the latest PmWiki release, but it's not a
> problem, because we have the order=random argument for (:pagelist:) now.
> Now the issue: I only want an excerpt of the pagelist, so I use
> order=random and count=5. This works fine, but I still want the 5
> randomly choosen entries to be in alphabetical order. Any ideas?
This will likely require a custom function of some sort.
BackLinksTo() is gone, but you should be able to use
PageIndexGrep() to get similar results.
More information about the pmwiki-users