[TYPO3-english] site title not changed anymore in single view

Markus Klein klein.t3 at reelworx.at
Wed Mar 18 22:43:45 CET 2015


I managed to trace this now.

If the page is NOT fully cached (uncached cobjects present) then the page title, set by a cached plugin, is lost.

Easy to reproduce: Simply add this TS to a fully cached tx_news detail page and your page title is gone:
page.100 = COA_INT
page.100.10 = TEXT
page.100.10.value = test



Kind regards
Markus

------------------------------------------------------------
Markus Klein
TYPO3 CMS Active Contributors Team Member

> -----Original Message-----
> From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-
> bounces at lists.typo3.org] On Behalf Of Markus Klein
> Sent: Wednesday, March 18, 2015 12:11 PM
> To: 'TYPO3 English'
> Subject: Re: [TYPO3-english] site title not changed anymore in single view
> 
> Hi!
> 
> We encounter a similar problem with tx_news.
> After clearing the cache and visit the detail view, the page-title is correctly
> shown.
> After some time though, it is gone again. No idea yet, what is going on.
> 
> Kind regards
> Markus
> 
> ------------------------------------------------------------
> Markus Klein
> TYPO3 CMS Active Contributors Team Member
> 
> > -----Original Message-----
> > From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-
> > bounces at lists.typo3.org] On Behalf Of Georg Schönweger
> > Sent: Wednesday, March 18, 2015 11:11 AM
> > To: typo3-english at lists.typo3.org
> > Subject: [TYPO3-english] site title not changed anymore in single view
> >
> > Hi all,
> >
> > after upgrading to TYPO3 6.2 LTS i saw that some extensions like
> > tt_news, tx_commerce ecc. do not change the page title anymore after
> > the page has been cached. (e.g. tt_news should set the page title for
> > the single view to the news title) This worked in 4.5 LTS.
> >
> > Following code in a USER plugin (caching enabled) does not change the
> > page title anymore after the page has been cached:
> >
> > $GLOBALS['TSFE']->page['title'] = 'New page title'; $GLOBALS['TSFE']-
> > >altPageTitle = 'New page title'; $GLOBALS['TSFE']->indexedDocTitle =
> > >'New
> > page title'; $GLOBALS['TSFE']->getPageRenderer()->setTitle('New page
> > title');
> >
> > already a known bug?
> >
> > regards,
> > Georg
> > _______________________________________________
> > TYPO3-english mailing list
> > TYPO3-english at lists.typo3.org
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> 
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list