'Twas brillig, and monk.e.boy at 28/05/09 16:33 did gyre and gimble:
Hey,

  In my views I use a common pagination style across all my modules like
this:

<?= $this->paginationControl($this->paginator, 'Sliding',
'../../../views/scripts/partials/pagination.phtml'); ?>

Changing it to this:

/var/www/ZF-apps/views/scripts/partials/pagination.phtml

does not work - I get a not found in path error. How do I make this change?
How do you guys share a single pagination.phtml across all modules?

While Vadim's solution is the most elegant, you could do the old
dirname(__FILE__).'/../../../views....' trick.

Col

--

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mandriva Linux Contributor [http://www.mandriva.com/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]

Reply via email to