Wrong partial included
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!
Wrong partial included
Hello,
I have two extensions for aimeos. Both of them contain an individual partial: For a test, the partials in extensio 1 echoes "In Extension 1", the partial in extension 2 echoes "In Extension 2".
Now, I include *only* the extension 1 in include_static_files. The other extension is installed, by not included anywhere.
Nonetheless, my extension 1 is echoing the content of the partial which resides inside extension 2!
Weird! How comes?
And how can I prevent this? What is the order in which the partial files (and template files) are overridden?
I cleared all caches. For a test, I deactivated extension 2. After that, the correct partial is called.
Claudia
I have two extensions for aimeos. Both of them contain an individual partial: For a test, the partials in extensio 1 echoes "In Extension 1", the partial in extension 2 echoes "In Extension 2".
Now, I include *only* the extension 1 in include_static_files. The other extension is installed, by not included anywhere.
Nonetheless, my extension 1 is echoing the content of the partial which resides inside extension 2!
Weird! How comes?
And how can I prevent this? What is the order in which the partial files (and template files) are overridden?
I cleared all caches. For a test, I deactivated extension 2. After that, the correct partial is called.
Claudia
Re: Wrong partial included
I was able to solve my problem now by explicitely configuring the path to the partial in the setup.typoscript .
This is probably the way to go?
My question remains, though: In what order are the template/partial files included?
This is probably the way to go?
My question remains, though: In what order are the template/partial files included?
Re: Wrong partial included
The files from the extensions are used depending on the dependencies in the "depends" section of the manifest.php file of your extensions. If these are the same (it's the case for the generated ones at the Aimeos web site), than the order is random for those extensions. You can enforce an order if you let depend the second extension on the first one.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Wrong partial included
Thank you, that makes perfect sense.
I didn't yet let the second extension depend on the first one.
I didn't yet let the second extension depend on the first one.