[TYPO3-english] TS: Menu splited by 2 itmes
Jacco van der Post
jacco at id-internetservices.com
Thu Mar 19 12:17:10 CET 2009
Hi,
This is possible using optionSplit in the TS of the menu. See TSref for
examples
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.2.0/view/1/3/#id4139108
or easy with CSS, but I understand you want it in the source divided?
Why by the way?
grtz Jacco
Tadas schreef:
> Hello Guys,
>
> I have stuck with some TypoScript coding and have no Ideas how to solve
> :) Maybe some help me?
>
> Problem:
>
> Page List witch will be like menus or content block :
>
> MenuList1
> MenuList2
> MenuList3
> MenuList4
> MenuList5
> MenuList6
> MenuList7
>
> And I must have HTML generated code devided menu list in row by 2:
>
> MenuList1 MenuList2
> --------------------------------
> MenuList3 MenuList4
> --------------------------------
> MenuList5 MenuList6
> --------------------------------
> MenuList7
> --------------------------------
>
>
> Here is HTML code for One row:
>
>
> <div class="parallelBlockA03 hasH2">
> <div class="colA01 first">
>
> <h2 class="link first"><a name="h2-2" id="h2-2"
> href="#">MenuList1</a></h2>
> <div class="contentBlockA01">
> <div class="parallelUnitA01 first">
> <div class="colUA01 first">
> <div class="imageBlockA01 first"><a href="#"><img
> height="72" width="72" src="img/st02/fig_02.jpg"
> alt="Placeholder"/></a></div>
> <!--/colUA01-->
> </div>
> <div class="colUA02">
> <div class="defaultParagraph first">
> <p class="first">Lorem ipsum dolor sit amet,
> consectetuer adipiscing elit.</p>
> <!--/defaultParagraph-->
> </div>
> <ul class="linkListA01">
> <li class="first"><a href="#">List item with
> link</a></li>
> <li><a href="#">List item with link</a></li>
> <!--/linkListA01-->
> </ul>
> <!--/colUA02-->
> </div>
> <!--/parallelUnitA01-->
> </div>
> <!--/contentBlockA01-->
> </div>
>
> <!--/colA01-->
> </div>
>
> <div class="colA02">
>
> <h2 class="link first"><a name="h2-2" id="h2-2"
> href="#">MenuList2</a></h2>
> <div class="contentBlockA01">
> <div class="parallelUnitA01 first">
> <div class="colUA01 first">
> <div class="imageBlockA01 first"><a href="#"><img
> height="72" width="72" src="img/st02/fig_02.jpg"
> alt="Placeholder"/></a></div>
> <!--/colUA01-->
> </div>
> <div class="colUA02">
> <div class="defaultParagraph first">
> <p class="first">Lorem ipsum dolor sit amet,
> consectetuer adipiscing elit.</p>
> <!--/defaultParagraph-->
> </div>
> <ul class="linkListA01">
> <li class="first"><a href="#">List item with
> link</a></li>
> <li><a href="#">List item with link</a></li>
> <!--/linkListA01-->
> </ul>
> <!--/colUA02-->
> </div>
> <!--/parallelUnitA01-->
> </div>
> <!--/contentBlockA01-->
> </div>
>
> <!--/colA02-->
> </div>
>
> <!--/parallelBlockA03-->
> </div>
>
> And TypoScript solution:
>
> ???????????????????
>
>
>
> Thanks in Advance.
>
> Tadas Lotužas
> typo3lab.lt
More information about the TYPO3-english
mailing list