DokuWiki

It's better when it's simple

User Tools

Site Tools


config: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.

  • Type: Array
  • Default: <no entry>
    (That means all links are opened in the same browser window.)

Possible keys for this array are:

  • wiki
  • interwiki for interwiki links
    Note: Interwiki having the same server will inherit the wiki configuration instead.
  • extern
  • media for uploaded files.
  • windows for windows shares.

Possible values for the target attribute:

  • _blank – open the link in a new 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.

See also

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