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
config:target [2009-12-07 01:39] 88.171.4.54config:target [2022-07-21 09:13] (current) Aleksandr
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 [[: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.
   * ''windows'' for windows shares.   * ''windows'' for windows shares.
  
-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.1260146379.txt.gz · Last modified: 2009-12-07 01:39 by 88.171.4.54

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