[TYPO3-german] Seitentitel als Überschrift in Menü anzeigen

Markus Kobligk markus at kobligk.de
Sun Dec 4 22:14:27 CET 2011


Am 04.12.2011 15:18, schrieb Dirk:
> page.10.marks.CONTENT.stdWrap.ifEmpty.cObject.10 = COA
> page.10.marks.CONTENT.stdWrap.ifEmpty.cObject.10 {
> value = {page:nav_title//page:title}
> insertData = 1
> wrap = <h1>|</h1>
> }
> page.10.marks.CONTENT.stdWrap.ifEmpty.cObject.20 = HMENU
> page.10.marks.CONTENT.stdWrap.ifEmpty.cObject.20 {
> #entryLevel = 1
> special = directory
> special.data = {page:uid}
> alwaysActivePIDlist = 532
> ### Erste Ebene ###
> 1 = TMENU
> 1 {
> wrap = <ul class="c{this}" id="{uid}">|</ul>
> expAll = 1
> NO.wrapItemAndSub = <li>|</li>
>
> ACT < .NO
> ACT = 1
> ACT.ATagParams = class="active"
> }
>
> ### Zweite Ebene ###
> 2 < .1
> 3 < .1
> 4 < .1
> }

Warum so umständlich?

page.10.marks.CONTENT = COA
page.10.marks.CONTENT {
   10 = TEXT
   10 {
     field = nav_title // title
     wrap = <h1>|</h1>
   }

   20 = HMENU
   20 {
     ...
   }
}

Gruß,
Markus


More information about the TYPO3-german mailing list