Closed (works as designed)
Project:
Insert
Version:
7.x-1.3
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Jun 2014 at 20:37 UTC
Updated:
11 Jun 2017 at 13:56 UTC
Jump to comment: Most recent
Comments
Comment #1
zuernbernhard commentedThe best way would be if the module does not render a hardcoded link in the template but makes use of l() function instead. But seems to be not implemented right now.
Comment #2
zuernbernhard commentedMeanwhile there is another way i you don't want to hack the module. I did the following to override it for "icon with link":
1.) Create a custom Module
2.) Implement hook_theme_registry_alter():
3.) Copy the corresponding tpl.php file from the insert module to your module in a subdirectory called "insert-templates" and override it according to your needs.
Comment #3
snater commentedThe cleanest solution would be to create a subtheme of your admin theme, copy the Insert module templates you want to alter to the subtheme's
templatesfolder and alter the HTML there. Nothing to be changed in the module's source code and no need for a separate module.