[TYPO3-mvc] Load extbase plugin with typoscript in TYPO3 6.0

Bas van der Togt b.vandertogt at profinit.com
Fri Jan 4 00:54:06 CET 2013


Hey Maba,

Thanks for your reply!
I've changed the userfunc and set the vendorname to Profinit but i still 
get the same error.

My Namespace is: Profinit\Og\Controller;

Regards,
Bas

Op 03-01-13 22:57, Marc Bastian Heinrichs schreef:
> Hey,
>
>> I've search the web allready and tried different approuches but without
>> success. I'm trying to load my extbase extension with typoscript in
>> TYPO3 6.0
>>
>>
>> My TS:
>> lib.header = USER
>> lib.header {
>>      userFunc = tx_extbase_core_bootstrap->run
>
> TYPO3\CMS\Extbase\Core\Bootstrap->run
>
>>      extensionName = Og
>>      pluginName = Header
>> }
>>
>> My ext_localconf.php:
>> \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
>>      'TYPO3.' . $_EXTKEY,
>
> 'Og' or 'Yourvendorname.Og'
>
>>      'Header',
>>      array(
>>          'Header' =>  'index',
>>      ),
>>      // non-cacheable actions
>>      array(
>>          'Header' =>  '',
>>      )
>> );
>>
>> My Classes/Controller/HeaderController.php
>
> namespace?
>
>> class HeaderController extends
>> \TYPO3\CMS\Extbase\Mvc\Controller\ActionController {
>>
>>      /**
>>       * action index
>>       *
>>       * @return void
>>       */
>>      public function indexAction() {
>>          echo 'bla';
>>      }
>>
>> }
>
> Best,
> Maba
>
>



More information about the TYPO3-project-typo3v4mvc mailing list