.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ======================================== Linklayout with filetype and target icon ======================================== :Created: 2008-12-05T21:19:18.930000000 :Changed: 2014-07-30T16:54:04.356000000 :Classification: rs_linklayout :Description: The keywords help with categorizing and tagging of the manuals. You can combine two or more keywords and add additional keywords yourself. Please use at least one keyword from both lists. If your manual is NOT in english, see next tab "language" ---- forEditors (use this for editors / german "Redakteure") forAdmins (use this for Administrators) forDevelopers (use this for Developers) forBeginners (manuals covering TYPO3 basics) forIntermediates (manuals going into more depth) forAdvanced (covering the most advanced TYPO3 topics) see more: http://wiki.typo3.org/doc_template#tags ---- :Keywords: linklayout, link, layout, filetype, target, forAdmins, forDevelopers, forEditors, forBeginners :Author: Rene :Email: typo3@rs-softweb.de :Info 4: :Language: en |img-1| |img-2| Linklayout with filetype and target icon - rs\_linklayout .. _Linklayout-with-filetype-and-target-icon: Linklayout with filetype and target icon ======================================== Extension Key: rs\_linklayout Language: en Keywords: linklayout, link, layout, filetype, target, forAdmins, forDevelopers, forEditors, forBeginners Copyright 2008-2014, Rene, This document is published under the Open Content License available from http://www.opencontent.org/opl.shtml The content of this document is related to TYPO3 \- a GNU/GPL CMS/Framework available from www.typo3.org .. _Table-of-Contents: Table of Contents ----------------- `Linklayout with filetype and target icon 1 <#1.Linklayout%20with%20filetype%20and%20target%20icon|outline>`_ **`Introduction 3 <#1.1.Introduction|outline>`_** `What does it do? 3 <#1.1.1.What%20does%20it%20do_|outline>`_ `Screenshot 3 <#1.1.2.Screenshot|outline>`_ **`Users manual 4 <#1.2.Users%20manual|outline>`_** **`Configuration 5 <#1.3.Configuration|outline>`_** **`Known problems 6 <#1.4.Known%20problems|outline>`_** **`To-Do list 7 <#1.5.To-Do%20list|outline>`_** **`Changelog 8 <#1.6.Changelog|outline>`_** .. _Introduction: Introduction ------------ .. _What-does-it-do: What does it do? ^^^^^^^^^^^^^^^^ This extension provides the functionality to format internal, external and mailto links in different styles and with different link icons. If the linked files are of specified types (example \*.pdf or \*.doc), the extension shows also an file type icon. .. _Screenshot: Screenshot ^^^^^^^^^^ |img-3| .. _Users-manual: Users manual ------------ Simply install the extension and enjoy. You may change some constants with the constant editor to change the settings. To activate the images for links made in RTE simply mark the text and click on "Insert web link" ( arrow in image). |img-4| In the new windows select the type of link you want. It works like normal setting a link. The images for target and file type are now created automatically in the frontend. Special: If you don't set a style/class (arrow in image) for this specific link, then no target or file type images are shown for this link. The frontend shows only the normal link without changes. |img-5| This is very useful for links with images like in the screenshot at beginning of documentation. .. _Configuration: Configuration ------------- There are some options for configuring. These are listed below. TypoScript configuration .. ### BEGIN~OF~TABLE ### .. _linkTargetEnabled: linkTargetEnabled ^^^^^^^^^^^^^^^^^ .. container:: table-row Property linkTargetEnabled Data type boolean Description Target - Link image enabled Default true .. _linkTargetExt-file: linkTargetExt.file ^^^^^^^^^^^^^^^^^^ .. container:: table-row Property linkTargetExt.file Data type image Description File for the external image Default EXT:rs\_linklayout/res/link\_ext.gif .. _linkTargetExt-wrap: linkTargetExt.wrap ^^^^^^^^^^^^^^^^^^ .. container:: table-row Property linkTargetExt.wrap Data type wrap Description Wrap for the external image Default \|   .. _linkTargetExtParams: linkTargetExtParams ^^^^^^^^^^^^^^^^^^^ .. container:: table-row Property linkTargetExtParams Data type string Description A-Tag params for the external link If you use " or ' they are removed automatically. Example: :: class=linkExt rel=external or :: class="linkExt" rel='external' Default class=linkExt .. _linkTargetInt-file: linkTargetInt.file ^^^^^^^^^^^^^^^^^^ .. container:: table-row Property linkTargetInt.file Data type image Description File for the internal image Default .. _linkTargetInt-wrap: linkTargetInt.wrap ^^^^^^^^^^^^^^^^^^ .. container:: table-row Property linkTargetInt.wrap Data type wrap Description Wrap for the internal image Default .. _linkTargetIntParams: linkTargetIntParams ^^^^^^^^^^^^^^^^^^^ .. container:: table-row Property linkTargetIntParams Data type string Description A-Tag params for the internal link If you use " or ' they are removed automatically. Example: :: class=linkInt rel=internal or :: class="linkInt" rel='internal' Default class=linkInt .. _linkTargetMailto-file: linkTargetMailto.file ^^^^^^^^^^^^^^^^^^^^^ .. container:: table-row Property linkTargetMailto.file Data type image Description File for the mailto image Default EXT:rs\_linklayout/res/link\_mailto.gif .. _linkTargetMailto-wrap: linkTargetMailto.wrap ^^^^^^^^^^^^^^^^^^^^^ .. container:: table-row Property linkTargetMailto.wrap Data type wrap Description Wrap for the mailto image Default \|   .. _linkTargetMailtoParams: linkTargetMailtoParams ^^^^^^^^^^^^^^^^^^^^^^ .. container:: table-row Property linkTargetMailtoParams Data type string Description A-Tag params for the mailto link If you use " or ' they are removed automatically. Example: :: class=linkMailto or :: class="linkMailto" Default class=linkMailto .. _linkFiletypeEnabled: linkFiletypeEnabled ^^^^^^^^^^^^^^^^^^^ .. container:: table-row Property linkFiletypeEnabled Data type boolean Description Filetype - Link image enabled Default true .. _linkFiletypePaths: linkFiletypePaths ^^^^^^^^^^^^^^^^^ .. container:: table-row Property linkFiletypePaths Data type string Description Search paths for the filetype icons "EXT" is replaced with the extensions default icon path Paths different from the extension path must be included in :: $TYPO3_CONF_VARS['FE']['addAllowedPaths'] Default EXT,typo3/gfx/fileicons/ .. _linkFiletypeList: linkFiletypeList ^^^^^^^^^^^^^^^^ .. container:: table-row Property linkFiletypeList Data type string Description Enabled extensions for filetype image Whitespaces are removed automatically Default pdf,doc,zip .. _linkFiletypeHeight: linkFiletypeHeight ^^^^^^^^^^^^^^^^^^ .. container:: table-row Property linkFiletypeHeight Data type int Description Max height of the filetype image in px Default 12 .. _linkFiletypeWrap: linkFiletypeWrap ^^^^^^^^^^^^^^^^ .. container:: table-row Property linkFiletypeWrap Data type wrap Description Wrap for the filetype image Default \|   .. ###### END~OF~TABLE ###### [tsref: plugin.tx\_rslinklayout] .. _Known-problems: Known problems -------------- If you updated from an extension version before 1.3.0 you have to update your TS template, if you have set some values over the constant editor or directly in you template. The configuration values have been changed in version 1.3.0 from "plugin.tx\_rs\_linklayout.\*" to "plugin.tx\_rslinklayout".The name of the class has been changed from "tx\_rs\_linklayout" to "tx\_rslinklayout". .. _To-Do-list: To-Do list ---------- Your suggestions are always welcome! If you think something is missing, feel free to contact me as well. .. _Changelog: Changelog --------- - 1.2.0: second stable public version as extension. (full functional version) - 1.2.1: changed behavior of link creation (params like "title" are not replaced by default) - 1.2.2: email address of "Dirk Hoffmann" from extension description removed (his own wish)The extension manual has been updated to new manual template - 1.3.0: changed TS-Config vars from "plugin.tx\_rs\_linklayout.\*" to "plugin.tx\_rslinklayout.\*" and renamed the class from "tx\_rs\_linklayout" to "tx\_rslinklayout".Added short user manual - 1.3.1: added new config var "linkFiletypePaths". Search paths for the filetype icons are now customizable. - 1.3.2: fixed Typo3 dependency in ext\_emconf 8 .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: left .. |img-2| image:: img-2.png .. :border: 0 .. :height: 21 .. :hspace: 9 .. :id: Grafik2 .. :name: Grafik2 .. :width: 87 .. |img-3| image:: img-3.png .. :align: left .. :border: 0 .. :height: 287 .. :id: Grafik1 .. :name: Grafik1 .. :width: 554 .. |img-4| image:: img-4.png .. :align: left .. :border: 0 .. :height: 164 .. :id: Grafik3 .. :name: Grafik3 .. :width: 560 .. |img-5| image:: img-5.png .. :align: left .. :border: 0 .. :height: 197 .. :id: Grafik4 .. :name: Grafik4 .. :width: 477