plugin:ondeniedlogin
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:ondeniedlogin [2010-10-03 16:25] – HåkanS | plugin:ondeniedlogin [2018-06-05 19:04] (current) – Klap-in | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== ondeniedlogin | + | ====== ondeniedlogin |
---- plugin ---- | ---- plugin ---- | ||
Line 11: | Line 11: | ||
conflicts | conflicts | ||
similar | similar | ||
- | tags : redirect authentication | + | tags : redirect, authentication, denied, !obsolete |
downloadurl: | downloadurl: | ||
---- | ---- | ||
+ | **Functionality now included in DokuWiki**: Dokuwiki now includes the login form in the denied page, when useful. So this plugin is obsolete. | ||
+ | |||
+ | >__EDIT by // | ||
+ | >> Fixed in [[plugin: | ||
===== Download and Installation ===== | ===== Download and Installation ===== | ||
+ | FIXME Downloads have error. Missing " | ||
+ | |||
- | Download | + | Search |
* http:// | * http:// | ||
- | Or copy paste this code into your lib/ | + | Refer to [[: |
<code php action.php> | <code php action.php> | ||
Line 43: | Line 49: | ||
} | } | ||
- | function register(&$controller) { | + | function register(Doku_Event_Handler |
$controller-> | $controller-> | ||
} | } | ||
Line 58: | Line 64: | ||
</ | </ | ||
+ | ===== Patches ===== | ||
+ | ==== Show Search Page for Authenticated Users ==== | ||
+ | This adds the following functionality to this plugin: When your ACLs allow someone to see some pages but maybe not the start page, this helps him because he gets some search hits instead of " | ||
+ | |||
+ | <code diff ondenied-search.patch> | ||
+ | --- ondeniedlogin/ | ||
+ | +++ ondeniedlogin/ | ||
+ | @@ -26,6 +26,8 @@ | ||
+ | | ||
+ | | ||
+ | $ACT = ' | ||
+ | + else | ||
+ | + $ACT = ' | ||
+ | } | ||
+ | |||
+ | } | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== Use Earlier Event ==== | ||
+ | |||
+ | Some templates (e.g. [[template: | ||
+ | |||
+ | <code php> | ||
+ | $controller-> | ||
+ | </ |
plugin/ondeniedlogin.1286115948.txt.gz · Last modified: 2010-10-03 16:25 by HåkanS