New extension
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 10
- Joined: 10 May 2021, 05:35
New extension
I created a new extension. Now I want for example to have access to some variables from "ext/myextname/client/html/template/home" like
$products = $this->homeTree->getRefItems( 'product', null, 'promotion' ).
I tried but I get the error:
Undefined property: Facade\Ignition\Views\Engines\CompilerEngine::$homeTree.
please help me.
(If there is a well documented book with examples to create a new extension and adapt all pages and more. please let me know, I can try to pay )
$products = $this->homeTree->getRefItems( 'product', null, 'promotion' ).
I tried but I get the error:
Undefined property: Facade\Ignition\Views\Engines\CompilerEngine::$homeTree.
please help me.
(If there is a well documented book with examples to create a new extension and adapt all pages and more. please let me know, I can try to pay )
-
- Posts: 10
- Joined: 10 May 2021, 05:35
Re: New extension
I thank you for your answer. I will do as you suggested