[pmwiki-users] Override extendmarkups?

K.A.Bouton k.a.bouton at reading.ac.uk
Mon Aug 8 04:22:22 CDT 2005


That works great- thanks
K

> -----Original Message-----
> From: John Rankin [mailto:john.rankin at affinity.co.nz] 
> Sent: Monday, August 08, 2005 4:52 AM
> To: K.A.Bouton; Hans
> Cc: Pmwiki-users at pmichaud.com
> Subject: Re: [pmwiki-users] Override extendmarkups?
> 
> 
> On Saturday, 6 August 2005 12:30 AM, Hans 
> <design at flutesong.fsnet.co.uk> wrote:
> >Friday, August 5, 2005, 11:55:52 AM, K.A.Bouton wrote:
> >> How do I override $RecentChangesFmt in extendmarkups.php?
> >
> >I don't know why $RecentChangesFmt is part of the 'enhanced AsSpaced 
> >function', but perhaps John can declare it as 
> >SDVA($RecentChangesFmt,array( ........... )); so it will not 
> override 
> >local versions.
> >
> >
> I can't use SDVA, because pmwiki sets the $RecentChangesFmt 
> array first. Solution:
> 
> either define the local $RecentChangesFmt /after/ loading
> the markup extensions
> 
> or disable the markup extensions spacing with
> 
> $MarkupExtensions['spaced'] = false;
> 
> /before/ loading the markup extensions
> 
> This requires the latest versio of markup extensions.
> 
> 
> Hope this helps
> -- 
> JR
> --
> John Rankin
> 
> 
> 





More information about the pmwiki-users mailing list