[pmwiki-users] fox ptvfmt
Hans
design5 at softflow.co.uk
Fri Feb 29 10:00:54 CST 2008
Friday, February 29, 2008, 3:35:42 PM, noskule wrote:
> you wrote in the forum that fox suports ptv definition like
> (::ptv: value::)
> it seams not to work on my installaton, do I have to install something else?
> My goal is to save a summary that supports all markup and directives put
> will not be displayed be viewing the page.
it is at the end of foxforum.php, or use this in config.php
(it may get mangled in the email though):
# invisible (::textvar:...::) markup
Markup('textvar::', '<split',
'/\\(::\\w[-\\w]*:(?!\\)).*?::\\)/s', '');
# add new PTV pattern for text PTV (::var:...::)
$PageTextVarPatterns['(::var:...::)'] = '/(\\(:: *(\\w[-\\w]*) *:(?!\\))\\s?)(.*?)(::\\))/s';
~Hans
More information about the pmwiki-users
mailing list