Thread: favicon.ico

Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2008
    Posts
    131
    Plugin Contributions
    0

    Default favicon.ico

    I have created a favicon.icon and placed it in the root directory "httpdocs". I've also bookmarked my web so the browser catches de favicon, but there still no changes on the browser tab showing my favicon.

    I am wondering if I need to place it somewhere elese inside the zen-cart directory or maybe make changes to the html_header.php. currently it reads like this:
    Line #33 : <?php if (defined('FAVICON')) { ?>

    Line #34 : <link rel="icon" href="<?php echo FAVICON; ?>" type="image/x-icon" />

    Line #35 : <link rel="shortcut icon" href="<?php echo FAVICON; ?>" type="image/x-icon" />

    Line #36 : <?php } //endif FAVICON ?>

    Please advise.

    thanks a lot!
    www.amnyperfumes.com/zen-cart

  2. #2
    Join Date
    Jan 2006
    Posts
    420
    Plugin Contributions
    0

    Default Re: favicon.ico

    It is there ... but its on your root :- http://www.amnyperfumes.com/favicon.ico where it should be in the root of your zencart dir if thats where you want it to show.
    Various Zen cart sites !

  3. #3
    Join Date
    Oct 2008
    Posts
    131
    Plugin Contributions
    0

    Default Re: favicon.ico

    Thanks for your prompt reply.

    I had read in the tutorial section that it should be placed in the root httdocs area, so that is why I had it there.
    Now I moved it under: htdocs/zen-cart/favicon.ico
    but still it does not show in my browser's tab.

    I think I am not understanding very well where exactly I need to place the favicon. could you please send me the exact location?

    Thanks a lot!

  4. #4
    Join Date
    Jan 2006
    Posts
    420
    Plugin Contributions
    0

    Default Re: favicon.ico

    think you had it correct both times , not sure why it is not working now ! it seems the page does not like loading it with the /zen-cart part on it , even though it all looks configured correctly.

    Personally i would put it in both places and I assume your going to move the Directory so your zen-cart is in the root , then it should work , if it does not , then start looking why . Favicon's are notorisly picky and sometimes don't appear due to browser caching , ISP caching etc. Maybe someone else can point as to why ... your setup is correct As far as I can tell.
    Various Zen cart sites !

  5. #5
    Join Date
    Oct 2008
    Posts
    131
    Plugin Contributions
    0

    Default Re: favicon.ico

    I have place a copy of favicon.ico in both the htpdoc and htpdco/zen-cart directories and nothing is happening.

    I looked at the html-header.php that is located in template_default/common folder and the FAVICON part is mentioned there.

    I am pretty new to zen-cart and to dealing with css or php coding so I am clueless about what could be the problem.

    Talking about my cluelessness.. as you say, at some point I need to move my zen-cart directory to the root. I am just not quite sure what does that imply. Do I just move out all the folders located inside my zen-cart directory and place them underneath htpdoc where the index.htm file is?
    If so, is that going to affect anything on my website in terms of images uploaded or links that included a URL of www.amnyperfumes/zen-cart/......?

    I am worry I may screw something on the way..so I want to be 100% clear on how to make such move. Please advise.

    thanks a lot!

  6. #6
    Join Date
    Dec 2007
    Location
    Southern Maine
    Posts
    281
    Plugin Contributions
    0

    Default Re: favicon.ico

    In the tutorials/faq section are documents that cover both your problems. Try checking them out.

    As far as the moving of the site, you have the option of leaving it alone and just redirect using .htaccess too.

    I would check out the faq's though........

  7. #7
    Join Date
    Oct 2008
    Posts
    131
    Plugin Contributions
    0

    Default Re: favicon.ico

    good news! the FAVICON decided to work this morning without me doing anything new. =)

    Regarding moving my zen-cart directory from: www.amnyperfumes.com/zen-cart TO www.amnypefumes.com
    I found a tutorial on the subject, but it is not detailed for new zenners with no previous experience as myself, so I would appreciate someone could confirm the following steps:

    1.Determine the new foldername where your Zen Cart™ files will be running from. Does this refer to the htdocs folder?

    2. Go into Admin > Configuration > Sessions and change the Session Directory to reflect the new folder name. Right now is: ...../htdocs/zen-cart/cache. Do I just need to remove the 'zen-cart' part and leave the cache part?

    3. Move/Rename the folder. You may need to use your FTP program to do this. I guess here I just need to move all folders from zen-cart to go straight under htdocs?

    4. Your /includes/configure.php and /admin/includes/configure.php files are used to point Zen Cart™ to the right folders. In those files, you need to update several entries to match the new path information:
    Do I just replace all instances of 'zen-cart' with 'htdocs'? and in other instances just remove 'zen-cart' (ex:...../htdocs/zen-cart/cache')

    thanks a lot!

 

 

Similar Threads

  1. Weird favicon.ico issues
    By gmrm in forum General Questions
    Replies: 0
    Last Post: 15 Jan 2011, 08:09 PM
  2. ERROR MESSAGE - favicon.ico
    By steve1965 in forum General Questions
    Replies: 2
    Last Post: 16 Aug 2008, 03:47 PM
  3. Favicon.ico ???
    By res in forum General Questions
    Replies: 3
    Last Post: 13 Jul 2008, 11:12 PM

Posting Permissions

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