|
Cookbook /
GroupTitleSummary: Define a title for an entire WikiGroup
Version: 2006-11-14
Prerequisites: pmwiki-2.1
Status: Stable
Maintainer: Pm
Categories:PageNaming
Questions answered by this recipe
DescriptionThis recipe adds NotesDownload grouptitle.phpΔ into the cookbook/ directory, and then add the following to a local customization file: include_once("The $GroupTitlePathFmt variable can be modified to search a different set of pages for a group title. # use only GroupAttributes for a group title
$GroupTitlePathFmt = '$Group.GroupAttributes';
# use only GroupHeader and GroupFooter for a group title
$GroupTitlePathFmt = array('$Group.GroupHeader', '$Group.GroupFooter');
To display the GroupTitle instead of the usual Group name in a page's titlebar, you will most likely need to modify the skin's template file, so that the name in the normal link at the page head for the Group is replaced by Some skins have built-in support for GroupTitle, and will show it when it is defined with a Skins with built-in GroupTitle support: Gemini skin?, FixFlow skin?, Triad skin?, .... CommentsSee AlsoContributorsSandboxGroupTitle of this group: Cookbook GroupTitle of a page in the 'Test' group: Test,... one, two, three,... test? User notes? : 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. |