[FLOW3-general] Problem with setTemplatePathAndFilename
Kerstin Huppenbauer
kerstin.huppenbauer at die-digiparden.de
Mon Feb 6 16:15:04 CET 2012
Hi,
i have some templates which are used by serveral controllers.
so i created a new template-folder "Default" and put these templates
into it.
in my controller i tried to set the path to this Default-Folder through
$this->view->setTemplatePathAndFilename('pathtodefaultfolder');
But it only works if the expected templates exists in the expected
folder. otherwise i got an 404-error from the actioncontroller before
i can override the templatePath.
So, what's the best way to use something like an "Fallback"-Folder
for Templates which are used by many Controllers?
Cheers
Kerstin
More information about the FLOW3-general
mailing list