We moved to new unified forum!

Please post all new support queries in our New Forum.

T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Dustin
  2. Sherlock Holmes
  3. General Discussion
  4. Thursday, 09 January 2014
  5.  Subscribe via email
I'd need to add the following meta tag as the first tag ( right after <head> )
<meta http-equiv="X-UA-Compatible" content="IE=edge">


Where would I add this at?
Comment
There are no comments made yet.
Accepted Answer
Accepted Answer Pending Moderation
0
Votes
Undo
The IE=edge meta tag actually does have the be the first element after the <head> tag otherwise it does not work. I found out that you can add it in the template manager "After <head>" section.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # Permalink
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Dustin,

You can put your code in tpls/block/head.php file
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
When you put it in head.php it still does not load it as the first meta tag. I need it to load right after the opening <head> tag otherwise it does not work:


<!DOCTYPE html>
<!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7 com_content view-featured itemid-101 home HIMhome j25"> <![endif]-->
<!--[if IE 7]> <html class="lt-ie9 lt-ie8 com_content view-featured itemid-101 home HIMhome j25"> <![endif]-->
<!--[if IE 8]> <html class="lt-ie9 com_content view-featured itemid-101 home HIMhome j25"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="en-gb" dir="ltr" class='com_content view-featured itemid-101 home HIMhome j25'> <!--<![endif]-->

<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="Joomla! - Open Source Content Management" />
<title>Home</title>


If I add it to the top of head.php like you suggest it still only loads before the "META FOR IOS & HANDHELD" but after all of the stylesheets and scripts.

Dustin
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Dustin,

It does not really matter the position of that meta as long as it still be inside <head>.
If you want to put it right after <head> you can insert it in tpls/*.php files.

More advanced solutions will be use Joomla setMetaData.

Regards
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.