Hi
I don t see how to add the preferred style sheet with this module, I ve also tried to add one manually in html.tpl.php but somehow it doesn t load:

<head profile="<?php print $grddl_profile; ?>">
<link href="http://mysite.com/sites/all/themes/mytheme/css/default2.css" title="default2" rel="stylesheet" type="text/css" />
  <?php print $head; ?>
  <title><?php print $head_title; ?></title>
  <?php print $styles; ?>
  <?php print $scripts; ?>
</head>

Drupal loads it but the css is not used, it also appears on FF s list of preferred styles.

Simone

Comments

alanburke’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev

Your sample code looks like D7 code.
Can you try the D7 version?

cimo75’s picture

Hi Alan
thanks for looking into this.

I am using the D7 port of yours. Since I was not able to get it going I decided to adopt the jQuery version which is working great.
My advice at this point would be to re-implement the jQuery version into this module, but if you think the actual version is for some reason better, I ll be happy to test it in my local server.
Whenever the module will be ready I ll swap it for the custom js implementation I am using now.

Simone

cimo75’s picture

I forgot to link to the jQuery code I am using

http://www.immortalwolf.com/code-repository/javascript-components/

alanburke’s picture

Hmm, it looks interesting.
Anyway, looking at your problem, it sounds like you're not following the instructions.
Do you have the alternate css files listed in your theme .info file?

alanburke’s picture

Status: Active » Postponed (maintainer needs more info)
alanburke’s picture

Issue summary: View changes

edited some typos

kingfisher64’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (fixed)

Closing issue as last post was 2 years ago and new 2.x version will be released soon.