From SwPatWiki

PmWiki: OtherVariables

<< I18nVariables | PmWiki.Variables | MailPosts >>

$SearchPatterns
An array of page name patterns to be required or excluded from search and pagelist results. In order to be included in a search listing or page listing, a page's name must not match any pattern that is delimited by exclamation points (!) and must match all other patterns. See Cookbook:SearchPatterns.
        # limit all searches to Main group
        $SearchPatterns['default'][] = '/^Main\\./';
        # exclude RecentChanges pages from search results
        $SearchPatterns['default'][] = '!\\.(All)?RecentChanges$/';
$EnableIMSCaching
A variable which, when set equal to 1, recognizes the "If-Modified-Since" header coming from browsers and allows browsers to use locally cached pages. Disabled by default to help the administrator customize its page without needing permanent reloading.
$VarPagesFmt
An array which contains the PageNames where you can find variables definition. To be modified when documentation is not in english. See vardoc.php
$TableRowAttrFmt
For simple tables, defines the HTML attributes given to each <tr> element in the output. Can contain references to $TableRowCount to give the absolute row number within the table, or $TableRowIndex to provide a repeating row index from 1 to $TableRowIndexMax.
        # Give each row a unique CSS class based on row number (tr1, tr2, tr3, ... )
        $TableRowAttrFmt = "class='tr\$TableRowCount'";
        # Give each row alternating CSS classes (ti1, ti2, ti1, ti2, ti1, ... )
        $TableRowIndexMax = 2;
        $TableRowAttrFmt = "class='ti\$TableRowIndex'";
$TableRowIndexMax
The maximum value for $TableRowIndex in simple tables.
        # Set rows indexes as 1, 2, 3, 1, 2, 3, 1, 2, ...
        $TableRowIndexMax = 3;
$TableCellAttrFmt
For simple tables, defines the HTML attributes given to each <td> or <th> cell in the output. Can contain references to $TableCellCount which holds the horizontal column number of the current cell.
Retrieved from http://swpat.zpok.hu/pmwiki/pmwiki.php/PmWiki/OtherVariables
Page last modified on December 10, 2004, at 11:08 PM