[TYPO3] print page and menu

Tapio Markula tapio.markula at dnainternet.net
Thu Aug 3 14:08:59 CEST 2006


JoH wrote:
>>thank you for your answer but I guess I was not clear enough: I would
>>like to override the automatic href created by Typo3 on the Page
>>title...
>>
>>Tyler, thank you again, here is my code:
>>
>>marks.MENU2=HMENU
>>marks.MENU2.1=TMENU
>>marks.MENU2.entryLevel = 3
>>marks.MENU2.1 {
>>                      noBlur=1
>>                       expAll=0
>>                       wrap = <div id="nav4_cont"><ul>|</ul></div>
>>                       #CUR=1
>>                       #ACT=1
>>
>>NO {
>>       wrapItemAndSub=<li>|</li>
>>       #No "border-top" at the first menu-entry, done with Option
>>       Split allWrap=<div
>>class="nav4_einzel_cont_first">|</div>|*|<div
>>class="nav4_einzel_cont">|</div>
>>
>>
> ATagParams=class="nav4"||class="nav4"||class="nav4"||class="nav4"||class="na
> v4"|*|class="nav4_grau"
> 
>>                       }
>>}
>>}
> 
> 
> No additional page, no appending in optionSplit, nothing complicated, just a
> simple COA.
> Here we go:
> 
> marks.MENU2 = COA
> marks.MENU2 {
>     wrap = <div id="nav4_cont"><ul>|</ul></div>
>     10 = HMENU
>     10 {
>         entryLevel = 3
>         1 = TMENU
>         1 {
>             noBlur = 1
>             NO {
>                 wrapItemAndSub = <li>|</li>
>                 allWrap = <div class="nav4_einzel_cont_first">|</div> |*|
> <div class="nav4_einzel_cont">|</div>
>                 ATagParams = class="nav4" || class="nav4" || class="nav4" ||
> class="nav4" || class="nav4" |*| class="nav4_grau" |*|
>             }
>         }
>     }
>     20 = TEXT
>     20 {
>         value = Print this!
>         wrap (
> <li>
>     <div class="nav4_einzel_cont">
>     <a href="javascript:window.print();" class="nav4_grau">|</a>
>     </div>
> </li>
>     }
> }
> 
> HTH
> 
> Joey
> 
aternatively

1) some object

printpage = COA
printpage {
...
   }

   wrap.cObject.after < printpage

or something like that - I don't remenber now
for what wrap that could be defined
- ask Peter





More information about the TYPO3-english mailing list