[CLOSED] Replace template Aimeos 2019.07

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
lucadambros
Posts: 44
Joined: 24 Jun 2019, 14:46

[CLOSED] Replace template Aimeos 2019.07

Post by lucadambros » 05 Jul 2019, 09:27

Hi,
I'm using Aimeos 2019.07 with Mac OS.
I'm trying to replace a partial template

Code: Select all

 ext/ai-client-html/client/html/templates/catalog/detail/body-standard.php 
In the old version, I created the same path in my extension:

Code: Select all

 ext/my-ext/client/html/templates/catalog/detail/body-standard.php 
and that worked but in the new version I am getting:

Code: Select all

Template not available: client/html/templates/catalog/detail/seen-partial-standard.php
I don't want to recreate all the files related to the template. How do I solve this problem?

Also: why the navbar comes without the login/register buttons?


I installed aimeos 2019.07 from scratch


EDIT: SOLVED

if the old version is:

Code: Select all

 $this->config( 'client/html/common/partials/selection', 'common/partials/selection-standard.php' ), 
the new one will be:

Code: Select all

 $this->config( 'client/html/common/partials/selection', 'common/partials/selection-standard' ), 
You have just to remove ".PHP"