Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Needed print head variable " print $head
" in page.tpl.php.
Current Code
<head>
<title><?php print $head_title ?></title>
<?php print $styles ?>
<?php print $scripts ?>
<!--[if lt IE 7]>
<?php print phptemplate_get_ie_styles(); ?>
<![endif]-->
</head>
Code with the variable
<head>
<?php print $head ?>
<title><?php print $head_title ?></title>
<?php print $styles ?>
<?php print $scripts ?>
<!--[if lt IE 7]>
<?php print phptemplate_get_ie_styles(); ?>
<![endif]-->
</head>
Comments
Comment #1
daycrom CreditAttribution: daycrom commentedComment #2
Jeff Burnz CreditAttribution: Jeff Burnz commentedekkk, now you mention it I do recall deleting that for some reason and thinking "I must go back and fix that", seems I forgot.
Committed to HEAD, will need a new release as this is critical.
BTW, your snippet that includes phptemplate_get_ie_styles(); is not from AdaptiveTheme, and if it is and you have added that, I ask why. The conditional stylesheets module is built in, you can define IE stylesheets in the info file of your theme.
Comment #3
Jeff Burnz CreditAttribution: Jeff Burnz commentedComment #4
daycrom CreditAttribution: daycrom commentedsnippet that includes phptemplate_get_ie_styles() is my error... was only a test drawn from another template