-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feldnamen verschwinden, wenn noch keine Übersetzung angelegt ist #199
Labels
Comments
@Samson1964 kannst Du das DCA posten? |
<?php if (!defined('TL_ROOT')) die('You cannot access this file directly!');
/**
* Contao Open Source CMS
*
* Copyright (C) 2005-2013 Leo Feyer
*
* @package fen
* @author Frank Hoppe
* @license GNU/LGPL
* @copyright Frank Hoppe 2013
*/
/**
* Palettes
*/
$GLOBALS['TL_DCA']['tl_content']['palettes']['interview'] = '{type_legend},type,headline;{interview_legend},interview;{protected_legend:hide},protected;{expert_legend:hide},guests,cssID,space;{invisible_legend:hide},invisible,start,stop';
/**
* Fields
*/
$GLOBALS['TL_DCA']['tl_content']['fields']['interview'] = array
(
'label' => &$GLOBALS['TL_LANG']['tl_content']['interview'],
'exclude' => true,
'inputType' => 'multiColumnWizard',
'eval' => array
(
'buttonPos' => 'top',
'buttons' => array
(
//'copy' => true,
//'delete' => true,
//'up' => true,
//'down' => true
),
'columnFields' => array
(
'published' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_content']['interview_published'],
'exclude' => true,
'inputType' => 'checkbox',
'eval' => array
(
'style' => 'width: 20px',
'valign' => 'top'
)
),
'question' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_content']['interview_question'],
'exclude' => true,
'inputType' => 'textarea',
'eval' => array
(
'rte' =>'tinyMCE',
'style' => 'width: 450px;',
'columnPos' => '1'
)
),
'answer' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_content']['interview_answer'],
'exclude' => true,
'inputType' => 'textarea',
'eval' => array
(
'rte' =>'tinyMCE',
'style' => 'width: 450px',
'columnPos' => '1'
)
),
)
),
'sql' => "blob NULL"
); Nimmt man 'columnPos' => '1' raus, stehen die Felder nebeneinander und auch die Label sind wieder da. |
ggf. zwei language-Files noch dazu? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Im columnPos-Modus werden die Feldnamen der untereinander positionierten Elemente einer Zeile nicht mehr angezeigt. Hat man eine Übersetzung angelegt, sind die (jetzt übersetzten) Namen auch wieder da.
The text was updated successfully, but these errors were encountered: