[TYPO3-core] RFC: #7121: index_ts.php concerning frontend editing

Tapio Markula tapio.markula at xetpoint.fi
Sun Jan 13 13:15:50 CET 2008


Hi,

this is a SVN patch request.

Type: Bugfix/Feature (depends on the opinion)

Branches: 4.1, Trunk

Bugtracker Reference: http://bugs.typo3.org/view.php?id=7121

\cms\tslib\index_ts.php concerning frontend editing.

older versions frontend editing sfuff wa here

             $BE_USER->extInitFeAdmin();
             if ($BE_USER->extAdmEnabled) {
// frontend editing here


in new file later

// *****************************************
// Frontend editing
// *****************************************
if ($TSFE->beUserLogin && $BE_USER->extAdmEnabled) {




The change violates pluging pixe_feediting and presumably mk_tvfronend,
which calls templavoila api function this way:

$sourcePointerString = $this->TSFE_EDIT['flexformPointer'];
                         $sourcePointer = 
$this->flexform_getPointerFromString ($sourcePointerString);
                         $apiClassName = 
t3lib_div::makeInstanceClassName('tx_templavoila_api');
                         $TVObj = new $apiClassName 
($sourcePointer['table']);


Calling of api function doesn't work as expected - works after reloading 
page.

file cms\tslib\index_ts.php from Typo3 4.1.1 solved the problem.
Frontend editing related stuff must be handled in the place, where
they are handled in Typo3 4.1.2 or older.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: index_ts.patch
Type: text/x-diff
Size: 5591 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080113/05730f17/attachment.patch 


More information about the TYPO3-team-core mailing list