Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 23, 2012, 06:08:51 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
155438
Posts in
21702
Topics by
7755
Members
Latest Member:
Smacki
WebsiteBaker Community Forum
English
Help & Support
(Moderators:
Argos
,
badknight
)
favicon.ico in browser in WB?
Pages: [
1
]
Go Down
Author
Topic: favicon.ico in browser in WB? (Read 3308 times)
Ogierini
Offline
Posts: 276
favicon.ico in browser in WB?
«
on:
July 28, 2008, 08:25:25 PM »
Hi there,
Can anyone tell me if it is possible to show the favicon.ico in browser in WB?
In the html file it workedhtt p://www.evidenttraining.nl/
in the index.php i pasted the link as well in the head area: <link rel="shortcut icon" href="favico.ico">
but the icon doesn't show.
Doesn't it in php? Forgive me than my stupid question,
greetz Irene
Logged
Kind regards,Irene
BerndJM
Offline
Posts: 1764
Re: favicon.ico in browser in WB?
«
Reply #1 on:
July 28, 2008, 08:33:52 PM »
Hi,
if you mean the index.php from your template and the favicon resists in youe templates folder it should work.
Regards Bernd
Logged
In theory, there is no difference between theory and practice. But, in practice, there is.
marathoner
Offline
Posts: 495
Re: favicon.ico in browser in WB?
«
Reply #2 on:
July 29, 2008, 02:48:53 AM »
Most popular browsers will find the file in your web root directory. My favicon.ico file resides in the domain web root on several different domains and works just fine. In fact, I don't even <link> statement (but I suppose I probably should).
Take a look at all of these sites...FF and IE both display the favicon.ico file that I have the web root directory:
http://www.columbusroadrunners.org/
http://www.mohican100.org/
http://www.secondsoletotalsports.com/
Logged
Ogierini
Offline
Posts: 276
Re: favicon.ico in browser in WB?
«
Reply #3 on:
July 29, 2008, 06:24:20 AM »
'favicon resists in youe templates folder it should work' I should place it in the template folder, o...... yes that could be the sollution. It is now in the root of the website.
From the links that you mentioned, I do'nt see the favicon's in IE but I do in Firefox. This is IE6 what I have at home. I'll take a look at my other computer, maybe they there!
greetz Irene
Logged
Kind regards,Irene
Stefek
WebsiteBaker Org e.V.
Offline
Posts: 4884
Re: favicon.ico in browser in WB?
«
Reply #4 on:
July 29, 2008, 08:59:23 AM »
Quote from: Ogierini on July 29, 2008, 06:24:20 AM
'favicon resists in youe templates folder it should work' I should place it in the template folder, o...... yes that could be the sollution. It is now in the root of the website.
Hello Origeni!
You can leave your "favicon.ico" in the root of the website and point to it from inside your template.
If you do so you are in advance when you make several templates for your WebsiteBaker installation (for example, if you use another template for the news, another one for the startpage etc.)
Just place this snippet into your template's index.php:
<link rel="Shortcut Icon" type="image/x-icon" href="<?php echo WB_URL; ?>/favicon.ico" />
This shoul work properly.
Best regards,
Stefek
Logged
"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
Bramus
Forum Team
Offline
Posts: 601
Re: favicon.ico in browser in WB?
«
Reply #5 on:
July 29, 2008, 09:20:31 AM »
Code:
<link rel="shortcut icon" type="image/x-icon" href="http://www.marcelissen.nl/favicon.ico" />
Using that in the index.php and this works good for the
www.marcelissen.nl
website.
Logged
BRAMUS Internet Services
Stefek
WebsiteBaker Org e.V.
Offline
Posts: 4884
Re: favicon.ico in browser in WB?
«
Reply #6 on:
July 29, 2008, 09:37:20 AM »
Quote from: Bramus on July 29, 2008, 09:20:31 AM
Code:
<link rel="shortcut icon" type="image/x-icon" href="http://www.marcelissen.nl/favicon.ico" />
Using that in the index.php and this works good for the
www.marcelissen.nl
website.
Yeah!
Thats quite "the same"... but won't work, if you share your template
Best Regards,
Stefek
Logged
"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
BerndJM
Offline
Posts: 1764
Re: favicon.ico in browser in WB?
«
Reply #7 on:
July 29, 2008, 02:29:37 PM »
Hi,
Quote
in IE but I do in Firefox. This is
IE6
what I have at home
IE6 and favicon this is a little "special", if you use google and search for "favicon ie6" you get more results as you like
with "why it doesn't work" and maybe also some workarounds/solutions.
So it's not a WB related problem ...
Regards Bernd
Logged
In theory, there is no difference between theory and practice. But, in practice, there is.
Ogierini
Offline
Posts: 276
Re: favicon.ico in browser in WB?
«
Reply #8 on:
July 29, 2008, 07:48:30 PM »
Goodevening,
Code:
<link rel="shortcut icon" type="image/x-icon" href="
<?php
echo
WB_URL
;
?>
/favicon.ico" />
So I tried it all, but i can't see anything: not even in firefox, which should show the icon.
I uploaded the favicon.ico in the webroot as well as in the template map:
in this case andreas00/img/favicon.ico
What could it be?
greetz Irene
«
Last Edit: July 29, 2008, 07:50:38 PM by Ogierini
»
Logged
Kind regards,Irene
vyni
Offline
Posts: 566
Re: favicon.ico in browser in WB?
«
Reply #9 on:
August 01, 2008, 05:45:25 PM »
Hi,
is the ico-file in a valid format? valid size?
Does it appear if You bookmark Your page? - Maybe it´s a question of cache? Did You delete the Explorer-cache?
Have You ever tried any other ico-file than Yours? Is it working as supposed?
regards from Himberg
Logged
PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen, ungefähr verfolgen und glauben.
Ogierini
Offline
Posts: 276
Re: favicon.ico in browser in WB?
«
Reply #10 on:
August 02, 2008, 12:34:51 PM »
Yes the icon is valid, in the html page, the index, in shows. Just in the php files, it doesn't....
In my favorites it appears with the icon because it is saved as a favourite.
But the php files I would like the favicon as well.....
Any suggestions?
greetz Irene
Logged
Kind regards,Irene
Stefek
WebsiteBaker Org e.V.
Offline
Posts: 4884
Re: favicon.ico in browser in WB?
«
Reply #11 on:
August 02, 2008, 12:56:33 PM »
Would you please email me your zippe template?
I'll give it a try.
Best regards,
Stefek
Logged
"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
jena6
Offline
Posts: 12
Re: favicon.ico in browser in WB?
«
Reply #12 on:
August 07, 2008, 03:01:26 AM »
I put favicons in my root, cleared my caches and was disappointed that they didn't work. Then later in the day, it showed up in one browser. Before the week was out, it worked on all the browsers I test with. I have no idea why.
Logged
A black man kills a dog, he goes to jail - you kill a little black boy and nothing happens
..in loving memory, Martin Lee Anderson
Ari Lindholm
Offline
Posts: 31
Re: favicon.ico in browser in WB?
«
Reply #13 on:
August 07, 2008, 04:52:07 AM »
This code works in my site, please remember put this code in your header part in xhtml-file.
<link href="http://< your_direct_path >/favicon.ico" type="image/ico" rel="shortcut icon" />
Of cource image should be 16x16 pix size and file name should be as favicon.ico.
Problems? Download somewhere already made favicon.ico file and test it. In most cases image has been done wrong.
Logged
Stefek
WebsiteBaker Org e.V.
Offline
Posts: 4884
Re: favicon.ico in browser in WB?
«
Reply #14 on:
August 07, 2008, 09:04:08 AM »
Hello, the following is the PM I sent to Irene (Ogierini) after I took a look at her Template:
Hello Irene.
You did a mistake with the place where your icon file is.
You got it in the "img" directory of your template.
In order to have this line working:
Code:
<link rel="Shortcut Icon" type="image/x-icon" href="
<?php
echo
WB_URL
;
?>
/favicon.ico" />
You have to put the ICO into the root of your WB Installation
But I have another code-line for you. Take this one:
Code:
<link rel="Shortcut Icon" type="image/x-icon" href="
<?php
echo
TEMPLATE_DIR
;
?>
/favicon.ico" />
But then you have to put your ICO file into your Templates Folder (andereas00), not into it's image folder.
All right.
Try it, and let me know how it behaves.
Best Regards,
Stefek
This worked.
Best Regards,
Stefek
Logged
"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
Ogierini
Offline
Posts: 276
Re: favicon.ico in browser in WB?
«
Reply #15 on:
February 17, 2009, 09:54:26 PM »
Hi guy's
It is unbelievable but..... I got the same problem as lost time.
I copied the exact code and the favicon is really in the right spot!
Could it be the presence of a template changer?
I have tried to place the link to the favicon on differant places in the head part but it doesn't respond....
Could someone help out?
Irene
Code:
<meta http-equiv="Content-Type" content="text/html; charset=
<?php
if(
defined
(
'DEFAULT_CHARSET'
)) { echo
DEFAULT_CHARSET
; } else { echo
'utf-8'
; }
?>
" />
<meta name="description" content="
<?php page_description
();
?>
" />
<meta name="keywords" content="
<?php page_keywords
();
?>
" />
<link rel="stylesheet" type="text/css" href="
<?php
echo
TEMPLATE_DIR
;
?>
/and0.css" media="screen,projection" />
<title>
<?php page_title
();
?>
</title>
<?php
if ((
PAGE_ID
==
1
) OR (
PAGE_ID
==
22
)){
?>
<style type="text/css">
#header{
background: #C6DAD9 url(
<?php
echo
WB_URL
.
'/templates/andreas00/img/front.jpg'
;
?>
) no-repeat;
}
</style>
<?php
}
?>
<link rel="Shortcut Icon" type="image/x-icon" href="
<?php
echo
TEMPLATE_DIR
;
?>
/favicon.ico" />
</head>
Logged
Kind regards,Irene
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7972
Re: favicon.ico in browser in WB?
«
Reply #16 on:
February 17, 2009, 10:43:41 PM »
Hello,
depending on your browser maybe you need to add additional code:
Code:
<link rel="shortcut icon" type="image/x-icon" href="
<?php
echo
TEMPLATE_DIR
;
?>
/favicon.ico" />
<link rel="icon" type="image/x-icon" href="
<?php
echo
TEMPLATE_DIR
;
?>
/favicon.ico" />
Also to place additionally a favicon.ico in the root of your server is a good idea.
Matthias
Logged
Ogierini
Offline
Posts: 276
Re: favicon.ico in browser in WB?
«
Reply #17 on:
February 18, 2009, 01:16:49 PM »
tthank you Matthias,
This worked!
Code:
<link rel="shortcut icon" type="image/x-icon" href="../../../favico.ico" />
<link rel="icon" type="image/x-icon" href="../../../favico.ico" />
regards Irene
Logged
Kind regards,Irene
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...