[TYPO3-mvc] How to extend Felogin with Xclass (again)

Markus Klein klein.t3 at mfc-linz.at
Mon Sep 16 19:22:10 CEST 2013


Hi!

XCLASSing means you have to provide a complete copy of the original file modified by you.
It does NOT suffice to simply specify one method there, like overriding a method when extending a class.
This is the reason why XCLASSing is depracted.

Kind regards
Markus

------------------------------------------------------------
Markus Klein
TYPO3 CMS Active Contributors Team Member


> -----Original Message-----
> From: typo3-project-typo3v4mvc-bounces at lists.typo3.org [mailto:typo3-
> project-typo3v4mvc-bounces at lists.typo3.org] On Behalf Of Stefan Kruse
> Sent: Monday, September 16, 2013 6:52 PM
> To: typo3-project-typo3v4mvc at lists.typo3.org
> Subject: [TYPO3-mvc] How to extend Felogin with Xclass (again)
> 
> Hi, sorry for write again the same question but i need this very important.
> 
> 
> 
> Could someone give me a hint how to extend felogin with xclass in typo3 6.1.
> 
> 
> 
> I try it this way:
> 
> 
> 
> In my ext_localconf¨I put this:
> 
> 
> 
> $GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects']['TYPO3\\CMS\\Felogin\\C
> ontroll
> er\\FrontendLoginController] = array(
> 
>       'className' => 'WWE\\Misc\\Xclass\\Felogin'
> 
> );
> 
> 
> 
> I my extension Folder I create a Felogin.php in the
> Misc/Classes/Xclass/Felogin.php.
> 
> 
> 
> In this class I put the method I want to override. But there a no changes to
> see. What could this be?
> 
> 
> 
> Thanks
> 
> STefan
> 
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc



More information about the TYPO3-project-typo3v4mvc mailing list