|
Cookbook /
PageListPlusSummary:Extend pagelist with various capabilities
Version: 2009-03-17
Prerequisites:
Status: HIGHLY experimental
Maintainer: Peter Bowers
Categories: Uncategorized
Questions answered by this recipe
DescriptionProvide extensions to pagelist including linkto=x and parenthetical groupings with set operators. Installation
$EnablePageList = 0;
include_once("$FarmD/cookbook/fpltemplate2.php");
include_once("$FarmD/cookbook/pagelist2.php");
NotesParenthetical grouping of pagelists with set operatorsBy placing page selection criteria within parentheses you can combine sets of pages with set operators for union, intersection, and negation.
Any page selection criteria can be placed within the parentheses. If you want order, fmt, etc then put that outside the inner parentheses. Note that if you use inner parentheses then no page selection criteria outside of the inner parentheses will be used -- they will simply be ignored. Note that theoretically parentheses can be nested to any reasonable depth, but I haven't tested the nested side of things much.
This is purely experimental! I'll be very up front about the fact that I haven't hardly begun testing this. More of a proof of concept than anything really experimental. linkto=x optionAdditionally a linkto=x feature has been implemented which supports the following:
This linkto=x option is on the roadmap for a future version of core and I'm sure it will be implemented much more elegantly and optimized than this one. But if you need the capability today, this is available. "or" capabilities on straight search termsAny straight search terms combined with a comma will be treated as OR'd.
DemoThis recipe has a live demo/test available at http://pmwiki.qdk.org/pmwiki.php/PageListPlus/PageList and other pages on that site. Release Notes
See AlsoContributors
CommentsUser notes -1: If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki. |