These are chat archives for ppi/framework

25th
Jan 2016
Ross Moroney
@code-ph0y
Jan 25 2016 20:00
hey guys
does anyone know about creating a base.html.php within a module itself?
Paul Dragoonis
@dragoonis
Jan 25 2016 20:01
Yes. MAke the file and extend it
Ross Moroney
@code-ph0y
Jan 25 2016 20:02
where would you put that in the module file stucture?
Paul Dragoonis
@dragoonis
Jan 25 2016 20:02
In your views dir
Ross Moroney
@code-ph0y
Jan 25 2016 20:03
and do you extend it like .... $view->extend('ModuleName:folder:viewfile'); ?
Paul Dragoonis
@dragoonis
Jan 25 2016 20:04
Yes
Ross Moroney
@code-ph0y
Jan 25 2016 20:04
thanks!
Paul Dragoonis
@dragoonis
Jan 25 2016 20:04
Youre using symfony views. Check their docs for referebce
Ross Moroney
@code-ph0y
Jan 25 2016 20:05
yeah i didn't know about the module views but :P