[Typo3-dev] Special Lorem Ipsum Hooks

Kraft Bernhard kraftb at mokka.at
Tue Jan 11 23:05:01 CET 2005


Hallo !

I have a question regarding
TYPO3_ROOT/typo3/sysext/wizard_crpages/class.tx_wizardcrpages_webfunc_2.php

in line 146 there is:
           if (t3lib_extMgm::isLoaded('lorem_ipsum'))   {
                $loremIpsumObj = t3lib_div::getUserObj('EXT:lorem_ipsum/class.tx_loremipsum_wiz.php:tx_loremipsum_wiz');
             }
   and in line 154:
                 (is_object($loremIpsumObj) ? '<a href="#" onclick="'.htmlspecialchars($loremIpsumObj->getHeaderTitleJS('document.forms[0][\'data[pages][NEW'.$a.'][title]\'].value', 
'title')).'">'.$loremIpsumObj->getIcon('',$this->pObj->doc->backPath).'</a>' : '');


why is the "Lorem Ipsum" plugin included in such a special way and not
via general usable hooks ?

greets,
Bernhard




More information about the TYPO3-dev mailing list