[TYPO3-english] tt_news title instead of page title in the breadcrumb menu

horace grant horace3d at gmail.com
Sat May 21 11:18:03 CEST 2011


hi,

i use this typoscript snippet for my breadcrumbs menu:



marks.BREADCRUMBS = COA
    marks.BREADCRUMBS {
        10 = HMENU
        10.wrap = <div id="breadcrumbs"> |
        10 {
            special = rootline
            special.range = range = 1|-2
            includeNotInMenu = 1
            1 = TMENU
            1.NO = 1
            1.NO.stdWrap.field = nav_title
            1.NO.stdWrap.ifEmpty.field = title
            1.NO.stdWrap.htmlSpecialChars = 1
            1.NO.allWrap = |&nbsp;>&nbsp;|*| |&nbsp;>&nbsp;|*| |
        }
        20 = TEXT
        20.data = TSFE:page|title
        20.htmlSpecialChars = 1
        20.wrap = &nbsp;>&nbsp;<span class="active">|</span>
        30 = TEXT
        30.value = </div>
    }



isn't TSFE:page|title supposed to output the tt_news title instead of
the page title if i am on the tt_news single view? it doesn't work
though. i always get the page title. what could be the reason for
this?

(the strange thing is, that if i use the same method for outputting
the <title></title> tag, it works correctly. it displays the tt_news
title.)

cheers,
horace


More information about the TYPO3-english mailing list