Access Aimeos orders in my extension
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Access Aimeos orders in my extension
Hi,
I want to access orders placed by an user in my extension.
I have done the following:
added to ext_localconf.php
copied /aimeos/Resources/Private/Config to my extension
And then
class SaleController extends \Aimeos\Aimeos\Controller\AbstractController {
but the actions do not output any thing. Echo/print_r works but not the fluid templates output.
What did I miss ?
regards
Vikram
I want to access orders placed by an user in my extension.
I have done the following:
added to ext_localconf.php
Code: Select all
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['aimeos']['extDirs']['1_'.$_EXTKEY] =
'EXT:' . $_EXTKEY . '/Resources/Extensions/';
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['aimeos']['confDirs']['1_'.$_EXTKEY] =
'EXT:' . $_EXTKEY . '/Resources/Private/Config/';
And then
class SaleController extends \Aimeos\Aimeos\Controller\AbstractController {
but the actions do not output any thing. Echo/print_r works but not the fluid templates output.
What did I miss ?
regards
Vikram
Re: Access Aimeos orders in my extension
I missed the TS.. after adding the TS I get the following:
Someone please suggest where can I look for some solution.
Code: Select all
Fatal error: Call to a member function assign() on a non-object
Re: Access Aimeos orders in my extension
The TYPO3 Aimeos abstract controller removes the Fluid view for performance reasons. You can re-enable it if you add this method:vikram wrote:I missed the TS.. after adding the TS I get the following:Someone please suggest where can I look for some solution.Code: Select all
Fatal error: Call to a member function assign() on a non-object
Code: Select all
protected function resolveView()
{
return \TYPO3\CMS\Extbase\Mvc\Controller\ActionController::resolveView();
}