Issue Bug Closed

#18144setup.override.edit_wideDocument=1 ignored

Lucio Pozertti 02/06/08, 18:32 updated 10/02/18, 12:30

Description

Even setup.override.edit_wideDocument=1 is set in the BE user TSConfig,
it has no effect on table’s width in the TCEforms.

Also reproducible on TYPO3 v4.1.2

A solution would be to change the function initDefaultBEmode() in class.t3lib_tceforms.php. The call $this->setNewBEDesign(); shoulb be moved after the classwide definition $this->docLarge.

function initDefaultBEmode()    {
global $BE_USER;
$this->prependFormFieldNames = ‘data’;
$this->formName = ‘editform’;
– $this->setNewBEDesign();
$this->docLarge = $BE_USER->uc[‘edit_wideDocument’] ? 1 : 0;
+ $this->setNewBEDesign();
$this->edit_showFieldHelp = $BE_USER->uc[‘edit_showFieldHelp’];
    $this->edit_docModuleUpload = $BE_USER->uc[‘edit_docModuleUpload’];
$this->titleLen = $BE_USER->uc[‘titleLen’]; // @deprecated
    $this->inline->init($this);
}

Many thanks to Michael Stucki for giving hints to my last report.

Greetings

(issue imported from #M7422)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.