[TYPO3-core] RFC Bug #10597: Admin panel is not available anymore when extension fe_edit is not installed
Jeff Segars
jsegars at alumni.rice.edu
Wed May 6 18:26:54 CEST 2009
Oliver Hader wrote:
> This is an SVN patch request.
>
> Type: Bugfix
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=10597
>
> Branch: Trunk
>
> Problem:
> When the extension fe_edit (extracted functionality of frontend to
> separate system extension) is not installed the admin panel
> (config.admPanel=1) is not displayed anymore.
>
> The admin panel should work without frontend editing since the admin
> panel is not only about content editing - but more about general
> information of the current page rendering.
>
> Solution:
> Move the adminpanel from the system extension "fe_edit" to
> t3lib/class.t3lib_adminpanel.php. Furthermore move parts of the frontend
> editing to the new class since actually that is the correct place.
>
> *Notes*:
> How to use the patch
> 1) svn mv typo3/sysext/fe_edit/view/class.tx_feedit_adminpanel.php
> t3lib/class.t3lib_adminpanel.php
> 2) apply the attached patch
>
> olly
>
Olly,
I'm not having any luck applying this patch. Probably means I'm doing
something wrong, but I"m not sure what.
> [jsegars:typo3_src] patch -p0 < ~/Sites/typo3_src/patches/0010597_v3.patch
> patching file t3lib/class.t3lib_frontendedit.php
> patching file t3lib/class.t3lib_tsfebeuserauth.php
> patching file t3lib/class.t3lib_adminpanel.php
> Hunk #2 FAILED at 45.
> 1 out of 2 hunks FAILED -- saving rejects to file t3lib/class.t3lib_adminpanel.php.rej
> missing header for unified diff at line 596 of patch
> can't find file to patch at input line 596
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> | * @return string HTML for the Admin Panel
> --------------------------
> File to patch: t3lib/class.t3lib_adminpanel.php
> patching file t3lib/class.t3lib_adminpanel.php
> patching file typo3/sysext/cms/tslib/index_ts.php
> patching file typo3/sysext/fe_edit/ext_localconf.php
Has anyone else been able to apply the patch successfully?
Thanks,
Jeff
More information about the TYPO3-team-core
mailing list