Does the admin panel change both theme style and template path
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!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
- ahmed31916
- Advanced
- Posts: 148
- Joined: 14 Apr 2022, 12:15
Does the admin panel change both theme style and template path
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:
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 [▶]
]
Re: Does the admin panel change both theme style and template path
Templates from that theme are then priorized too.
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
- ahmed31916
- Advanced
- Posts: 148
- Joined: 14 Apr 2022, 12:15
Re: Does the admin panel change both theme style and template path
thanks for your response.
But why it loads from the ext4, while current is ext3.
But why it loads from the ext4, while current is ext3.
Re: Does the admin panel change both theme style and template path
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, give us a star
If you like Aimeos, give us a star