DokuWiki

It's better when it's simple

User Tools

Site Tools


config:target

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
Last revisionBoth sides next revision
config:target [2014-10-21 15:53] – [Configuration Setting: target] 78.188.55.125config:target [2022-07-21 08:47] – [Configuration Setting: target] small improvements... michaelsy
Line 1: Line 1:
 ====== Configuration Setting: target ====== ====== Configuration Setting: target ======
  
-This configures the HTML TARGET value used for different link types. The target value tells the web browser where to open the requested link. If a target is empty, then the link will open in the same window.+This configures the [[https://www.w3schools.com/tags/att_a_target.asp | HTML TARGET ]] value used for different link types. The target value tells the web browser where to open the requested link. If a target is empty, then the link will open in the same window.
  
   * Type: Array   * Type: Array
-  * Default:  +  * Default: <no entry> \\ (That means all links are opened in the same browser window.)
-(All links are opened in the same browser window)+
  
-Possible keys for this array are :+Possible keys for this array are:
  
   * ''wiki''   * ''wiki''
-  * ''interwiki'' for [[_blank :interwiki]] links+  * ''interwiki'' for [[:interwiki]] links \\ **Note**: Interwiki having the same server will inherit the ''wiki'' configuration instead.
   * ''extern''   * ''extern''
   * ''media'' for uploaded files.   * ''media'' for uploaded files.
Line 17: Line 16:
 Possible values for the target attribute : Possible values for the target attribute :
  
-  * ''_blank'' open the link in a new window. +  * ''_blank'' -- open the link in a new window
-  * ''_self'' or empty string open the link in the same window.+  * ''_tab'' -- open the link in a new tab
 +  * ''_self'' or empty string -- open the link in the same window.
   * Other values such as ''_parent'' or ''_top'' or //framename// assume you are using a template with frames, in that situation, you should know what to put in this array.   * Other values such as ''_parent'' or ''_top'' or //framename// assume you are using a template with frames, in that situation, you should know what to put in this array.
- 
- 
  
 ===== See also ===== ===== See also =====
  
   * [[:config:|Configuring DokuWiki]]   * [[:config:|Configuring DokuWiki]]
- 
  
config/target.txt · Last modified: 2022-07-21 09:13 by Aleksandr

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