Project

General

Profile

Actions

Bug #15298

closed

Additional fields of pages table are not translated when using getText datatype

Added by Sacha Vorbeck over 18 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2005-12-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hi,

I added a new field to both the pages and pages_language_overlay table:

tx_svoaddpageheader_pageheadline

The field shows up in the Alternative Page Language record as expected but when I receive the field value via

field = tx_svoaddpageheader_pageheadline

or

data = levelfield : -1 , tx_svoaddpageheader_pageheadline , slide

the default value will be shown instead of the translation.

So it seems that the translation mechanism that works for the default fields is not working for additional fields.

The only solution I see for now it to add a field to the pages table for each language required. Like:
tx_svoaddpageheader_pageheadline_en
tx_svoaddpageheader_pageheadline_fr
tx_svoaddpageheader_pageheadline_it
etc.
Which is confusing for editors as they have to add foreign language values both to the "alternative page language" records and the page properties dialogue.

What do you think? Should this be regarded as a bug? Can this be solved it the additional fields have the same names both in the pages and the pages_language_overlay table?

(issue imported from #M2070)

Actions #1

Updated by Andreas Wolf over 12 years ago

  • Category changed from Communication to TypoScript
  • Status changed from New to Needs Feedback
  • Target version deleted (0)
  • TYPO3 Version changed from 3.8.0 to 4.0
  • PHP Version deleted (4)

Is this still valid for 4.5/4.6?

The version assignment to 4.0 is just a rough guess based on the age of the bug...

Actions #2

Updated by Tilo Baller over 11 years ago

New fields need to be added to the 'pageOverlayFields' configuration in your localconf.php/ext_localconf.php like so:

$TYPO3_CONF_VARS['FE']['pageOverlayFields'] .= ',tx_svoaddpageheader_pageheadline';

That should resolve the issue.

Actions #3

Updated by Jigal van Hemert over 11 years ago

  • Status changed from Needs Feedback to Closed

No feedback for over 90 days, solution given seems correct. Closed.

Actions

Also available in: Atom PDF