Property: | Data type: | Description: | Default: |
|---|---|---|---|
PIDtooltip | int+ | PID of your sysfolder which contains your tooltip definitions. Example: plugin.tx_t3xtooltip_pi1 { PIDtooltip = 10 } | |
PIDinclude | list | Comma separated list of PIDs on which tooltips should be used. Pages will be used recursive (leave this empty if you want to use t3xtooltip on every page). Example: plugin.tx_t3xtooltip_pi1 { PIDinclude = 20 } | |
PIDexclude | list | Comma separated list of PIDs where tooltips should NOT be used (e.g. 1,2,3,4). Example: plugin.tx_t3xtooltip_pi1 { PIDexclude = 22 } | |
DBtable | string | The database table where your tooltip-definitions are located (to select fields from another table insert e.g. tx_mrglossary_glossary). Example: plugin.tx_t3xtooltip_pi1 { DBtable = tx_t3xtooltip_definitions } | tx_t3xtooltip_definitions |
DBfields | list | Fields to be used from DB (database fieldnames separated by comma, 1=title, 2=replacement). Example: plugin.tx_t3xtooltip_pi1 { DBfields = title,tooltip } | title,tooltip |
tooltipWrap | wrap | Wrap for the tooltip-keywords (###TOOLTIP### will be replaced with the tooltiptext). Example: plugin.tx_t3xtooltip_pi1 { tooltipWrap = <a href="javascript:void();" title="###TOOLTIP###" class="t3xtooltip">|</a> } | <a href="javascript:void();" title="###TOOLTIP###" class="t3xtooltip">|</a> |
Constants:
plugin.tx_t3xtooltip_pi1 {
PIDtooltip = 10
PIDinclude = 1
PIDexclude = 33,34,35
DBtable = tx_t3xtooltip_definitions
DBfields = title,tooltip
tooltipWrap = <a href="javascript:void();" title="###TOOLTIP###" class="t3xtooltip">|</a>
}
Setup:
plugin.tx_t3xtooltip_pi1 {
postUserFunc = tx_t3xtooltip_pi1->t3xtooltip
postUserFunc {
PIDtooltip = {$plugin.tx_t3xtooltip_pi1.PIDtooltip}
PIDinclude = {$plugin.tx_t3xtooltip_pi1.PIDinclude}
PIDexclude = {$plugin.tx_t3xtooltip_pi1.PIDexclude}
DBtable = {$plugin.tx_t3xtooltip_pi1.DBtable}
DBfields = {$plugin.tx_t3xtooltip_pi1.DBfields}
tooltipWrap = {$plugin.tx_t3xtooltip_pi1.tooltipWrap}
}
}
styles.content.get.stdWrap.postUserFunc = plugin.tx_t3xtooltip_pi1.postUserFunc
styles.content.getRight.stdWrap.postUserFunc = plugin.tx_t3xtooltip_pi1.postUserFunc
styles.content.getLeft.stdWrap.postUserFunc = plugin.tx_t3xtooltip_pi1.postUserFunc
styles.content.getBorder.stdWrap.postUserFunc = plugin.tx_t3xtooltip_pi1.postUserFunc