Jump to content

Different favicon on back office


DARKF3D3

Recommended Posts

Thank you for the tip, I modified file MYADMIN/themes/default/template/header.tpl

Editing this line with my new favicon name:

<link rel="icon" type="image/x-icon" href="{$img_dir}favicon.ico" />

The only problem it's that the new favicon it's showed on all back office pages, a part from product page (list and details).

Link to comment
Share on other sites

  • 1 year later...

Hello, @DARKF3D3

Are you looking to show different favicon icon for different page in back office , Something like this.

{assign var='controllerName' value=$smarty.get.controller}

{if $controllerName == 'cms'} <div>cms page</div>{/if}

{if $controllerName == 'index'} <div>home page</div>{/if}

{if $controllerName == 'category'} <div>Category Page</div>{/if}

And then you can assign your favion page wise

Hope it will solve your issue or give you a idea how to do

 

Thank you

Link to comment
Share on other sites

No, I need to show the same favicon on all the back office page.
I put my custom favicon into "adminpath/themes/default/template/header.tpl"
Replacing this line: <link rel="icon" type="image/x-icon" href="{$img_dir}favicon.ico" />

The problem it's that the custom favicon it's not showed on all the pages of the back office, for example on products page I still see the default favicon used on front office.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...