Partial bug if view have expand .twig and base url
array( '.twig' => 'Phalcon\Mvc\View\Engine\Twig', '.phtml' => 'Phalcon\Mvc\View\Engine\Php' )
Use: $view->partial($partialPath); if view have expand phtml works ok, if twig return is empy.
the partial doesn't need to include the .twig extension, are you passing that in $partialPath
Yes, im use only partial('catalogName / nameFile'), im change expand in files.
Patch is certainly correct (if the change expands [files no patch in partial] starts to work ). The same problem occurs when the cache, cache is empty. :/
'm currently using the cache built into the twig and function include(), it would be nice, however, that it started to work properly and do not have to use these to get around.
I added a fix for this in 0.9.0 stable, could you try with this version?
{{ partial('templates/top') }} is fixed.
Thx