[Typo3] More Content Areas

Mihaela Hristache elah at radum.org
Thu Apr 14 01:54:33 CEST 2005


  Now I have another problem, and this is big one.. When I write in setup 
this:

page.10.marks.MAIN_CONTENT.10 = CONTENT
page.10.marks.MAIN_CONTENT < styles.content.getColumn1

it displys nothing :( It only displays ###MAIN_CONTENT###
, and no real content.
 Help me with this, please.

 Thanks,
 Mihaela

> Write an ext_table.php file containing the following:
> -----------------snip------------------------
> <?php
> if (!defined ("TYPO3_MODE"))  die ("Access denied.");
> $tempColumns = Array (
>
> );
>
> t3lib_div::loadTCA("tt_content");
>
> $TCA["tt_content"]["columns"]["colPos"]["config"]["items"] = array (
> "3" => array ("Column 3","3"),
> "2" => array ("Column 2","2"),
> "1" => array ("Column 1","1"),
> "0" => array ("Normal","0"),
> "4" => array ("Column Extra 1","4"),
> "5" => array ("Column Extra 2","5"),
> "n" => array ("Column Extra n","n"),
> );
> ?>
> -----------------snip------------------------
>
> As you see you can add as many columns as you want. You will then need to
> configure them to be visible in the BE. For this add the following to your
> Page TSConfig (from the page on from which you want the new columns to be
> visible):
>
> mod.SHARED.colPos_list = 3,1,0,2,4,5,n




More information about the TYPO3-english mailing list