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
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.
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
ViroManchego Posted March 27, 2021 Report Posted March 27, 2021 Hy. Any update on this feature ? I'm intrested too Blesta Addons 1
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
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now