[TYPO3-dev] Pages overlay from TypoScript

Steffen Kamper info at sk-typo3.de
Tue Sep 2 14:04:32 CEST 2008


Oliver Hader schrieb:
> Hi guys,
> 
> maybe I didn't have enough coffee today, but also maybe this is 
> currently not possible:
> 
> Scenario:
> I want to display the localized title of a page in FE by the RECORDS 
> object in TypoScript - example:
> 
> temp.pageTitle = RECORDS
> temp.pageTitle {
>   source = pages_123
>   tables = pages
>   conf.pages < lib.whatever
> }
> 
> In tslib_cObj there's a call to 
> $GLOBALS['TSFE']->sys_page->getRecordOverlay() which won't work for 
> pages, since pages have an own table for localization stuff - thus 
> getPageOverlay() would be correct for the table 'pages' in the RECORDS 
> and CONTENT TS-object...
> 
> Do I need more coffee?
> 
> olly

Hi olly,

more coffee isn't bad anyway ... :-)

You're right, as pages don't have [ctrl][languageField]

There is missing the check for [ctrl][transForeignTable] which is 
configured in TCA of pages.

vg Steffen




More information about the TYPO3-dev mailing list