Template override not working

Questions around the TYPO3 integration and plugins
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!
t_csaba
Posts: 25
Joined: 12 Oct 2017, 13:28

Template override not working

Post by t_csaba » 24 Jul 2019, 10:47

Hi,

I have followed this guide: https://aimeos.org/docs/Developers/Html ... _templates# , created a new extension, here: https://aimeos.org/extensions ,then created a new typo3 extension, and added the generated extension to the plugin resources. Do I need to set something else too? (already cleared caches, reinstalled the plugin, included the plugin template... I have done this few years ago, but now I'm having problems wit it)
I have attached a screenshot of my plugin hierarchy. I suppose it is something trivial, but I couldn't find the problem.

Image

typo3: 9.5.8
aimeos: 19.7.1
php: 7.2.5, Linux
Last edited by t_csaba on 25 Jul 2019, 07:46, edited 1 time in total.

User avatar
aimeos
Administrator
Posts: 7835
Joined: 01 Jan 1970, 00:00

Re: Template override not working

Post by aimeos » 24 Jul 2019, 20:08

Image of your screenshot is missing ...
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

t_csaba
Posts: 25
Joined: 12 Oct 2017, 13:28

Re: Template override not working

Post by t_csaba » 25 Jul 2019, 07:35

It is there, if you open it in a new tab, it just doesn't show up in the post. Anyway, i will add it again using a different image sharing site.
Image

User avatar
aimeos
Administrator
Posts: 7835
Joined: 01 Jan 1970, 00:00

Re: Template override not working

Post by aimeos » 25 Jul 2019, 07:46

Looks OK. Did you clear the frontend cache? You can disable caching in the Aimeos extension configuration too during development
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

t_csaba
Posts: 25
Joined: 12 Oct 2017, 13:28

Re: Template override not working

Post by t_csaba » 25 Jul 2019, 07:47

I have cleared all cache files. Even the one in the install tool

User avatar
aimeos
Administrator
Posts: 7835
Joined: 01 Jan 1970, 00:00

Re: Template override not working

Post by aimeos » 25 Jul 2019, 08:25

Two things you should check:
1.) Does the manifest.php file of your mlaimeos extension contains "ai-client-html" in the "depends" section?
2.) Is the extension path added in the ext_localconf.php file of your mlaimeosext TYPO3 extension?

Did you rename the TYPO3 extension or the Aimeos extension inside (mlaimeosext vs. mlaimeos)? This might be another source of problems. To be sure, generate a new Aimeos TYPO3 extension for your project (https://aimeos.org/extensions#c139) and copy the template into the same directory structure as in your current extension.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

t_csaba
Posts: 25
Joined: 12 Oct 2017, 13:28

Re: Template override not working

Post by t_csaba » 01 Aug 2019, 08:26

Hi,
I have generated a new extension, set everything according to the documentation, and now everything works correctly. It was probably just a typo.

Post Reply