[Typo3-dev] Bug in TemplaVoila concering the content element wizard

tapio tapio.markula at dnainternet.net
Fri Jul 29 15:46:17 CEST 2005


> Templa Voila Style
> 
>> common_2' => array(
>>     'icon'=>'gfx/c_wiz/text_image_below.gif',
>>     'title'=>$LANG->getLL('common_2_title'),
>>     'description'=>$LANG->getLL('common_2_description'),
>>     'params'=>'&defVals[tt_content][CType]=textpic&defVals[tt_content][imageorient]=8' 
>>
>>     )
> 
> 
> 
> Classic Style
> 
>> 'common_2' => array(
>>     'icon'=>'gfx/c_wiz/text_image_below.gif',
>>     'title'=>$LANG->getLL('common_2_title'),
>>     'description'=>$LANG->getLL('common_2_description'),
>>     'tt_content_defValues' => array(
>>         'CType' => 'textpic',
>>         'imageorient' => 8
>>         )
>>     )

I have noticed the difference. If the adding of the wizard icon has been 
done according to TemplaVoila style it works BOTH in MTB and 
TemplaVoila. For example 'Advanced Banner Manager' use that style.
An author has used the Classic Style, which worked only in MTB.
After altering the style according to TemplaVoila style, it worked both 
in MTB and TemplaVoila.

I just wonder why two styles?

The function removeInvalidElements(&$wizardItems) works with both styles 
- at least it works also with TemplaVoila because it really removes 
unwanted items.

I don't understand what problems is in the function 
removeInvalidElements(&$wizardItems).

> if i find a good way to read this value i will create a patch for the 
> bugtracker but with these ugly solution i dont want to see it in the core.

ok. And why not use generic language files, when language files would be 
common both for MTB and TemplaVoila? That would not be a big task to alter

> regards Martin




More information about the TYPO3-dev mailing list