[TYPO3-english] How to implement xclass in extbase extensions ?
PIT Solutions
typo3 at pitsolutions.com
Wed Jun 12 13:31:42 CEST 2013
Hi Kay,
I want to implement some additional features by using xclass. Generally I need to know how to implement this.
If possible, could you please explain me how to add this with the given example ?
With Regards,
Arun
Hi Arun,
what do you want to achieve with the xclass?
normally it should be possible to avoid xclassing in extbase :D
Regards
Kay
Am 12.06.13 12:28, schrieb PIT Solutions:
> Hi All,
>
> I want to implement xclass with an extbase extension (felogin (typo3 6.0)). I am using typo3 version 6.1.0.
> For this I've created a new extension (extn key : new_felogin) by using extension builder.
>
> The felogin extension contains a class file which has a namespace.
>
> namespace TYPO3\CMS\Felogin\Controller;
> class FrontendLoginController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
> }
>
> My extension also have a class file which contains a namespace.
>
> namespace TYPO3\NewFelogin\Controller;
> class NewfeloginController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
> }
>
> So how can I implement the xclass in my extension without using typoscript. I got some references which mentioned about this.
> According to that, I've added the following code in my extension's "ext_localconf.php" file.
>
> $GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects']['TYPO3\CMS\Frontend\Plugin\AbstractPlugin'] = array(
> 'className' => 'TYPO3\NewFelogin\Controller\NewfeloginController',
> );
>
> But its not working.
>
> So if you anybody know about this, please help me. I want to know about how to implement xclass in extbase extensions.
>
> Thanks in advance,
> Arun Chandran
>
--
http://www.kay-strobach.de - Open Source Rocks
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
Answer was useful - feel free to donate:
-
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KPM9NAV73VDF2
- https://flattr.com/profile/kaystrobach
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list