[TYPO3-english] Parent's page title in sub navigation
Philipp Gampe
phil at philippgampe.info
Sun Jun 7 14:24:45 CEST 2009
Hi,
I used this one to create a title for my subnavigation
sub_titel = HMENU
sub_titel {
special = rootline
special.range = 2|2
# 151, this page is hidden and not in main menu, but we still want
it to appear in title
includeNotInMenu = 151
1 = TMENU
1 {
NO = 1
NO.ATagTitle.field= abstract // description // title
# we want to have a header and not a link, so just print the text
NO.doNotLinkIt = 1
}
}
Hope it will help you
Best regards
Phil
Am 07.06.2009, 13:20 Uhr, schrieb John Sullivan <john at quaycreative.com>:
> Hi!
>
>
>
> I'd like to have the parent's page title displays above the
> sub-navigation.. Could you please help?
>
>
> Currently, I'm using this typoscript
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> #THIS BIT OF TYPO SCRIPT IS TO CREATE SUB-MENU
> [PIDinRootline = 8]
> page.10.subparts.SUBSIDENAV = HMENU
> page.10.subparts.SUBSIDENAV.special = directory
>
> [PIDinRootline = 8]
> page.10.subparts.SUBSIDENAV.special.value = 8
> [end]
>
> page.10.subparts.SUBSIDENAV.1 = TMENU
> page.10.subparts.SUBSIDENAV.1.expAll = 1
>
> page.10.subparts.SUBSIDENAV.1.wrap = <div id="sub-navigation">
> {page:title} <ul>|</ul></div>
>
>
> page.10.subparts.SUBSIDENAV.1.NO.linkWrap = <li>|</li>
> page.10.subparts.SUBSIDENAV.1.ACT < .NO
> page.10.subparts.SUBSIDENAV.1.ACT = 1
> page.10.subparts.SUBSIDENAV.1.ACT.linkWrap = <li class="active">|</li>
>
> [end]
> #END SUB-MENU
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> The {page:title} above does not seem to work!?
>
> Please advise.
>
>
> John
--
I never knew how good Opera is as a newsreader! Try it!
(used Thunderbird and Evolution before)
More information about the TYPO3-english
mailing list