Page 1 of 1

TAB ICON

Posted: 24 Aug 2016, 18:57
by leacardenas
Hello,

I have bought the Modena Template for primefaces. But I have a little issue.

I cannot add a favicon to the tab. I have tried with several codes and none of them work. I have search for help but nothing seems to work.

For Example:

<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico" library="modena-layout"/>

Please if someone knows how to, can lend me a hand.

Regards

Re: TAB ICON

Posted: 29 Aug 2016, 08:48
by mert.sincan
<link> tag doesn't have library attribute; http://www.w3schools.com/tags/tag_link.asp

Exp;
in template.xhtml

Code: Select all

<h:head>
    <f:facet name="first">
        ...
        <link rel="shortcut icon" type="image/png" href="#{request.contextPath}/resources/main/images/favicon.png" />
    </f:facet>
    ....
</h:head>
Path: primefaces-showcase(project) > src > main > webapp > resources > main > images > favicon.png