Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source Magazine

Chapter 1. EXT: T3X ToolTip

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

1.1. Introduction

What does it do?

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.

  1. t3xtooltip creates its own table to store keywords and tooltip text into database.

  2. Your own tooltip definitions can be timed (starttime, endtime), enabled/disabled and restricted to FE-Users.

  3. 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.

  4. The look&feel of your tooltips is still defined by CSS of the extension 'titletips'.

  5. Replaces keywords only on specified pages, and/or exclude specified pages from keyword replacing.

  6. You also can define your own wrap for the tooltips. As default, the keyword is simple wrapped by:

  7. <a href="javascript:void();" title="###TOOLTIP###" class="t3xtooltip">|</a>

  8. The extension provides RTE capabilities, so you also can use the functionality of RTE (text formating, images, etc).

  9. Tooltips will be applied only on text wrapped in <p>-tags ...other content (headers, links, etc.) will remain untouched!

  10. Tooltips will be applied only on whole words! (word boundary is recognized by 'preg_replace')

Screenshots

None at the moment. please be patient.