Does the admin panel change both theme style and template path

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
ahmed31916
Advanced
Posts: 148
Joined: 14 Apr 2022, 12:15

Does the admin panel change both theme style and template path

Post by ahmed31916 » 14 May 2022, 02:55

Hello,

Does when I change the theme from the admin panel, only the theme path changes (I mean the style files), or does it also change the template path and views of this extension theme?

For me, it just change the theme style, and take the templates of ext4 why?

this is the list of Template Paths of my project:

Code: Select all

^ array:9 [▼
  "C:\xampp\htdocs\myproject\vendor\aimeos\ai-client-html" => array:1 [▶]
  "C:\xampp\htdocs\myproject\vendor\aimeos\ai-cms-grapesjs" => array:1 [▶]
  "C:\xampp\htdocs\myproject\packages\ext1" => array:1 [▶]
  "C:\xampp\htdocs\myproject\packages\ext2" => array:1 [▶]
  "C:\xampp\htdocs\myproject\packages\ext3" => array:1 [▶]
  "C:\xampp\htdocs\myproject\packages\ext4" => array:1 [▶]
  ]

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

Re: Does the admin panel change both theme style and template path

Post by aimeos » 15 May 2022, 06:50

Templates from that theme are then priorized too.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
ahmed31916
Advanced
Posts: 148
Joined: 14 Apr 2022, 12:15

Re: Does the admin panel change both theme style and template path

Post by ahmed31916 » 15 May 2022, 06:55

thanks for your response.
But why it loads from the ext4, while current is ext3.

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

Re: Does the admin panel change both theme style and template path

Post by aimeos » 15 May 2022, 06:58

If you overwrite a template in ext4 which is not present in ext3, than the one from ext4 will be used instead of the default one due to the fallback chain.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply