Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- myproject.Package/config/default.php
- $template = require '../package/Aura.View/scripts/instance.php';
- $finder = $template->getTemplateFinder();
- // set the paths where templates can be found
- $finder->setPaths([
- 'mypath',
- ]);
- My template is there => myproject.Package/src/myproject/Package/Template/default.php
- In my controller ( myproject.Package/src/myproject/Package/Web/Home/HomePage.php )
- => $this->layout = 'default.php';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement