Developer forum

Forum » Templates » favicon.ico

Reply
Hi!

Is it possible to add a favicon.ico to a single "language layer"? I reckon that if you put the favicon.ico in the "templates" folder, which theoretically is the root off all pages, all "language layers" would get the same ico, which was not the intention. Is it possible?

Thanks in advance!

Replies

 
Reply
Hi

You can hardcode it in your mastertemplate, and then use a specific mastertemplate for each language layer.

// Dammark
 
Reply
Nice! you were right. I totally forgot about the custom linktype "shortcut icon":

To other people. I created a folder called favicons and hardcoded different links in different templates:
<link rel="shortcut icon" href="/files/billeder/favicons/custom_favicon.ico">

 
Reply

<link rel="shortcut icon" href="/files/billeder/favicons/custom_favicon_<!--@DwAreaID-->.ico"> and then naming the ico files by the appropriate areas could probably save you a couple of templates.

 

You must be logged in to post in the forum