CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #27169

Compatibility probem with T3 4.5 Backend Layout feature

Added by Marc Bastian Heinrichs almost 2 years ago. Updated almost 2 years ago.

Status:Resolved Start date:2011-05-31
Priority:Must have Due date:
Assignee:Michael Birchler % Done:

100%

Category:-
Target version:-
TYPO3 Version: PHP Version:
Votes: 0

Description

The colPos itemsProcFunc overwrites the default itemsProcFunc to build the
columns dynamically for the backend layout feature introduced in version 4.5

History

Updated by Marc Bastian Heinrichs almost 2 years ago

I've created a small wrapper extension

class.tx_strgbmulticolumnfix_wrapper.php

<?php

class tx_strgbmulticolumnfix_wrapper {

    public function colPosListItemProcFunc(&$params, &$pObj) {
        $config = $params['config'];
        if (is_array($config['functions'])) {
            foreach ($config['functions'] as $functionToCall) {
                t3lib_div::callUserFunction($functionToCall, $params, $pObj);
            }
        }
    }
}

?>

ext_tables.php

t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['columns']['colPos']['config']['itemsProcFunc'] = 'tx_strgbmulticolumnfix_wrapper->colPosListItemProcFunc';
$TCA['tt_content']['columns']['colPos']['config']['functions']['core'] = 'EXT:cms/classes/class.tx_cms_backendlayout.php:tx_cms_BackendLayout->colPosListItemProcFunc';
$TCA['tt_content']['columns']['colPos']['config']['functions']['multicolumn'] = 'tx_multicolumn_tceform->init';

Updated by Michael Birchler almost 2 years ago

  • Status changed from New to Accepted
  • Priority changed from Should have to Must have

Updated by Michael Birchler almost 2 years ago

  • Assignee set to Michael Birchler
  • % Done changed from 0 to 100

Updated by Michael Birchler almost 2 years ago

  • Status changed from Accepted to Resolved

Also available in: Atom PDF