Answer the question
In order to leave comments, you need to log in
Zend and correct paths in layout?
Created a "header" layer. In it, the path to the images looks like this:
src="images/logo.png"
If I access the index action, i.e. localhost/users/ then everything is fine. As soon as you add your own action, and refer to it, then the pictures disappear.
Example - localhost/users/add/
I tried to write src="<?this->baseUrl()?>/images/logo.png", of course it helps, but now I can't attribute it to every picture.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question