New extension

How to configure and adapt Aimeos based shops as developer
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!
JackDarkWeb
Posts: 10
Joined: 10 May 2021, 05:35

New extension

Post by JackDarkWeb » 23 May 2021, 15:46

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 )

JackDarkWeb
Posts: 10
Joined: 10 May 2021, 05:35

Re: New extension

Post by JackDarkWeb » 26 May 2021, 22:02

I thank you for your answer. I will do as you suggested

Post Reply