DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:goto

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:goto [2020-09-26 16:54] – [2. Configured Background Process] turnermmplugin:goto [2023-10-30 23:58] (current) Klap-in
Line 6: Line 6:
 email      : turnermm02[at]shaw[dot]ca email      : turnermm02[at]shaw[dot]ca
 type       : syntax type       : syntax
-lastupdate : 2020-09-17 +lastupdate : 2021-03-01 
-compatible : Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus, Elenor of Tsort, Frusterick Manners, Greebo+compatible : Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus, Elenor of Tsort, Frusterick Manners, Greebo, Hogfather
 depends    :  depends    : 
 conflicts  conflicts 
Line 52: Line 52:
  --- [[user>turnermm|Myron Turner]] //2019-04-05 22:48//  --- [[user>turnermm|Myron Turner]] //2019-04-05 22:48//
 ==== Auto Login ==== ==== Auto Login ====
-Auto login enables registered users, on logging into the wiki, to be automatically redirected to their own user page. There are two ways to implement the auto login feature. +Auto login enables registered users, on logging into the wiki, to be automatically redirected to their own user page.The page will be created if it does not already exist. There are two ways to implement the auto login feature.  
 +==== 1. Embedded GOTO Syntax ==== 
 +The first applies only to the current user.  It uses the GOTO syntax with the ''user'' wildcard in place of the page id: 
 +    ~~GOTO>user~~  
 +This must be placed on the wiki's main page, so that when the user logs in, the page displayed in the browser is the page with this markup. No message is printed to the screen. and the user is  redirected to the user page in the root namespace. If the userid is "foo", the user page will be ":foo". This does not take a time setting: ''?tm'' The redirection occurs after a 3 second delay on login
  
-====  Configured Background Process ==== +==== 2. Configured Background Process ==== 
-This method requires no additional plugin markup. On login, the auto login feature redirects the user to the user's page or start page.  This page and its namespace are based on the settings in either the ''auto_options'' setting or the ''group_options'' setting.  For this to work, the ''auto_login'' option must be set to true.  The redirection occurs immediately, without a delay.+Unlike **1** this method requires no additional plugin markup and does not require that the browser lands on any particular page. On login, the auto login feature redirects the user to the user's page or start page.  This page and its namespace are based on the settings in either the ''auto_options'' setting or the ''group_options'' setting.  For this to work, the ''auto_login'' option must be set to true.  The redirection occurs immediately, without a delay.
  
 The redirects are governed by the ''auto_options'' and ''group_options'' settings. The ''auto_options'' redirect to pages and namespaces based on the userid.  The ''group_options'' redirect to pages located in namespaces based on group membership.  The redirects are governed by the ''auto_options'' and ''group_options'' settings. The ''auto_options'' redirect to pages and namespaces based on the userid.  The ''group_options'' redirect to pages located in namespaces based on group membership. 
plugin/goto.1601132058.txt.gz · Last modified: 2020-09-26 16:54 by turnermm

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki