test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • locombianos Friend
    #132107

    I alredy try many diferent waysnto change this icon , but is been imposible to do it, Please help me to locate the file where I need to change this code to add my png file.

    Thanks

    Sherlock Friend
    #265233

    Hi
    you can add favicon.png to templates/[your template] folder
    then edit html.php(librariesjoomladocumenthtml folder)
    Search those lines:

    $icon = $dir . 'favicon.ico';
    if (file_exists( $icon ))
    {
    $path = str_replace( JPATH_BASE . DS, '', $dir );
    $path = str_replace( '\', '/', $path );
    $this->addFavicon( JURI::base(true).'/'.$path . 'favicon.ico' );
    break;
    }

    Change favicon.ico to favicon.png

    locombianos Friend
    #265250

    Thank you for your advise, it worked great on my website.

    There is some diferences after I refheshed my browsers:
    Firefox Ok
    ie7 No
    Safary No

    here is a link to my test site: http://www.caƱaflecha.com/

    railer Friend
    #265251

    Hi Locombianos,

    Maybe you have a good reason to want to change your faveicon to a .png format, but why don’t you just create it in the proper .ico format? Then you don’t have to hack the core code.

    You can use Dynamic Drive’s free faveicon generator to upload your file and create it for you.

    Railer

    mj1256 Friend
    #265252

    the browsers look for that specific .ico extention, change it and things won’t work

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 4 voices, and was last updated by  mj1256 16 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum