On 2015-08-04 04:01, Brian Tibbels wrote:
After a lengthy search I found the form to change the attributes of a
page
in the pmwiki.php script. Is it possible to override the function
PrintAttrForm($pagename) in the config.php script as I need to change
the
formatting i.e. the way it is presented.
Yes, in config.php use something like:
$HandleAttrFmt = array(&$PageStartFmt,&$PageAttrFmt,
'function:MyAttrForm', &$PageEndFmt);
function MyAttrForm($pagename) {
# your function to be called instead of PrintAttrForm()
}
Petko
---
Change log : http://www.pmwiki.org/wiki/PmWiki/ChangeLog
Release notes : http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes
If you upgrade : http://www.pmwiki.org/wiki/PmWiki/Upgrades
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users