DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
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 |
EXT: linkrealattr - linkrelattr
EXT: linkrealattr¶
Extension Key: linkrelattr
Language: en
Keywords: forAdmins, forBeginners
Copyright 2014, Sven Burkert, <bedienung@sbtheke.de>
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¶
`Introduction 3 <#__RefHeading__417_1716070187>`_
`Installation 4 <#__RefHeading__423_1716070187>`_
`Configuration 5 <#__RefHeading__425_1716070187>`_
Apply relation attribute to navigation links 5
If you want to set more attributes for the a-tag, you can do it this way: 5
lib.submenu.10.30 { 1 { ACT.ATagParams.cObject { 20 = TEXT 20.value = class="active" } } } 5
`To-Do list 6 <#__RefHeading__437_1716070187>`_
`ChangeLog 7 <#__RefHeading__441_1716070187>`_
Introduction¶
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¶
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¶
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!