Hi,

most likely a path issue. Be sure to always use paths relative to the
public folder of your ZF app (i.e., yourdomain.com/your_zf_app/), and
always prepend the base URL of said folder to your paths. Most people
I know have used a simple-to-write BaseUrl view helper that pulls the
base url from your request object.

If you need further assistance, please also show some example code
(from your layout view script), since my crystal ball is currently
bein repaired.

Best regards,
Tobias

2009/1/29 lkimme <l.kimmel...@gmail.com>:
>
> My layout.phtml file works fine if I try to render from a
> controller/indexAction function, but when I try to display from a
> controller/non-indexAction function the css files and image files that I
> link to all fail.
>
> I am including files in my controller/init() method like this:
>
>        $response->insert('header', $this->view->render('header.phtml'));
>
> Again, it works fine in the controller/indexAction function,  but not in the
> controller/non-indexAction function.
>
> Thanks for any help.
> --
> View this message in context: 
> http://www.nabble.com/Zend-Layout-problem-with-sub-actions-tp21734622p21734622.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>

Reply via email to