Posted by dalin on November 6, 2014 at 3:02am
Start:
2014-11-27 19:30 America/Toronto Organizers:
Event type:
User group meeting
This month's meet-up will be in Hamilton. We'll be gathering at The Winking Judge (we've met here before).
25 Augusta St
Hamilton, ON L8N 1P6
Lately our meet-ups have been fairly informal discussions of the latest happenings in Drupal, and we'll probably continue the trend. But some case studies would also be great (would love to see what other people are working on). Or if someone would like to lead something more topical, that would be great too.
Comments
The Niagara folks are coming
The Niagara folks are coming up.
If anyone needs a ride, hit me up on twitter, FB or here.
Internet Explorer META element X-UA-Compatible
The topic of the joys of Internet Explorer made it into this month's chat at the DUG meet up, so I said I would post some helpful code.
function template_preprocess_html(&$variables) {
$meta_x_ua_compatible = array(
'#type' => 'html_tag',
'#tag' => 'meta',
'#attributes' => array(
'http-equiv' => 'X-UA-Compatible',
'content' => 'IE=Edge',
),
);
drupal_add_html_head($meta_x_ua_compatible, 'x_ua_compatible');
}
and if for some reason you would need to alter an existing version of it
function hook_html_head_alter(&$head_elements) {
$head_elements['x_ua_compatible'] = array(
'#type' => 'html_tag',
'#tag' => 'meta',
'#attributes' => array(
'http-equiv' => 'X-UA-Compatible',
'content' => 'IE=Edge',
),
);
}
Thanks Rob!
That's great, I'll give it try. On the same note about sharing, here is that video told you guys about Drupal8 module development changes if you guys haven't seen it check it out. It's a great 50min video presented by Larry Garfield.
Video:
https://www.youtube.com/watch?v=tmT6CATUWbk
Slides:
http://www.palantir.net/presentations/dcamsterdam2014-d8-crash-course/