[TYPO3] Backend Configuration - Alternate Page Language

Sebastian Fuchs sebastian at hexerei.net
Mon Jun 26 16:09:32 CEST 2006


Hi

probably you found it already by your self....

your alternaive page titles are not located in the pages table, but in 
the pages_language_overlay table.
so the configuration is like you wrote already but for a different table:

$GLOBALS['TCA']['pages_language_overlay']['columns']['title']['config']['type'] 
= 'text';
$GLOBALS['TCA']['pages_language_overlay']['columns']['title']['config']['cols'] 
= '30';
$GLOBALS['TCA']['pages_language_overlay']['columns']['title']['config']['rows'] 
= '2';





Erik Weber wrote:
> I recently added these lines to my extTables.php to expand the title and
> subtitle inputs on my pages:
> 
> // Add a second line to the pagetitle field
> $GLOBALS['TCA']['pages']['columns']['title']['config']['type'] = 'text';
> $GLOBALS['TCA']['pages']['columns']['title']['config']['cols'] = '30';
> $GLOBALS['TCA']['pages']['columns']['title']['config']['rows'] = '2'; 
> // Add a second and third line to the subtitle field
> $GLOBALS['TCA']['pages']['columns']['subtitle']['config']['type'] = 'text';
> $GLOBALS['TCA']['pages']['columns']['subtitle']['config']['cols'] = '50';
> $GLOBALS['TCA']['pages']['columns']['subtitle']['config']['rows'] = '3'; 
> 
> The question is, what do I change 'pages' to to do the same for my alternate
> page language pages so that I can have multi-line titles and subtitles in
> both languages?
> 
> Erik



More information about the TYPO3-english mailing list