Posted by Ersin Beyret on July 2, 2009 at 6:25am
Jump to:
| Project: | Marinelli |
| Version: | 6.x-2.95 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
This file calls 'drupal_get_path('theme','marinelli')' but does not print its output hence ie7.css can't be found:
<link rel="stylesheet" type="text/css" href="<?php drupal_get_path('theme','marinelli'); ?>/iestyles/ie7.css" />It should be instead something like this:
<link rel="stylesheet" type="text/css" href="<?php print "/". drupal_get_path('theme','marinelli'); ?>/iestyles/ie7.css" />Also, access to ie6.css should be same as ie7.css since they are in the same dir. Right now it tries to access it from the theme dir, which would not work for sub-themes:
<link rel="stylesheet" type="text/css" href="<?php print base_path(). path_to_theme(); ?>/iestyles/ie6.css" />It should be instead something like this:
<link rel="stylesheet" type="text/css" href="<?php print "/". drupal_get_path('theme','marinelli'); ?>/iestyles/ie6.css" />
Comments
#1
Thanks for this post, Ersis. I wonder if you could help me with this. I'm getting thousands of "page not found" in the log because of the IE style sheet issue you describe here. I'm using alagna, which does not have the ie7.css and ie6.css files. I tried putting a copy of the ie styles folder in the alagna folder, but it didn't help. I'm thinking I need to modify the page.php.tpl file in the alagna folder, but I'm not sure how. There's a line that reads:
Would I change this to
And if so, do I leave it 'marinelli' or change that to 'alagna'?
Hope you see this, and thanks for the help if you do.