[TYPO3-english] Felogin xclass not working in Typo3 6.2beta5

Xavier Perseguers xavier at typo3.org
Mon Mar 17 09:17:44 CET 2014


Hi Arun,

> Thanks. But its not working for me. I've some clarifications;
> 
> $GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects']['TYPO3\\CMS\\Felogin\\Controller\\FrontendLoginController']
> = array(
>     'className' => 'Causal\\MyExtension\\Xclass\\FrontendLoginController',
> );
> 
> 
> What you mean by "'Causal" ? And actual path of the file is  "MyExtension/Classes/Xclass/FrontendLoginController.php" ? Please clarify.

That's my company name, when using namespaces in TYPO3 6.x you need a
first segment as your name:

namespace YourName\YourExtensionKey\Whatever;

class Something {

}

Stored as EXT:yourExtensionKey/Classes/Whatever/Something.php

> And also I've added the code;
> 
> $GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects']['tx_felogin_pi1'] =
> $GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects']['TYPO3\\CMS\\Felogin\\Controller\\FrontendLoginController'];
> 
> 
> But its not working. I've cleared all the cache but not working;

Then no idea, sorry (but as you seem to have missed the "Name/Company"
Segment, this may be the cause).

Xavier

-- 
Xavier Perseguers
TYPO3 CMS Team Member

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org



More information about the TYPO3-english mailing list