head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2006.09.15.03.59.10; author TWikiAdminGroup; state Exp; branches; next ; desc @none @ 1.1 log @Saved by install script @ text @%META:TOPICINFO{author="TWikiAdminGroup" date="1158292750" format="1.1" version="1.4"}% ---+!! %TOPIC% It adds one third block to _"Forced Specific Links"_ in the format: %BR% ==[[URL or TopicName][Link Text][Option:value]]== Some new options and CSS sets can be used simultaneously, separated by a pipe (|): %BR% ==[[URL or TopicName][Link Text][Option1:value1|Option2:value2|...|OptionN:valueN]]== %TOC% ------ ---++ Syntax Rules | *Options* | *Values* | *Coment* | | ==NewWin== | %GREEN%X%ENDCOLOR%x%GREEN%Y%ENDCOLOR% | %GREEN%X%ENDCOLOR% and %GREEN%Y%ENDCOLOR% 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== | %GREEN%Name%ENDCOLOR% | %GREEN%Name%ENDCOLOR% can be a target name (using fames) or the name of a new window | | ==Title== | %GREEN%Text%ENDCOLOR% | A text to be a hint for the link | | ==Class== | %GREEN%Name%ENDCOLOR% | The name of a class (to define CSS style) | | ==ID== | %GREEN%Name%ENDCOLOR% | This %GREEN%Name%ENDCOLOR% must be unique on the web page | | ==Skin== | %GREEN%SkinName%ENDCOLOR% | %GREEN%SkinName%ENDCOLOR% must be a valid TWiki skin | | ==CSS== | %GREEN%CSS Code%ENDCOLOR% | %GREEN%CSS Code%ENDCOLOR% is any CSS formatatin code. You can repeat this option

==color== is a CSS properti, and you can put values like =%GREEN%#00A0F0%ENDCOLOR%= or =%GREEN%red%ENDCOLOR%=. See more colors in %TWIKIWEB%.StandardColors. You can use any CSS properti (valid for links) hire. See more in the [[http://www.w3.org/TR/REC-CSS2/cover.html#minitoc][CSS2 Specification in the W3C Web Site]]. | The option names are case insensitive for LinkOptionsPlugin or CSS, but the W3C defines the CSS properties in lower case and it is important to validade. Write the LinkOptionsPlugin optins as you prefer. ---++ Examples 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:* =[[%TWIKIWEB%.TWikiVariables][See the TWiki Variables][NewWin:600x500|Name:winTWikiVariables|Skin:plain]]= * *Expand to:* See the TWiki Variables * *If installed:* [[%TWIKIWEB%.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 Settings Plugin settings are stored as preferences variables. To reference a plugin setting write ==%<plugin>_<setting>%==, i.e. ==%INTERWIKIPLUGIN_SHORTDESCRIPTION%== * One line description, shown in the %TWIKIWEB%.TextFormattingRules topic: * Set SHORTDESCRIPTION = Extends the _"Forced Specific Links"_ syntax ==[[URL or TopicName][Link Text][Options]]== * Set DEBUG to 1 to get debug messages in data/debug.txt. Default: 0 * Set DEBUG = 0 ---++ 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 Plugin web (see below) * Unzip ==%TOPIC%.zip== in your twiki installation directory. Content: | *File:* | *Description:* | | ==data/TWiki/%TOPIC%.txt== | Plugin topic | | ==data/TWiki/%TOPIC%.txt,v== | Plugin topic repository | | ==lib/TWiki/Plugins/%TOPIC%.pm== | Plugin Perl module | * Dakar: 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 [[#Examples][example session]]. ---++ Plugin Info | Plugin Author: | TWiki:Main.AurelioAHeckert | | Plugin Version: | 27 Jul 2006 (v1.001) | | Change History: |   | | 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 ([[http://www.gnu.org/copyleft/gpl.html][GNU General Public License]]) | | TWiki:Plugins/Benchmark: | %TWIKIWEB%.GoodStyle 100%, %TWIKIWEB%.FormattedSearch 100%, %TOPIC% 100% | | Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC% | | Feedback: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev | | Appraisal: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Appraisal | __Related Topics:__ %TWIKIWEB%.TWikiPreferences, %TWIKIWEB%.TWikiPlugins -- TWiki:Main.AurelioAHeckert - 29 Mar 2005 @