I have some modules and I'd like to share my view-partial pagination HTML
between them:
app/
my_module/
views/
scripts/
partials/ <-- partials for my module
views/
scripts/
partials/ <-- partials common to all modules
>From inside my module view I have to do this:
<?= $this->paginationControl($this->paginator, 'Sliding',
'../../../views/scripts/partials/pagination.phtml'); ?>
My initial thought was to add /views/scripts/partials/ to the include path,
but.... partials aren't "included".
Am I being dumb? ;-)
monk.e.boy
--
View this message in context: http://www.nabble.com/Partials-and-paths-tp23332881p23332881.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论