1
votes

Directory Structure :

Directory Structure

Class ProductControl extends Controller{
   readAction(){ 
   }
}

So, it will be show the volt view in Directory Product : read.volt, but it still include index.volt in root View.

How can i not include the views/index.volt, but only include views/product/read.volt ?

1

1 Answers

3
votes

$this->view->disableLevel(View::LEVEL_MAIN_LAYOUT); in your action