Extension Key: t3xtooltip
Copyright 2010, Stephan N Kellermayr, <stephan.kellermayr(ät)t3x.at>
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.com
This extension depends on extension titletips which converts standard TITLE attributes into a multiline tooltip and works independantly of whether Javascript or CSS is enabled. That means that the user won't loose any functionality by disabling Javascript, because titletips uses an unobtrusive DHTML techique (a javascript behaviour/presentation layer).
So, the functionality comes from titletips, and this small extension just grab the text for your tooltips from a database-table and replaces defined keywords in your content.
t3xtooltip creates its own table to store keywords and tooltip text into database.
Your own tooltip definitions can be timed (starttime, endtime), enabled/disabled and restricted to FE-Users.
You can use any other table with t3xtooltip which contains the two nessecary fields: a field for the keyword (which will be tooltipped) and a text which will be shown by mouseover.
The look&feel of your tooltips is still defined by CSS of the extension 'titletips'.
Replaces keywords only on specified pages, and/or exclude specified pages from keyword replacing.
You also can define your own wrap for the tooltips. As default, the keyword is simple wrapped by:
<a href="javascript:void();" title="###TOOLTIP###" class="t3xtooltip">|</a>
The extension provides RTE capabilities, so you also can use the functionality of RTE (text formating, images, etc).
Tooltips will be applied only on text wrapped in <p>-tags ...other content (headers, links, etc.) will remain untouched!
Tooltips will be applied only on whole words! (word boundary is recognized by 'preg_replace')