[dokuwiki] Re: Is there a simple way to get search to work from the current namespace down?

  • From: Chris G <cl@xxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 1 Jul 2011 11:24:45 +0100

On Thu, Jun 30, 2011 at 08:37:29PM +0200, Gerrit wrote:
> Op 30-06-11 12:56, Chris G schreef:
> >On Thu, Jun 30, 2011 at 12:47:22PM +0200, Christian Jung wrote:
> >>Am 30.06.2011, 12:18 Uhr, schrieb Chris G<cl@xxxxxxxx>:
> >>
> >>>Can anyone point me to where the plugin searchbox is code.  I've looked
> >>>very hard through all the code at
> >>>https://github.com/splitbrain/dokuwiki-plugin-pluginrepo
> >>>but I can't see anywhere there that it creates the search box.
> >>https://github.com/splitbrain/dokuwiki-plugin-pluginrepo/blob/master/syntax/table.php#L115
> >>
> >Brilliant, thank you, now I need to work out how the Javascript does its
> >clever business!
> >
> 
> I have added on similar way a search for namespace 'vormingsbank' ,
> either it's hardcoded:
> http://trac.knorrie.org/csrdelft.nl/changeset/2270/trunk/wiki/lib/plugins/searchform
> 
Are the changes there all that's needed?  I.e. does that work without
changing the Javascript?

If that's all that's needed then I can modify my copy of the searchform
plugin to do what I want.


> 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.


Thank you!

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

Other related posts: