[TYPO3] pixe_feediting conflicts with tt_news?

Brian Bendtsen nightowl at galnet.dk
Fri Nov 16 13:10:51 CET 2007


Tapio Markula skrev:
> Brian Bendtsen
>>> sorry but I don't figure how that could relate with pixe_feediting
>> I know, it makes no sence.
> 
> Pixe_feediting handled TCA but that should not have any effect for 
> backend editing.
> 
> I have used a hook for TCA
> 
> function getMainFields_preProcess($table,$row,$thisVar) {
>         global $TCA,$BE_USER;
>         $this->modTSconfig=$thisVar->modTSconfig;
>         $this->PageTSConfig=$thisVar->PageTSConfig;
>      
> $formOnPageConf=$GLOBALS['TSFE']->tmpl->setup[$table.'.']['stdWrap.']['editPanel.']; 
> 
>        
>         // these configurations concerns only 'EDITPANEL' objects - edit 
> icons use default system + a funtion to reset some TCA, when used Forms 
> on page editing mode       
>         if(t3lib_div::_GP('TSFE_EDIT') && 
> $BE_USER->uc['TSFE_adminConfig']['edit_editFormsOnPage']) {
> 
> reading should be stopped to the condition and it should not affect 
> anything for the backend editing.
> 
> there is some TCA for setting images in 'ext_tables.php', if skin_grey_2 
> has been installed (before) pixe_feediting.
Ok, if I just tried removing these lines:

	if(t3lib_extMgm::isLoaded('tt_news')) {
	 
$TCA['tt_news']['columns']['ext_url']['config']['wizards']['link']['icon']=$temp_eP_icons.'link_popup.gif';
	 
$TCA['tt_news']['columns']['category']['config']['wizards']['edit']['icon']=$temp_eP_icons.'edit2.gif';
	 
$TCA['tt_news']['columns']['parent_category']['config']['wizards']['list']['icon']=$temp_eP_icons.'list.gif';
		}

in the ext_tables.php and that helped, now I can edit my news records. 
Does that mean anything to you?

/Brian


More information about the TYPO3-english mailing list