0

How to display website logo in the address bar

asked 2009-03-22 17:11:21 +0800

judacoor gravatar image judacoor
280 1 3 8

Hi everyone,

I been looking around, and so far I've found that to display a custom logo in the address bar of a website all you need to do is set the tag:

<LINK REL="SHORTCUT ICON" HREF="/~your_directory/logo.ico">

which should be inserted in-between the <HEAD> and </HEAD> tags of the html page.

But how do you set that tag in a zul page?


Thank you so much for your help,

judacoor

delete flag offensive retag edit

11 Replies

Sort by ยป oldest newest

answered 2009-03-22 18:42:48 +0800

sousa1981 gravatar image sousa1981
573 4

Search the doc, zk site, help, I believe you will find it.

link publish delete flag offensive edit

answered 2009-03-23 16:15:18 +0800

judacoor gravatar image judacoor
280 1 3 8

Hi sousa1981,

But I was wondering if any of you guys could give like a small insight or something, for I've reading a little about XHTML, ZUML but I can't fully get it......maybe do you know precisely where to look, like to point me in the right direction?

Thanks,
judacoor

link publish delete flag offensive edit

answered 2009-03-23 18:02:40 +0800

robertpic71 gravatar image robertpic71
1275 1

updated 2009-03-23 18:03:15 +0800

Here is an example:

<?link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"?>
<?link rel="icon" type="image/x-icon" href="/favicon.ico"?>

Here are the >> docs <<

/Robert

link publish delete flag offensive edit

answered 2009-03-25 04:43:46 +0800

judacoor gravatar image judacoor
280 1 3 8

Robert,

Thank you so much for your help! I appreciate it very much!

judacoor

link publish delete flag offensive edit

answered 2009-04-16 14:19:09 +0800

sly3 gravatar image sly3
99 1

Hi! I try <?link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"?> and
<?link rel="icon" type="image/x-icon" href="/favicon.ico"?>
In firefox work it correctly but with explorer 8 and Safari don't go!

In html coding this tag are codified like this <link rel="shortcut icon" type="image/x-icon" href="/ListaIteratorTest/fav.ico"/>
in the other site normally the x-icon are codified without end tag (/) like this <link rel="shortcut icon" type="image/x-icon" href="/ListaIteratorTest/fav.ico">
Anyone can help me please?
Thank You

link publish delete flag offensive edit

answered 2009-04-17 02:05:06 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

In IE, you have to use the name shortcut icon as follows.

<?link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico"?>

But In Safari, there is a bug of ZK, please follow this bug

Thanks,
Jumper

link publish delete flag offensive edit

answered 2009-04-17 13:38:12 +0800

sly3 gravatar image sly3
99 1

Probably with the new IE 8 there is a same bug :(

link publish delete flag offensive edit

answered 2009-04-29 14:56:22 +0800

shumy gravatar image shumy
244 1

Also I have a problem.
Setting shortcut icon in a template page will not appear in the html source code!
Is there any way to avoid setting the link in every page?

link publish delete flag offensive edit

answered 2009-04-30 00:59:44 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

Try to specify it into zk.xml or lang-addon.xml.

/Jumper

link publish delete flag offensive edit

answered 2010-06-12 12:31:28 +0800

balamurugan32000 gravatar image balamurugan32000
111 2

Hi Jumper,
Can you provide me more details or point me to the document about how to configure favoriate icon in zk.xml or addon file?

Thanks in advance..
Bala

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-03-22 17:11:21 +0800

Seen: 2,663 times

Last updated: Jun 20 '10

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More