[Typo3] More Content Areas

Mihaela Hristache elah at radum.org
Thu Apr 14 02:35:30 CEST 2005


 I solved it.. It wasn't hard at all .. I just had to do some more reading.
 In the setup I just had insert these lines :

page.10.marks.MAIN_CONTENT.10 = CONTENT
page.10.marks.MAIN_CONTENT < styles.content.get
page.10.marks.MAIN_CONTENT.select.where = colPos = 1
page.10.marks.MAIN_CONTENT.stdWrap.required = 1
page.10.marks.MAIN_CONTENT.stdWrap = |

 And that's all.

 Mihaela
 
 >   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
>
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list