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.
Hi there,
This looks like a pretty slick module, unfortunately for me after install it didn't do anything. Specifically, I installed the module, activated it, and gave myself permissions to use it.
I edited my my-theme.info file to include the code snippet you mention on your page. I think expected the conditional statement to appear. However it did not appear. I de-activated the theme, switched to another theme, switched back and reactivated. Still no code.
I am running Drupal 6.10
I uninstalled your module and inserted
<!--[if lt IE 7]>
<link type="text/css" rel="stylesheet" media="all" href="ie6-and-below.css" />
<![endif]-->
<!--[if IE 7]>
<link type="text/css" rel="stylesheet" media="all" href="ie7.css" />
<![endif]-->
Into my page.php.tpl file instead, and that worked just fine.
Comment | File | Size | Author |
---|---|---|---|
#3 | Conditional_Styles-389988-3.patch | 333 bytes | BWPanda |
Comments
Comment #1
BWPanda CreditAttribution: BWPanda commentedDid you remember to clear the theme cache after you edited your .info file?
Comment #2
Stoob CreditAttribution: Stoob commentedThat's an interesting question. Clearing the theme cache is not in the module documentation, so no I did not clear the theme cache. If it is a requirement, the module developers should consider putting that requirement in the description of the module and/or adding documentation for the module. I am not using the module anymore anyway, so I cannot test if clearing theme cache would have had any effect.
Comment #3
BWPanda CreditAttribution: BWPanda commentedIn that case, this should probably be changed to a documentation task.
I checked the readme.txt file but couldn't find any references to clearing the cache, so I created a very simple patch to add this reminder.
Comment #4
JohnAlbinThe following important note has been added to the README.txt:
Thanks for the suggestion, Peter!
Comment #5
BWPanda CreditAttribution: BWPanda commentedGlad to help!