[TYPO3-dev] Width of titles in Web > List view
Michael Miousse
michael.miousse at infoglobe.ca
Fri Sep 19 14:26:35 CEST 2008
Steffen Kamper wrote:
> Tapio Markula schrieb:
>> Hi
>>
>> I didn't figure, where the width of the title in Web > List view has
>> been defined. I would like to alter the cropping value.
>
> its hardcoded in source (unfortunally)
> look for fixedL in t3lib_recordlist
>
> vg Steffen
here is some code for an xclass to set the len by page tsconfig
/**
* @author Infoglobe - Pierre Boivin <pierre.boivin at infoglobe.ca>
* @package TYPO3
*/
class ux_localRecordList extends localRecordList {
function __construct() {
$idPage = t3lib_div::_GP('id');
$tsConfig = t3lib_BEfunc::getPagesTSconfig($idPage);
$this->fixedL = isset($tsConfig['backend.']['list.']['fixedL']) ?
$tsConfig['backend.']['list.']['fixedL'] : 30;
}
}
--
Michael Miousse
Infoglobe
michael.miousse at infoglobe.ca
More information about the TYPO3-dev
mailing list