< Other Variables | Variables | Path Variables >
$EnablePageListProtect(:pagelist:) and (:searchresults:) to exclude listing any pages for which the browser does not currently have read authorization. Setting this to zero means that read-protected pages can appear in a listing, but can also speed up searches considerably (because page permissions do not need to be checked).
$SearchPatterns# Limit all searches to Main group
$SearchPatterns['default'][] = '/^Main\\./';
# Exclude the Main group from search results
$SearchPatterns['default'][] = '!^Main\\.!';
# Exclude RecentChanges pages from search results
$SearchPatterns['default'][] = '!\\.(All)?RecentChanges$!';
# Prevent a page from listing itself in (:pagelist:) or (:searchresults:)
$SearchPatterns['default'][] = FmtPageName('!^$FullName$!', $pagename);
$SearchBoxOpt $SearchBoxOpt ['target'] = '$DefaultGroup.Search';
$EnablePageIndex$PageIndexFile which significantly speeds up categories, backlinks, and searches.
$PageIndexFile(:pagelist:), defaults to $WorkDir/.pageindex.
$PageListCacheDir(:pagelist:) directives to speed up subsequent displays of the same list. Default is empty, which disables the pagelist cache.
# Enable pagelist caching in work.d/ $PageListCacheDir = 'work.d/';
$PageSearchForm?action=search (unless the current page has a "searchresults" directive in it). This variable can be an array, in which case the first page found from the array is used.
# Use Search page in current group if it exists, otherwise use Site.Search
$PageSearchForm = array('$Group.Search', '[=$[$SiteGroup/Search]=]');
$FPLTemplatePageFmtfmt=#xyz parameter. Defaults to searching the current page, Site.LocalTemplates and Site.PageListTemplates.
# PMWiki default setup
global $FPLTemplatePageFmt;
$FPLTemplatePageFmt = array(
'{$FullName}',
'{$SiteGroup}.LocalTemplates',
'{$SiteGroup}.PageListTemplates');
# Search a Group.Templates page as well as the Site templates
global $FPLTemplatePageFmt;
$FPLTemplatePageFmt = array(
'{$Group}.Templates',
'{$SiteGroup}.LocalTemplates',
'{$SiteGroup}.PageListTemplates');
# Search a Group.Templates page as well as the Site templates
global $FPLTemplatePageFmt;
SDV($FPLTemplatePageFmt, array('{$FullName}',
'{$Group}.Templates',
'{$SiteGroup}.LocalTemplates', '{$SiteGroup}.PageListTemplates')
);
$EnableUndefinedTemplateVars$EnableUndefinedTemplateVars = 0; # Delete unset raw template variables
$EnableUndefinedTemplateVars = 1; # Keep and print unset raw template variables
< Other Variables | Variables | Path Variables >
This page may have a more recent version on pmwiki.org: PmWiki:PagelistVariables, and a talk page: PmWiki:PagelistVariables-Talk.
| | |
© 2006 - 2026 by Active Image - All Rights Reserved | | | Site Map | | | | |
The information contained within ActiveImage.ca is for educational purposes. It is here to help you made informed decisions about your fitness and health. It is not medical advice and is not intended to replace the advice or attention of health-care professionals. Please consult your doctor before beginning or making changes to your diet, exercise program, for diagnosis and treatment of illness and injuries, and for advice regarding medications and supplements.
In no way will Active Image or any persons associated with Active Image be held responsible for any injuries or problems that may occur due to the use of this website or the advice contained within. Active Image will not be held responsible for the conduct of any companies and websites recommended within this site.