css1Add my vote for this tag linking2Add my vote for this tag rendering1Add my vote for this tag create new tag
, view all tags




This plugin adds one third block to "Forced Specific Links" in the format:
[[URL or TopicName][Link Text][Option:value]]

Some new options and CSS sets can be used simultaneously, separated by a pipe (|):
[[URL or TopicName][Link Text][Option1:value1|Option2:value2|...|OptionN:valueN]]

Syntax Rules

Options Values Coment
NewWin XxY X and Y must be integer values. This option will open a new window with no menu, butons, or url bar, but it well have status bar
Name Name Name can be a target name (using fames) or the name of a new window
Title Text A text to be a hint for the link
Class Name The name of a class (to define CSS style)
ID Name This Name must be unique on the web page
Skin SkinName SkinName must be a valid TWiki skin
CSS CSS Code CSS Code is any valid CSS property and value that would apply to hyper links. You can insert as many properties as you like. For Example, color is a CSS property, and you can put values like #00A0F0 or red. See more colors in StandardColors. See more in the CSS2 Specification in the W3C Web Site for CSS Link appropriate properties.

The option names are case insensitive for LinkOptionsPlugin or CSS, but the W3C defines that CSS properties should be in lower case and it is important to code validation. The LinkOptionsPlugin options will work any way you prefer.


The text in Red:

  • Code: [[WebHome][Start Page][Color:red|Title:Go to the Start!]]
  • Expand to: Start Page
    • If installed: [[WebHome][Start Page][Color:red|Title:Go to the Start!]]

(Stop the mouse over the link to see the title)

Opening in other target:

  • Code: [[http://www.gnu.org][the GNU web site][Name:_blank|Class:myclass|ID:myid]]
  • Expand to: the GNU web site
    • If installed: [[http://www.gnu.org][the GNU web site][Name:_blank|Class:myclass|ID:myid]]
(_blank is no target. It will Open in a new window)

Opening in a new window (with options):

  • Code: [[TWiki06x00.TWikiVariables][See the TWiki Variables][NewWin:600x500|Name:winTWikiVariables|Skin:plain]]
  • Expand to: See the TWiki Variables
    • If installed: [[TWiki06x00.TWikiVariables][See the TWiki Variables][NewWin:600x500|Name:winTWikiVariables|Skin:plain]]

Crazy CSS use:

  • Code: [[WebHome][Crazy Link!][color:green|background-color:#FFF0A0|border:3px dotted #FFC030|text-decoration:none|letter-spacing:10px|padding:4px|font-size:15px|font-weight:900]]
  • Expand to: Crazy Link!
    • If installed: [[WebHome][Crazy Link!][color:green|background-color:#FFF0A0|border:3px dotted #FFC030|text-decoration:none|letter-spacing:10px|padding:4px|font-size:15px|font-weight:900]]

Plugin Installation Instructions

Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.

  • Download the ZIP file from the repository on twiki.org (see below)
  • Unzip LinkOptionsPlugin.zip in your twiki installation directory. Content:
    File: Description:
    data/TWiki/LinkOptionsPlugin.txt Plugin topic
    data/TWiki/LinkOptionsPlugin.txt,v Plugin topic repository
    lib/TWiki/Plugins/LinkOptionsPlugin.pm Plugin Perl module
  • Visit configure in your TWiki installation, and enable the plugin in the {Plugins} section.
  • Test if the installation was successful. you should see rendered dates on the example session.

Plugin Info

Plugin Author: TWiki:Main.AurelioAHeckert
Copyright: © 2005-2006, TWiki:Main.AurelioAHeckert
© 2006-2018 TWiki:TWiki.TWikiContributor
Plugin Version: 2018-05-22
2018-05-22: TWikibug:Item7840: Class:CLASS_NAME bug fix, coping with "<noauto><a " returned from TWiki::Func::renderText("[[$link][$text]]")
2010-12-11: TWikibug:Item6530: Doc improvements, changing TWIKIWEB to SYSTEMWEB -- TWiki:Main.ScottGutman
27 Jul 2006 (v1.001) - TWiki:Main.AntonioTerceiro: Dakar compatibility
29 Mar 2005 Initial version
TWiki Dependency: $TWiki::Plugins::VERSION 1.024
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.005
License: GPL (GNU General Public License)
Plugin Benchmarks: GoodStyle 100%, FormattedSearch 100%, LinkOptionsPlugin 100%
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/LinkOptionsPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/LinkOptionsPluginDev
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/LinkOptionsPluginAppraisal

Related Topics: TWikiPreferences, TWikiPlugins

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatmd5 LinkOptionsPlugin.md5 r5 r4 r3 r2 r1 manage 0.2 K 2018-05-22 - 04:28 HideyoImazu  
Compressed Zip archivetgz LinkOptionsPlugin.tgz r5 r4 r3 r2 r1 manage 6.2 K 2018-05-22 - 04:28 HideyoImazu  
Compressed Zip archivezip LinkOptionsPlugin.zip r6 r5 r4 r3 r2 manage 7.9 K 2018-05-22 - 04:28 HideyoImazu  
Unknown file formatEXT LinkOptionsPlugin_installer r3 r2 r1 manage 3.4 K 2018-05-22 - 04:28 HideyoImazu  
Edit | Attach | Watch | Print version | History: r17 < r16 < r15 < r14 < r13 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r17 - 2018-05-22 - HideyoImazu
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.