[TYPO3-core] RFC #17766: [Feature]: Show linktype as css class in typolink

Christian Futterlieb christian at futterlieb.ch
Fri Feb 25 15:10:10 CET 2011


Hi,

This is an SVN patch request.

Type: Feature

Bugtracker references: http://bugs.typo3.org/view.php?id=17766

Branches: trunk

Problem: I would like to introduce a possibility to display the type of 
a typolink (page, file, mailto, url) as css class. This is very useful 
for web analytics (with i.e. piwik).

Solution: The patch introduces two ways to configure this option:

config.useLinkTypeAsCssClass (boolean/stdWrap) as global setting

and

typolink.useLinkTypeAsCssClass (boolean/stdWrap) as local setting (per 
typolink)

Notes: I know, the typolink method is very large already and considered 
to be a performance bottleneck (as I noticed, some of you guys are 
working on that). However it is a nice feature and appears to be very 
useful, as very much customers like to analyze the usage of their websites.

Regards Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 17766.diff
Type: text/x-patch
Size: 1222 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110225/27bcdf43/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Feature_17766_docChanges.txt
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110225/27bcdf43/attachment.txt>


More information about the TYPO3-team-core mailing list