====== autosearch plugin ====== ---- plugin ---- description: handles non-existent pages by redirecting to index sub-page if available; otherwise showing sub-pages and/or displaying Search Results author : Ahmet Sacan email : ahmet@ceng.metu.edu.tr type : action lastupdate : 2007-02-07 compatible : 2007-02-07 depends : indexmenu conflicts : similar : tags : non-existent, redirect, list subpages ---- [[http://www.ceng.metu.edu.tr/~ahmet/Wiki/software/dokuwiki/autosearch|Details and Download]] ======= Discussion ======= The download archive on his site is broken, as is the CAPTCHA. -- [[abr.programmer@gmail.com|abr]] The download was an invalid zip file as of 12-06-07. No Captcha required, btw. -- JR > It's not really broken, you need a trick. In linux, first create the autosearch directory ("mkdir autosearch") in the same directory of zip file, then unzip it with "unzip autosearch.zip". When it ask to overwrite the autosearch directory, say "n". --- //[[samuele@netsons.org|Samuele Tognini]] 2008/08/27 17:46// ===== Indexmenu compatibility ===== You need to apply this patch to get latest [[plugin:indexmenu]] releases work: diff -urN /tmp/autosearch/action.php ./autosearch/action.php --- /tmp/autosearch/action.php 2007-07-03 12:15:00.000000000 +0200 +++ ./autosearch/action.php 2008-08-27 18:40:35.000000000 +0200 @@ -41,7 +41,7 @@ die(); } } - if($this->getConf('pagelist') && is_dir(dirname(wikiFN("$ID:dummy"))) && $indexmenu =& plugin_load('syntax', 'indexmenu')){ + if($this->getConf('pagelist') && is_dir(dirname(wikiFN("$ID:dummy"))) && $indexmenu =& plugin_load('syntax', 'indexmenu_indexmenu')){ $handled = $indexmenu->handle("{{indexmenu>$ID#2|js#default}}",null,nul l,$this); $dummy_renderer = (object) array('doc'=>''); $indexmenu->render('xhtml',$dummy_renderer, $handled);