osCmax v2.5 User Manual
Results 1 to 5 of 5

favicon

This is a discussion on favicon within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; Hi everyone. Can anyone tell me how to put a favicon on a oscommerce website. I tried putting it on ...

      
  1. #1
    Member
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    69
    Rep Power
    0


    Default favicon

    Hi everyone. Can anyone tell me how to put a favicon on a oscommerce website.

    I tried putting it on the root of the web site. Mozilla nor EI6 could pick it up.

    There is something you can put in html like.

    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    But where should i put code? in root/index.php

    any idea?

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    how about main_page.tpl.php in your templates dir (whatever template you use. If using the aabox template = /templates/aabox/main_page.tpl.php)
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Anonymous
    Guest


    Default

    got ya!

    Cheers

    Mike

  4. #4
    Member
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    69
    Rep Power
    0


    Default

    I put it in however it does' nt show. Any idea what could be wrong. I see one in this page oscdox.com but not in mine...
    -----------------------------------------------------------------------------------
    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

    <html <?php echo HTML_PARAMS; ?>>

    <head>

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

    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
    -----------

    Thanks for your help..


    Mike

  5. #5
    Member
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    69
    Rep Power
    0


    Default

    This works. I duno if the placement was wrong but it works. In templates/main_page_tpl.php :

    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html <?php echo HTML_PARAMS; ?>>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
    <?php require(DIR_WS_INCLUDES . 'meta_tags.php'); ?>
    <title><?php echo META_TAG_TITLE; ?></title>
    <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
    <meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" />
    <meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>" />
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" type="text/css" href="stylesheet.css">
    <?php if ($javascript) { require(DIR_WS_JAVASCRIPT . $javascript); } ?>
    </head>

    see http://www.mobilegamer.gr for example.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •