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

wavesailor’s picture

I would use the following module to help add them: http://drupal.org/project/touch_icons

devin carlson’s picture

Status: Active » Closed (fixed)

The 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 .