plugin:autosearch
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:autosearch [2009-04-19 22:53] – email updated samuele | plugin:autosearch [2023-10-30 22:58] (current) – Klap-in | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== autosearch | + | ====== autosearch |
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
author | author | ||
email : ahmet@ceng.metu.edu.tr | email : ahmet@ceng.metu.edu.tr | ||
type : action | type : action | ||
lastupdate : 2007-02-07 | lastupdate : 2007-02-07 | ||
- | compatible : 2007-02-07 | + | compatible : Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky |
depends | depends | ||
conflicts | conflicts | ||
similar | similar | ||
- | tags : | + | tags : redirect, |
+ | |||
+ | downloadurl: | ||
+ | sourcerepo : | ||
+ | bugtracker : | ||
+ | donationurl: | ||
---- | ---- | ||
- | [[http:// | ||
+ | If the site visitor requests a non-existent page, autosearch pluging will kick in to show the following: | ||
+ | - Redirect to the index sub-page if one exists. For example, if '': | ||
+ | - If no index subpage is available, show the list of subpages (requires [[indexmenu]] plugin) and also the results of searching the requested page title. The search results is useful especially when you move your pages around and static links from outside world into your site become obsolete. | ||
+ | |||
+ | Information and download: | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
======= Discussion ======= | ======= 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 is not ok at all: |
- | > It's not really broken, you need a trick. In Linux, first create the autosearch directory (" | + | * Create folder '' |
+ | * In Linux, first create the autosearch directory (" | ||
===== Indexmenu compatibility ===== | ===== Indexmenu compatibility ===== | ||
Line 44: | Line 55: | ||
| | ||
</ | </ | ||
+ | |||
+ | |||
+ | ===== Correct start pages ===== | ||
+ | |||
+ | I made a few alterations to correctly handle start pages [[config: | ||
+ | |||
+ | <code diff> | ||
+ | diff -ur autosearch.old/ | ||
+ | --- autosearch.old/ | ||
+ | +++ autosearch/ | ||
+ | @@ -23,6 +23,7 @@ | ||
+ | array()); | ||
+ | } | ||
+ | | ||
+ | + global $conf; | ||
+ | | ||
+ | | ||
+ | |||
+ | @@ -36,6 +37,9 @@ | ||
+ | | ||
+ | | ||
+ | | ||
+ | + if($index == ' | ||
+ | + $index = $conf[' | ||
+ | + | ||
+ | | ||
+ | | ||
+ | | ||
+ | diff -ur autosearch.old/ | ||
+ | --- autosearch.old/ | ||
+ | +++ autosearch/ | ||
+ | @@ -1,4 +1,4 @@ | ||
+ | <? | ||
+ | -$conf[' | ||
+ | +$conf[' | ||
+ | | ||
+ | | ||
+ | diff -ur autosearch.old/ | ||
+ | --- autosearch.old/ | ||
+ | +++ autosearch/ | ||
+ | @@ -1,5 +1,5 @@ | ||
+ | <? | ||
+ | | ||
+ | - ' | ||
+ | + ' | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | [[pinguim.ribeiro@gmail.com|Fernando Ribeiro]] | ||
plugin/autosearch.1240174434.txt.gz · Last modified: 2009-10-07 15:05 (external edit)