2008-08-16, 08:07 AM
Pages: 1 2
2008-08-16, 08:09 AM
Yes, go into the templates for each theme, edit the Header theme.
Insert this into it:
Insert this into it:
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
Replacing "favicon" with the filename of the icon for each.2008-08-16, 08:17 AM
Add it to where? And where do I upload the image? And does it have to have the file extension ".ico"
2008-08-16, 08:28 AM
(2008-08-16, 08:17 AM)Santomartino Wrote: [ -> ]Add it to where?I don't know that one.
(2008-08-16, 08:17 AM)Santomartino Wrote: [ -> ]And where do I upload the image?To the root of your site if you want it displayed globally (on all pages). To some image directory if you have a bunch. If you have a file labeled "favicon.ico" in root, it will display globally. Any other file name will not show an icon unless you put code in the page to make it display.
(2008-08-16, 08:17 AM)Santomartino Wrote: [ -> ]And does it have to have the file extension ".ico"I think so. It's basically a variant of a BMP. You can find programs that will convert any image to an .ico.
2009-03-05, 10:27 PM
(2008-08-16, 08:07 AM)Santomartino Wrote: [ -> ]Is there any way I can change the browser icon and can I set it to change depending on which theme the user has running?
(2008-08-16, 08:09 AM)advil0 Wrote: [ -> ]Yes, go into the templates for each theme, edit the Header theme.
Insert this into it:
Replacing "favicon" with the filename of the icon for each.<link rel="icon" href="favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
(2008-08-16, 08:17 AM)Santomartino Wrote: [ -> ]Add it to where? And where do I upload the image? And does it have to have the file extension ".ico"
I keep trying to do this.. to no avail. Seems like there's some information missing here. Like, where to add the code. I've already uploaded the 'favicon.ico' to the root directory... but it's not working. HELP!! Any suggestions?
2009-03-05, 10:32 PM
Just add the code mentioned to the headerinclude template.
2009-03-05, 10:58 PM
Can't you just upload the favicon.ico to your root? I didn't do any template edits and it's working just fine for me..
2009-03-05, 11:01 PM
Here's the first few lines of my 'header' code, still not working.
<div id="container"> <a name="top" id="top"></a> <div id="header"><link rel="icon" href="favicon.ico" type="image/x-icon"><link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> <div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div> <div class="menu"> <ul>
<div id="container"> <a name="top" id="top"></a> <div id="header"><link rel="icon" href="favicon.ico" type="image/x-icon"><link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> <div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div> <div class="menu"> <ul>
2009-03-05, 11:06 PM
I said the headerinclude template. It's in the ungrouped templates set.
@11PM Normally you can, but some browsers won't pick it up, or take ages to pick it up.
@11PM Normally you can, but some browsers won't pick it up, or take ages to pick it up.
2009-03-05, 11:07 PM
(2009-03-05, 10:58 PM)11PM Wrote: [ -> ]Can't you just upload the favicon.ico to your root? I didn't do any template edits and it's working just fine for me..
I already did that.
(2009-03-05, 11:06 PM)MattRogowski Wrote: [ -> ]I said the headerinclude template. It's in the ungrouped templates set.
@11PM Normally you can, but some browsers won't pick it up, or take ages to pick it up.
Ahhhh.... sorry about that, extreme newbie here. I shall try that then and let you know. Thanks.
It worked... thanks Matt for your patience and help! It is appreciated mucho!
Pages: 1 2