favicon disappears

Permalink
On this page: saintstephenofhungary.net/links (which is under construction, just in case you wondered) click any one of the blank buttons on the top of the page and watch my favicon disappear.

Any idea why this could be? Any contributions are very appreciated.

Thank you,

James

jamesfinn
 
CC3381 replied on at Permalink Reply
CC3381
I opened up firebug and seen that your href link is bad. It links to the files directory. It should link directly to the favicon file itself. Just in case you do not want to hardcode your favicon. Check out this quick how-to. You can use the concrete5 interface to add your favicon.


Danny

http://www.concrete5.org/documentation/how-tos/editors/how-to-add-a...
jamesfinn replied on at Permalink Reply
jamesfinn
Thanks for your reply, Danny. However, I did upload the .ico file through the dashboard interface. Seeing as how this is not working for me, would option 2 be to upload the file directly to the server? If that is the case, how then would i go about instructing concrete as to the location of the file?
CC3381 replied on at Permalink Reply
CC3381
You would need to add it to your header.php file. Are you using a custom theme. Tell me what theme you are using and I can point you in the right direction. If that fails you can PM me login information and I can see why the favicon interface is failing.

Danny
jamesfinn replied on at Permalink Reply
jamesfinn
Default theme: Greek Yogurt, concrete5.5.1
CC3381 replied on at Permalink Reply
CC3381
Add this to the header.php file. Make sure to change the file name to match your favicon. You will need to ftp into your server and add the favicon to Greek Yogurt's images directory and update your header.php file.

<!-- Site Header Content //-->
<link rel="icon" href="<?php  echo $this->getThemePath(); ?>/images/yourfilesname" type="image/x-icon">
</head>


Danny
jamesfinn replied on at Permalink Reply
jamesfinn
I have just noticed that throughout my site, the address bar ALWAYS reads without the "www." prefix and that is when the favicon works fine. When you visit the "links" (/links) page, however, and proceed to click on one of the buttons (a-names linked to page sections)at the top of the page , the url within the address bar now reads with the "www." prefix added, and my favicon simultaneously disappears. These two events appear to be connected.

When entering url info to link an image using the image block, the link does not work unless you enter it in as a full url: "http://www.", etc.
malthoff replied on at Permalink Reply
malthoff
I'm using C5 5.5 now and when I upload the favicon via C5 interface it says: Saved. and the icon appears in the url bar of the browser. BUT: when i logout the favicon disappears. I checked the file permissions and set it to 777 on favicon.ico - not working. Any thoughts?