[TYPO3-dev] Change TCA definition of field based on tt_content	CType?
    Ingo Renner 
    ingo at typo3.org
       
    Thu Jul  2 00:54:52 CEST 2009
    
    
  
Franz Koch wrote:
> Example:
> I created a new CType that should render a 360° panorama scroller which
> uses a image defined in "tt_content.image". Everything is fine that far,
> but I like to change that field for this CType to maxItems=1 and size=1.
>
> Any chance to do that?
well as the TCA is pure PHP, you just have to find the right spot where 
to place an if() and then manipulate the array...
Ingo
-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2
    
    
More information about the TYPO3-dev
mailing list