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

1.4. Extending timtab_embeddedvideo

There are one Hook to extend this extension.

extendMarkerHook

If you have write an extension which integrates a new marker to tt_news and timtab_embeddedvideo should parse your marker too, you can extend the array of marker which are processed by timtab_embeddedvideo. I implement this hook for Ralph Schuster and his extension “ttnews_teasertext”.

To use this hook, you have to extend the array “itemMarkerArray”, example:

class.tx_myext.php

class tx_myext {function extend($params, $ref) {$ref->itemMarkerArray[] = '###MY_NEW_MARKER###';}}

put this code into your ext_localconf.php:

require_once(t3lib_extMgm::extPath($_EXTKEY).'class.tx_myext.php');$TYPO3_CONF_VARS['EXTCONF']['timtab_embeddedvideo']['extendMarkerHook'][] = 'tx_myext->extend';