.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ================= EXT: linkrealattr ================= :Author: Kasper Skårhøj :Created: 2002-11-01T00:32:00 :Changed: 2014-10-12T12:30:49.793000000 :Classification: linkrelattr :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: forAdmins, forBeginners :Author: Sven Burkert :Email: bedienung@sbtheke.de :Info 4: :Language: en |img-1| |img-2| EXT: linkrealattr - linkrelattr .. _EXT-linkrealattr: EXT: linkrealattr ================= Extension Key: linkrelattr Language: en Keywords: forAdmins, forBeginners Copyright 2014, Sven Burkert, 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 ----------------- `EXT: linkrealattr 1 <#__RefHeading__415_1716070187>`_ **`Introduction 3 <#__RefHeading__417_1716070187>`_** `What does it do? 3 <#__RefHeading__419_1716070187>`_ `Screenshots 3 <#__RefHeading__421_1716070187>`_ **`Installation 4 <#__RefHeading__423_1716070187>`_** **`Configuration 5 <#__RefHeading__425_1716070187>`_** `Apply relation attribute to navigation links 5 <#__RefHeading__427_1716070187>`_ `This can't be done automatically, because every navigation has it's own configuration. You have to apply the predefinedd configuration in temp.linkrelattr.AtagParams to your menu, e.g. this way: 5 <#__RefHeading__429_1716070187>`_ `lib.submenu.10.30 { 1 { NO.ATagParams > NO.ATagParams < temp.linkrelattr.AtagParams ACT.ATagParams > ACT.ATagParams < .NO.AtagParams } 2 < .1 } 5 <#__RefHeading__431_1716070187>`_ `If you want to set more attributes for the a-tag, you can do it this way: 5 <#__RefHeading__433_1716070187>`_ `lib.submenu.10.30 { 1 { ACT.ATagParams.cObject { 20 = TEXT 20.value = class="active" } } } 5 <#__RefHeading__435_1716070187>`_ **`To-Do list 6 <#__RefHeading__437_1716070187>`_** `Use hook $GLOBALS['TYPO3\_CONF\_VARS']['SC\_OPTIONS']['tslib/class.ts lib\_content.php']['typoLink\_PostProc'] to automatically generate relation attribute for all links, but only as alternative for manual configuration with temp.linkrelattr.ATagParams. 6 <#__RefHeading__439_1716070187>`_ **`ChangeLog 7 <#__RefHeading__441_1716070187>`_** .. _Introduction: Introduction ------------ .. _What-does-it-do: What does it do? ^^^^^^^^^^^^^^^^ - Adds a new field “Link Relation” to page properties. - If one of the link relations is selected, it generates a relation attribute for the link, e.g. rel=”nofollow”. - Predefined configuration for content element “menu”. - To apply the relation attribute to your navigation links, read section “Configuration”. .. _Screenshots: Screenshots ^^^^^^^^^^^ |img-3| .. _Installation: Installation ------------ - After installing this extension you have to add the template “Relation for links” in field “Include static (from extensions)”. - Apply the relation attribute to your navigation links (read section “Configuration”). .. _Configuration: Configuration ------------- .. _Apply-relation-attribute-to-navigation-links: Apply relation attribute to navigation links ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This can't be done automatically, because every navigation has it's own configuration. You have to apply the predefinedd configuration in temp.linkrelattr.AtagParams to your menu, e.g. this way: lib.submenu.10.30 {1 {NO.ATagParams >NO.ATagParams < temp.linkrelattr.AtagParamsACT.ATagParams >ACT.ATagParams < .NO.AtagParams}2 < .1} If you want to set more attributes for the a-tag, you can do it this way: lib.submenu.10.30 {1 {ACT.ATagParams.cObject {20 = TEXT20.value = class="active"}}} .. _To-Do-list: To-Do list ---------- Use hook $GLOBALS['TYPO3\_CONF\_VARS']['SC\_OPTIONS']['tslib/class.tsl ib\_content.php']['typoLink\_PostProc'] to automatically generate relation attribute for all links, but only as alternative for manual configuration with temp.linkrelattr.ATagParams. You have more ideas? Contact me! .. _ChangeLog: ChangeLog --------- See file ChangeLog in extension directory. 7 .. ######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: 403 .. :id: Bild1 .. :name: Bild1 .. :width: 669