[TYPO3] disable all columns in PAGE module view?

Tapio Markula tapio.markula at xetpoint.fi
Mon Aug 13 09:09:21 CEST 2007


Andrew Davis kirjoitti:
> Is it possible to disable all columns in PAGE module view?
> 
> We have a sysfolder with soem tt_news records, which display nicely in 
> page module, but it has  the columns above, blank.
> 
> I tried setting the page ts to
> 
> mod.SHARED.colPos_list=
> 
> or
> 
> mod.SHARED.colPos_list >
> 
> or
> 
> mod.SHARED.colPos_list=-1  (shot in the dark...)
> 
> but it just defaults to 4 columns shown...
> 
> any way to make this work?

No way - Typo3 has been build so that if colPoslist has not valid value,
default value has been used

$this->colPosList = 
strcmp($this->colPosList,'')?$this->colPosList:'1,0,2,3';
			
That means that if you define colPosList as empty, Typo3 *forces* it 
into default value.
Because colposlist has been converted as an array, changing behavior 
would be problematic


More information about the TYPO3-english mailing list