[TYPO3-templavoila] Hide the "denyed" Items ind the Contet Element Wizzard

Jens Hoffmann werbung at baiz.org
Mon Aug 21 19:14:13 CEST 2006


Sorry, TV Crew! My fault

TCEFORM.tt_content.CType {
      removeItems = bullets, table, search, mailform, search, login, 
shortcut, html, script, splash, div
      disableNoMatchingValueElement=1
}

This TS Snippet solve the Problem.

Keep Up the good work!

Greez Jens

-------------------------------------

Jens Hoffmann schrieb:
> All off the Code of this Bug-Patch are in the Code. But i dousn't work!
> The "Bad" Elements won't be removed!
> 
> ================================================================================================== 
> 
> 452a453,457
>  > // Get TCEFORM from TSconfig of current page
>  > $TCEFORM_TSconfig = 
> t3lib_BEfunc::getTCEFORM_TSconfig('tt_content',array('pid'=>$this->id));
>  >         $removeItems = 
> t3lib_div::trimExplode(',',$TCEFORM_TSconfig['CType']['removeItems'],1);
>  >
> 479c484
> <                         if ($authModeDeny)    {
> ---
>  >                         if ($authModeDeny || 
> in_array($fV,$removeItems))    {
> ================================================================================================== 
> 
> 
> Has anyone a solution for this ?
> 
> Greez Jens
> 
> ------------------------------------------------------
> 
> Jens Hoffmann schrieb:
>> I was right and I found something:
>>  >> http://bugs.typo3.org/view.php?id=3195
>> It seems to be fixed, but it issn't! :(
>>
>> Greez Jens
>>
>>> Douse anyone have the problem too?
>>>
>>> If i get the PHP Code right is the
>>> howl functionality for this missing...
>>>
>>> RIGHT ?



More information about the TYPO3-project-templavoila mailing list