Closed (fixed)
Project:
Mobile Tools
Version:
6.x-2.4
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Sep 2012 at 16:26 UTC
Updated:
16 Oct 2012 at 05:29 UTC
I would like to add an apple-touch-icon. In the module's settings I can read the following:
"Add mobile specific headers into the header tag. This includes viewport, touch-icon, HandheldFriendly, ... See theme/mobile-tools-header.tpl.php"
But there is no theme/mobile-tools-header.tpl.php (anymore?). I also tried to add it manually in my template.php:
$vars['head'] .= '<link rel="apple-touch-icon-precomposed" href="http://example.com/apple-touch-icon-precomposed.png" />'."\n";
But that seems to be deleted by Mobile Tools. What is the best way to add an apple-touch-icon?
Comments
Comment #1
wavesailor commentedI would use the following module to help add them: http://drupal.org/project/touch_icons
Comment #2
devin carlson commentedThe template file used by earlier versions of Mobile Tools encouraged bad practices and could easily cause security issues (which is why it was removed).
You can either implement drupal_set_html_head in a custom module or, as wavesailor mentioned in #1, there are other modules which allow you to add touch icons .