Hi,

I fixed a problem where RTL plugin and IE RTL styles where not loaded and printed in page.tpl.php

Here are the 2 fixes:
- In template.php
$vars['css_alt'] = blueprint_css_reorder($vars['css']);
should be
$vars['css_alt'] = blueprint_css_reorder($css);
Because just before we define $css as $css=$vars['css'] to add the RTL plugin.

- In page.tpl.php
$styles_ie_rtl['ie'];
and
$styles_ie_rtl['ie6'];

Are missing print and should be

print $styles_ie_rtl['ie'];
and
print $styles_ie_rtl['ie6'];

Hope this helps,

Best,

Ivan

Comments

ivan25’s picture

Found another one

    //setup rtl css for IE
    $vars['styles_ie']['ie'] = '<link href="'. $path .'css/ie-rtl.css" rel="stylesheet"  type="text/css"  media="screen, projection" />';
    $vars['styles_ie']['ie6'] = '<link href="'. $path .'css/ie6-rtl.css" rel="stylesheet"  type="text/css"  media="screen, projection" />';

Variable and path are not correct.
It Should be.

    $vars['styles_ie_rtl']['ie'] = '<link href="'. $vars['path'] .'css/ie-rtl.css" rel="stylesheet"  type="text/css"  media="screen, projection" />';
    $vars['styles_ie_rtl']['ie6'] = '<link href="'. $vars['path'] .'css/ie6-rtl.css" rel="stylesheet"  type="text/css"  media="screen, projection" />';

Variable and path are not correct