Jump to content

Recommended Posts

Posted

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.

Posted
  On 5/24/2018 at 3:52 PM, 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.

Expand  

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 ?

  • 2 years later...
  • 3 weeks later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...