Change client template path dynamically

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
AmzoooJibal
Posts: 35
Joined: 12 Mar 2021, 20:09

Change client template path dynamically

Post by AmzoooJibal » 20 Apr 2021, 13:21

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:

Code: Select all

'client/html/templates' => array(
			'client/html/templates/default',
		),
This configuration is static and worked correctlly, do you have any idea how to change the path dynamiccally in service provider ?