Page 1 of 1

Adding Favicon & Header

Posted: Fri May 25, 2012 12:00 pm
by ghooke
I am trying to add a favicon and a header graphic into my help desk design.

I have done the following process.

I open the header.txt file and added the favicon.ico as follows:

<link rel="shortcut icon" href="/img/favicon.ico" />


I uploaded the favicon.ico image to the hesk/img folder


And for the Header graphic

For the header I opened the header.txt file and added link to the header

<center><img
src="http://www.formula1lottosystem.com/supp ... "></center>

I uploaded the header graphic


You can see here the result: http://www.formula1lottosystem.com/support/

The header graphic shows perfectly ok, But the favicon does not..


If you look at the source code for that page you can see that the <link rel="shortcut icon" href="/img/favicon.ico" /> is being positioned in the /body section of the code.

I thought that code should be in the <head> - </head> section.

Can you tell me what I have done incorrectly

Re: Adding Favicon & Header

Posted: Fri May 25, 2012 12:55 pm
by hostwebservice.com
You need to add full url to work.

See this page: http://www.hesk.com/knowledgebase/?article=33

Marino

Re: Adding Favicon & Header

Posted: Fri May 25, 2012 3:28 pm
by steve
Thats interesting, using"img/favicon.ico" worked for me. Is there any reason why I might want change my header to use a full URL?

Re: Adding Favicon & Header

Posted: Fri May 25, 2012 4:19 pm
by Klemen
Full URLs need to be used in header/footer because customer pages and admin/staff pages are in different folders so they have different relative URLs.

"img/image.jpg" for example will work for customers, but you would need "../img/image.jpg" to show the image correctly in admin panel. However, "http://domain.com/hesk/img/image.jpg" works fine for both.

Re: Adding Favicon & Header

Posted: Fri May 25, 2012 4:26 pm
by steve
That makes sense, thanks for clarifying. Since I don't use the customer interface, I never found this to be an issue.