[TYPO3-dev] Trying to make plugins compatible with Typo3 4.2

Tapio Markula tapio.markula at xetpoint.fi
Sun Mar 2 07:15:31 CET 2008


Tapio Markula kirjoitti:
> Oliver Hader kirjoitti:
>> Hi Tapio,
>>
>> Tapio Markula schrieb:
>>> It is difficult to get my plugins compatible with Typo3 4.2.
>>>
>>> Some problems.
>>>
>>> 1)  strcmp(trim($def['content'],'')); in XCLASS for template cause
>>>
>>> Warning: Wrong parameter count for strcmp() in 
>>> .../typo3conf/ext/tm_shared_lib/class.ux_template.php on line 747
>>
>> Hm, please recheck your code. You're calling trim($def['content'],'')...
> 
> 
> well that is in Typo4 4.2 beta2 in template.php
> 
> $isNotEmpty = strcmp(trim($def['content']),'');
> 
> I just didn't change it

The biggest problem is that in XCLASSes fro
* typo3/alt_doc.php
* typo3/class.db_list_extra.inc
* typo3/sysext/cms/layout/db_layout.php

the main content has been not shown at all - I'm totally confused with 
the backend templating. I tried to make miminal changes to  them - still 
the problem.




More information about the TYPO3-dev mailing list