Add partials path

1 message Options
Embed this post
Permalink
takeshin

Add partials path

Reply Threaded More More options
Print post
Permalink
(This post was updated on )
I place my global partial scripts in /views/scripts/partials/
then I use $this->partial('partials/partialname.phtml');

or:

I place my global partial scripts in /views/scripts/
then I use $this->partial('partialname.phtml');



I want to skip directory name, so I could use:
$this->partial('partialname.phtml');
for partials stored in /view/scripts/partials/

How to configure paths then?

--
regards
takeshin