Blesta Addons Posted May 23, 2018 Report Posted May 23, 2018 is there a way to override the theme directory from a plugin? in preAction ? Michael 1 Quote
Jono Posted May 24, 2018 Report Posted May 24, 2018 It would be in the preaction. The order_controller.php and order_form_controller.php files from the order plugin I think may have an example of something like this if I'm understanding rightly what you want to do. Quote
Blesta Addons Posted May 24, 2018 Author Report Posted May 24, 2018 7 hours ago, Jono said: It would be in the preaction. The order_controller.php and order_form_controller.php files from the order plugin I think may have an example of something like this if I'm understanding rightly what you want to do. Thanks @Jono. you are talking about the view in the plugins. i'm referring to view in the client area . sample example . i have two theme folders, bootstrap and bootsrap1 . i want for client group X use the boostrap1 , and for client group Y use the bootstrap . i know the template folder is saved in the company settings called 'client_view_dir' . i have made a dirty way to update the client_view_dir from preAction event, but it appear that the event trigger for PreAction called after the setDefaultView() function . any other way ? Michael 1 Quote
ViroManchego Posted March 27, 2021 Report Posted March 27, 2021 Hy. Any update on this feature ? I'm intrested too Blesta Addons 1 Quote
Blesta Addons Posted April 12, 2021 Author Report Posted April 12, 2021 On 3/27/2021 at 9:53 PM, ViroManchego said: Hy. Any update on this feature ? I'm intrested too after two year, a vote for my request Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.