localization - Localize tx_news - how to make common fields fall back to original language? -


when localizing tx_news articles in typo3 6.x out of box, have set many values translation manually taken original language.

for example:

  • a news item's category
  • a news item's category's detail page , list page.
  • a news item's images

how can achieved these fields either fall original language - or @ least when left empty?

the property "l10n_mode" in field configuration of tca responsible localization configuration. possible values documented in tca reference: http://docs.typo3.org/typo3cms/tcareference/reference/columns/index.html

the categories in tx_news set "mergeifnotblank". want should default value: if leave field empty in alternative language, categories default language should taken.

if want hide fields , take values default language, can of course override tca , set l10n_mode exclude, e.g.

$globals['tca']['tx_news_domain_model_news']['columns']['categories']['l10n_mode'] = 'exclude'; 

(in exttables.php)


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -