Last edit
Changed: 5c5
< # Create a new page called [[GoogleSearch]] and paste the code you just copied
to
> # Create a new page called [[GoogleSearch]] and paste the code you just copied.
Changed: 8c8
< # Go to your wiki or reload the page if necessary, and voilà, the new search box is shown! Adapt the code to taste.
to
> # Go to your wiki or reload the page if necessary, and voilà, the new search box is shown!
I've created another little Oddmuse module to display a Google Free Search or Adsense Search box on an Oddmuse wiki. I called this one google search.pl. The previous module, adsense.pl, displayed AdSense banners above pages.
Instead of (or in addition to) the usual search box, a Google search box can be put below every page. When an administrator is logged in and enters the Administration page, the normal Search & Replace boxes are shown.
To use this module on your Oddmuse wiki, take the following steps:
If you want to have the normal Oddmuse search box shown, edit the module and set the variable $showOddmuseSearch to 1.