Closed (fixed)
Project:
Sans Druplicon
Version:
7.x-1.3
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
2 Oct 2012 at 12:55 UTC
Updated:
12 Jun 2016 at 17:21 UTC
Jump to comment: Most recent
Comments
Comment #1
cubeinspire commentedTo be more precise, the favicon appears when Admin Menu is activated and the Administration menu Toolbar style is disabled.
As I see on the admin menu module the function genrating this icon is inside the file admin_menu.inc and is called template_preprocess_admin_menu_icon. Line 907.
I think the interesting line here is:
$variables['src'] = base_path() . 'misc/favicon.ico';So the question is... is there some alter template_preprocess_hook in D7 ?
Is it possible to modify the $variables before arriving to this function ?
Othewise the favicon is hardcoded and I don't see how to change it from an external module...
How would you face this problem fatleaf ?
Comment #2
andrewkamm commentedThanks for the interest, I'll be posting on this ticket soon.
Comment #3
andrewkamm commentedI've extended the module to modify the icon shown in admin_menu. The change to the admin menu icon is done by implementing hook_admin_menu_output_alter(), though improvements have been made throughout this module to improve overall organization.
Comment #4
cubeinspire commentedThanks for the info and very nice module by the way.
Comment #5
andrewkamm commentedClosing issue as resolved.
Comment #6
javiereduardo commentedor, css: