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

geoman’s picture

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:

drupal_get_path('theme','marinelli'); /iestyles/ie7.css" />

Would I change this to

print "/". drupal_get_path('theme','marinelli'); /iestyles/ie7.css" />

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.

oadaeh’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

This issue is being closed because it is against a branch for a version of Drupal that is no longer supported.
If you feel that this issue is still valid, feel free to re-open and update it (and any possible patch) to work with the 7.x-4.x branch.
Thank you.