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
Adding Favicon & Header
Moderator: mkoch227
-
- Posts: 45
- Joined: Mon Dec 18, 2006 3:20 pm
Re: Adding Favicon & Header
You need to add full url to work.
See this page: http://www.hesk.com/knowledgebase/?article=33
Marino
See this page: http://www.hesk.com/knowledgebase/?article=33
Marino
Re: Adding Favicon & Header
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?
-Steve
Re: Adding Favicon & Header
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.
"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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: Adding Favicon & Header
That makes sense, thanks for clarifying. Since I don't use the customer interface, I never found this to be an issue.
-Steve