Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 06:01:03 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Adding Favicons - Anyone achieved this?  (Read 1213 times)
Leilani

Offline Offline

Posts: 9



« on: November 27, 2007, 12:04:34 AM »

Hi
Looking to add a favicon. Can anyone suggest how to code that in the header, and would i have to put anything in the info.php?

Cheers
Leilani  smiley
Logged
marathoner

Offline Offline

Posts: 495


« Reply #1 on: November 27, 2007, 12:54:52 AM »

This isn't a WB question. Simply Google favicon.ico and find all of the info.

You simply create an ico file and place it in your root directory...no changes to the template needed unless you decide to put the file somewhere other than the root. If so, simply alter your template index.php file to incorporate the standard HTML syntax for favicon.ico files.
Logged
Leilani

Offline Offline

Posts: 9



« Reply #2 on: December 07, 2007, 02:14:51 PM »

Actually it is WB question, I know how to add a favicon, being an experienced web designer...my question was regarding adding a favicon to the pages that you create with WB. 

It will now show, in root it will not show for your pages, only your administration.

Eventually I figured out how to manage this. 

So for others I will pass the info on:

1) add your link ref in head in the folder>templates>name_of_template>index.php

 <link rel="shortcut icon" href="favicon.ico" />

2) add favicon.ico into the folder>pages


Logged
doc
Guest
« Reply #3 on: December 07, 2007, 03:20:25 PM »

Hello,

assuming the favicon is stored in a folder called /img insite of your template directory, you can add the following code to the index.php of your template:
Code:
<link rel="Shortcut Icon" type="image/x-icon" href="<?php echo TEMPLATE_DIR;?>/img/favicon.ico" />    

A good source for information like this is http://help.websitebaker.org/pages/en/advanced-docu/designer-guide/adding-template-functions.php

It does not explain how to add a favicon, but how to add a image.

Regards Christian

Logged
Leilani

Offline Offline

Posts: 9



« Reply #4 on: December 07, 2007, 04:01:21 PM »

Cheers Doc, that's the neat way of doing it, and what I was looking for in the first place!  cheesy Nonetheless my way works too  evil

Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!