[Typo3-dev] Special Lorem Ipsum Hooks

Kasper Skårhøj kasper2005 at typo3.com
Wed Jan 12 12:31:23 CET 2005


Because at the time being it was the easiest thing to do and the impact
of this special integration didn't seem severe.

Theoretically it should not be like that, but the world is not perfect.
Sorry.

- kasper




On Tue, 2005-01-11 at 23:05, Kraft Bernhard wrote:
> 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
> _______________________________________________
> Typo3-dev mailing list
> Typo3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
-- 
- kasper

*******************
Happy new year! - My email address is now: 

		kasper2005 at typo3.com 







More information about the TYPO3-dev mailing list