On Fri, Jul 01, 2011 at 05:08:51PM +0530, Eivind Morland wrote: > > On 01 Jul 2011, at 16:29, Chris G wrote: > > >>> I like to redo it, so setting the right namespace in the syntax will > >>> be possible. But i am now too busy. When i do, i will create also a > >>> fork on github. > >>> > >> That's what I aim to do. > >> > > ... and I have it all working now! Thanks very much for the pointer, > > I'm not very familiar with Javascript and hadn't realised how easy it > > was to add the extra script.js file that's needed for this to work. > > Once I had done that it was all very easy, trivial in fact. > > I for one would be interested if you have a modified version of the > searchform plugin that searches only the current namespace. :) > I have attached the two things you need, they both go into <your dokuwiki root>/lib/plugins/searchform. The syntax.php replaces the existing syntax.php (a few lines are changed) and there's an additional file script.js. -- Chris Green