DARKF3D3 Posted June 19, 2020 Share Posted June 19, 2020 Does anyone know how to show a different favicon for back office page? Link to comment Share on other sites More sharing options...
DARKF3D3 Posted June 25, 2020 Author Share Posted June 25, 2020 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 More sharing options...
DARKF3D3 Posted July 16, 2021 Author Share Posted July 16, 2021 Anyone found a way to have the custom favicon works on all the backoffice pages? In my case on PS1.7 "adminpath/themes/default/template/header.tpl" affect only some pages of back offce. Link to comment Share on other sites More sharing options...
SmartDataSoft Posted July 16, 2021 Share Posted July 16, 2021 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 More sharing options...
DARKF3D3 Posted July 16, 2021 Author Share Posted July 16, 2021 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 More sharing options...
SmartDataSoft Posted July 16, 2021 Share Posted July 16, 2021 Hello, You can check the template file in 1.7 template .tpl or .twig file and try hope it will solve https://github.com/PrestaShop/PrestaShop/search?q=favicon.ico Thank you Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now