Frage

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!

War es hilfreich?

Lösung

Try This One :-

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

i am sure it will work..

Andere Tipps

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

so.. the question from simplyray was perfect!

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top