[dokuwiki] Re: Nested substitution plugins - are they possible?

  • From: Chris G <cl@xxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sat, 18 Dec 2010 11:11:28 +0000

On Sat, Dec 18, 2010 at 09:42:07AM +0000, Chris G wrote:
> On Fri, Dec 17, 2010 at 12:15:28PM -0600, Myron Turner wrote:
> > >Yes, I could do this, implement the substitution as a modification of
> > >the sql plugin.  However I really want to be able to do similar
> > >substitutions elsewhere as well so it would be much nicer if I could
> > >implement the substitution as a separate plugin.
> > >
> > Write a separate syntax plugin that captures every case of your
> > place-holders and give it a lower sort number than the sql plugin.
> > The substitutions will be made before the sql gets its turn.
> > 
> That's what I thought but my first try didn't work.  Thinking back I now
> realise why and I'll go and have another go at it.
> 
OK, I think I have this working at last, however (as I was muttering
elsewhere) the caching causes much confusion.  See a separate thread as
it hasn't anything directly to do with this one.

Thanks for all the input on this issue, it has got me going towards what
I want.

-- 
Chris Green
-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: