I have a problem getting the

<link ...> 

tag to be added to html code in output. The problem is, that the link tag never shows up (false paths are irrelevant, I need the tag first). I added all variations of

$this->headLink()->headLink(array....); 

that you can find by google for this topic. I think that I have a problem of understanding how and where the ZF php-code has to be added. I am really stuck with this. I added it in bootstrap, in controller, in view, in form... A var_dump shows that the array field is added (when no error occurs), but it has no effect for html output.

Any hints or help would be very great!

有帮助吗?

解决方案

Try This One :-

<?php echo'<LINK REL="SHORTCUT ICON"  href="'.$this->baseUrl("/images/Favicon.ico").'"/>' ?>

i am sure it will work..

其他提示

my fail was, not to edit the application/layouts/layout.phtml

so.. the question from simplyray was perfect!

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top