I've got something like this for my directory structure inside a module:
Api
├── Module.php
├── config
│ └── module.config.php
├── src
│ └── ( ..etc ..)
└── view
├── api
│ └── api
│ └── index.phtml
└── partial
└── test.phtml
Then, I'm doing this:
<?= $this->partial('partial/test.pthml', array()); ?>
However, I get:
05-Jun-2012 14:56:58] PHP Fatal error: Uncaught exception 'Zend\View\Exception\RuntimeException' with message 'Zend\View\Renderer\PhpRenderer::render: Unable to render template "partial/test.pthml"; resolver could not resolve to a file' in /Users/jeff/web/n/vendor/zendframework/zendframework/library/Zend/View/Renderer/PhpRenderer.php:463
Where should my partials go?
'template_path_stack' => array('user' => __DIR__ . '/../view')
added to yourmodule.config.php
file and you should be good. – Chris O'Connell