DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:goto:tmp

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:tmp [2019-03-16 00:14] – [Installation] turnermmplugin:goto:tmp [2019-03-16 00:45] (current) – [Syntax] turnermm
Line 1: Line 1:
-This plugin requires the user to have JavaScript enabled in order to work to its fullest. However, a redirect link will still be displayed even without JavaScript.+This plugin redirects the current page to another page after a stipulated number of seconds. It requires the user to have JavaScript enabled in order to work to its fullest. However, a redirect link will still be displayed even without JavaScript.
 ===== Installation ===== ===== Installation =====
  
 Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
-The default pause length ( ''seconds''and the minimum pause length ( ''minSeconds''can be edited in the configuration manager.+The default pause time,  before the redirect, and the minimum allowable pause time can be set in the configuration manager.   See [[#pause_before_redirect|below]] for further details
  
 ===== Syntax ===== ===== Syntax =====
Line 12: Line 12:
   ~~GOTO>wiki:syntax~~   ~~GOTO>wiki:syntax~~
  
-The above will force the document to redirect to the [[:wiki:syntax]] page after the default amount of seconds. You can change the default number of seconds by editing the plugin (by default, this is 10 seconds).+The above will force the document to redirect to the [[:wiki:syntax]] page after the default number of seconds. It comes set at three seconds. You can change the default number of seconds in the Configuration Manager.
  
 It is possible to link to a subheading of the page: It is possible to link to a subheading of the page:
   ~~GOTO>wiki:syntax#subheading~~   ~~GOTO>wiki:syntax#subheading~~
-   +=== Pause before redirect === 
-You can change the number of seconds on the fly like so:+  
 +You can change the number of seconds before the redirect like so:
   ~~GOTO>wiki:syntax?15~~   ~~GOTO>wiki:syntax?15~~
  
 This will redirect the page after a 15 second pause. This will redirect the page after a 15 second pause.
  
-By default, users can't set the pause length to be faster than two seconds, but this can be changed by editing the plugin. The reason for the minimum pause length is that if it's too fast, it becomes difficult to hit the 'Edit Page' button before the redirect happens. If you can't edit the page, then it becomes tricky to remove the redirect.+By default, users can't set the pause length to be faster than two seconds, but this can be changed in the Configuration Manager by setting a new value for the ''minSeconds'' option. The reason for the minimum pause length is that if it's too fast, it becomes difficult to hit the 'Edit Page' button before the redirect happens. If you can't edit the page, then it becomes tricky to remove the redirect. 
  
 ===== Issues ===== ===== Issues =====
Line 29: Line 30:
   * Currently, the plugin only works correctly for internal links.   * Currently, the plugin only works correctly for internal links.
  
-===== Installation ===== 
- 
-Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. 
- 
-The default pause length and the minimum pause length can be edited in the configuration manager. 
  
 ===== Revision History ===== ===== Revision History =====
Line 41: Line 37:
   * 2016-10-02 --- Moved to GitHub, added compability for PHP 7, added redirection to headlines, integration of language files, integration of configuration manager for settings, avoid redirection while editing   * 2016-10-02 --- Moved to GitHub, added compability for PHP 7, added redirection to headlines, integration of language files, integration of configuration manager for settings, avoid redirection while editing
  
 +===== Updated Version =====
 +There is an updated version of ''GOTO'' which has not yet been integrated into the main distribution. It has a feature which had been asked for an several occasions, the ability to redirect to external sites.  It also contains an entirely new feature, which is the ability to automatically redirect to user pages on login.    
  
 +For documentation and download, see the ''GOTO'' [[plugin:goto:supplement]]
plugin/goto/tmp.1552691679.txt.gz · Last modified: 2019-03-16 00:14 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