I created a zend project on ubuntu, which is located in the / var / www / student / directory .
Now I have a head.phtml file in this place:
/student/application/views/scripts/index/head.phtml
When I try to include the head.phtml file in
/student/application/modules/test/views/scripts/all/index.phtml
Like this:
echo $this->partial('index/head.phtml');
This gives me the following error:
Message: script 'index/head.phtml' not found in path (/var/www/student/application/modules/notification/views/scripts/)
Including files is always a difficult task for me. How to fix it. I have to include this file in many modules, and then, what is the permanent solution for this, I must not guess the path
thank
source
share