Jump to content

bahsite

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by bahsite

  1. 8 hours ago, Tyson said:

    In your controller, probably the parent controller, set the custom view directory in preAction:

    
    $dir = 'custom_theme';
    $this->view->view = $dir;
    $this->structure->view = $dir;

     

    Thanks for your answer, Tyson.

    I forgot to say I'm not a coder. I can read PHP but I'm lost dealing with object oriented programming.

    Please, could you tell me where to paste that simple code?

  2. Hi,

    I was trying to figure out how to create custom plugin views without success.

    The only way I found to edit plugin templates is hardcoding core plugin views files at /plugins/plugin_name/views/default/

    Is there any way to create my own custom views at /plugins/plugin_name/views/custom_theme/ ?

    Thanks for your support

×
×
  • Create New...