This module works excellent. Thanks! When are you releasing it?

I use this code in template.php to add Touch icons:

function YOURTHEME_preprocess_html(&$vars) {

// Add Touch Icons  
$touchicon = array(
  '#tag' => 'link',
  '#attributes' => array(
    'href' => base_path().path_to_theme(). '/images/apple-touch-icon.png',
    'rel' => 'apple-touch-icon',
  ),
);
$touchicon72x72 = array(
  '#tag' => 'link',
  '#attributes' => array(
    'href' => base_path().path_to_theme(). '/images/apple-touch-icon-72x72.png',
    'sizes' => '72x72',
    'rel' => 'apple-touch-icon',
  ),
);
$touchicon114x114 = array(
  '#tag' => 'link',
  '#attributes' => array(
    'href' => base_path().path_to_theme(). '/images/apple-touch-icon-114x114.png',
    'sizes' => '114x114',
    'rel' => 'apple-touch-icon',
  ),
);
$touchstartupimage = array(
  '#tag' => 'link',
  '#attributes' => array(
    'href' => base_path().path_to_theme(). '/images/apple-touch-startup-image.png',
    'rel' => 'apple-touch-startup-image',
  ),
);
drupal_add_html_head($touchicon, 'apple_touch_icon');
drupal_add_html_head($touchicon72x72, 'apple_touch_icon72x72');
drupal_add_html_head($touchicon114x114, 'apple_touch_icon114x114');
drupal_add_html_head($touchstartupimage, 'apple-touch-startup-image');
}

Comments

grienauer’s picture

I have added some functions!
- deliver App icons for all different iOS devices like iPad, iPhone and iPod Touch and for devices with Retina displays
- Startup Images for all different iOS device/screen Sizes and pixel ratio
- Homescreen App title (only iOS6)

and applied for full project access :) (I am exited ;))

thx for your compliment! Its my firstborn module and as a designer it's not easy for me to build a module... ;)

pedrosp’s picture

Kudos for the module !
I've been fishing around and your module summed up almost all requirements all-in-one.
I hope it will upgrade soon to a standard project.

Chris Charlton’s picture

Any update to your project application?

grienauer’s picture

Not jet... I am not a coder so it takes me decades to fix simple bugs ;)
But it's on my todo :)

grienauer’s picture

It only took 1 year and 9 months... but now it's rewritten and a full project!

YESSSS!

Some features are in the pipeline... and will not take nearly 2 years again...

:)

grienauer’s picture

Version: » 7.x-1.x-dev
Assigned: Unassigned » grienauer
Issue summary: View changes
Status: Active » Closed (fixed)
acke’s picture

Cool! Congrats! 1 year and 9 months sounds like a record... :)