Change client template path dynamically
Posted: 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:
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',
),