Page 1 of 1

[CLOSED] Replace template Aimeos 2019.07

Posted: 05 Jul 2019, 09:27
by lucadambros
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"