Change client template path dynamically
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!
- AmzoooJibal
- Posts: 35
- Joined: 12 Mar 2021, 20:09
Change client template path dynamically
Hello,
i have create a new extension with the extension generator, in the client side i need to change the path to the client html template dynamically for each siteId.
so i have found the path is configured in the manifest.php of my extension and change it like this:
This configuration is static and worked correctlly, do you have any idea how to change the path dynamiccally in service provider ?
i have create a new extension with the extension generator, in the client side i need to change the path to the client html template dynamically for each siteId.
so i have found the path is configured in the manifest.php of my extension and change it like this:
Code: Select all
'client/html/templates' => array(
'client/html/templates/default',
),