[TYPO3-dev] Deprecating "mainpalette" property of TCA['ctrl']
    Francois Suter 
    fsu-lists at cobweb.ch
       
    Thu Jul 16 21:39:37 CEST 2009
    
    
  
Hi,
> And I just found out that the main palette is actually rendered _after_ 
> the "getMainFields_postProcess" hook is executed (don't know whether 
> this is intended though).
Hmm, don't know. As it is a palette, I would say it doesn't qualify as a 
"main" field, but that may be a wrong interpretation without looking at 
the code ;-)
> I'm just thinking.. Couldn't we, instead of removing this feature, make 
> it work properly?
> E.g. in the case of tabs I could imagine the main palette being a sticky 
> area outside of the tab container.. just an adventurous thought ;)
Why not? In this case I would propose to add the palettes to the 
showitem property and prepend that with a --div-- with the label 
"General options". If divider2tabs are activated, that would create a 
new tab after all others. If not, it will just create a group of field 
with the header "General options" as it is now.
However this will still not work cleanly with tt_content, because if 
some extension adds a new tab, that tab will come between 
starttime/endtime and fe_group, which I feel is not correct.
Cheers
-- 
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
    
    
More information about the TYPO3-dev
mailing list