[TYPO3] pagetitle and tt_news

Stephen Bungert s.bungert at metrinomics.de
Mon Jun 2 12:35:02 CEST 2008


I found out what the problem was. The pages had a subtitle. 

Of course, that took priority over the TSFE:page|title.



-----Ursprüngliche Nachricht-----
Von: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] Im Auftrag von Stephen
Bungert
Gesendet: Montag, 2. Juni 2008 12:30
An: 'Dmitry Martynenko'; 'TYPO3 English'
Betreff: Re: [TYPO3] pagetitle and tt_news

When I use t3lib_div::debug($GLOBALS['TSFE']); in an extension of mine on
the same page (where I see the article title and where I don't), the pages
array has the article title correct - the article title, but the title in 

[rootLine] => Array
        (
            [3] => Array
I guess looking at the title elements in the rootLine array that this is
info about everypage from the first page in the tree to the currently viewed
one?

[indexedDocTitle] also has the article title. I wonder why on certain pages
the wrong title is used, even when the article title is in the page array?

-----Ursprüngliche Nachricht-----
Von: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] Im Auftrag von Dmitry
Martynenko
Gesendet: Montag, 2. Juni 2008 11:21
An: TYPO3 English
Betreff: Re: [TYPO3] pagetitle and tt_news

Hi Stephen,

SB> page.headerData.5.data = field:subtitle // TSFE:page|title

SB> That works form me to, but only on pages where the template in the
SB> TYPOSCRIPT settings are used. On pages where the template is specified
on
SB> the news ext template tab, the articles title is not shown, just the
page
SB> title still.

SB> Anyone know why that would be?

May be tt_news defined as USER_INT at global level.
Try to add on that pages to template setup:

plugin.tt_news = USER

-- 
Dmitry Martynenko
Developer

Web: http://realt.by

_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list