[pmwiki-users] Attributes form
Brian Tibbels
brian.tibbels at clickmarlow.co.uk
Mon Aug 3 21:57:07 CDT 2015
Many thanks - I knew there was a way. :)
Brian
*Brian Tibbels*
*IT support for small business and the individual*
http://clickmarlow.co.uk/
*m*: 07804 109906* | t*: 01628 477640
On 4 August 2015 at 03:28, Petko Yotov <5ko at 5ko.fr> wrote:
> 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
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20150804/7c167f96/attachment.html>
More information about the pmwiki-users
mailing list