Thank you for the nice module.

I have run it on earlier versions of D6, without a problem. But now on my Drupal 6.14 it doesn't work. I have loaded the zip file and unpacked it so path is sites/all/modules/christmas_snow/image/snow.... etc So filestructure should be OK.

When in FireFox I see square boxes for 3 seconds after a pageload, then the squares disappear.

When I use IE, the browser completely stops responding as it loads the page (pageload takes over 30 seconds, where it normally loads in less than 6 seconds). So something loads IE unnecessarily. After complete pageload I can scroll the page as normal.

And neither browser shows any snow consistently.

I have tried the demopage sites/all/modules/christmas_snow/basic-example.html. This page looks great in both my FF and IE browser. So the script should work.

Is there a solution for this?

Thanks

Morten E.

Comments

yellowflowers’s picture

I had the exact same problem. I fixed it by downloading the most recent version of the christmas snow zip file from the creator's web site (the link here is for an old 2004 version, the new one is for 2009), putting the new files in the right directories and modifying the drupal module to take the changes into account. (There is no longer an image directory.)

I think the only thing I edited was christmas_snow.module. I made the init function look like this:

function christmas_snow_init() {
  $path = drupal_get_path('module', 'christmas_snow');
  $js = drupal_add_js($path . '/script/snowstorm.js');
  $data = '<script type="text/javascript" src="snowstorm.js"></script>';
  drupal_set_html_head($data); 
}
excaliburst’s picture

Status: Active » Fixed

Thanks man,

That did the trick. I must have missed the important note on the homepage for Christmas Snow module.

I only remmed out the line as it said on the page. Nothing like as complicated as you suggest. And reuploaded the newest version.

Thanks a lot.

We have Christmas Dinner at the club (where my site is our website), so now we can come in the right spirit.

Morten

excaliburst’s picture

Status: Fixed » Active

Hi again,

Hmm it seems that it is not working in a stable way in FireFox. I see no problems in IE.

But FF crashes after only a couple of minutes showing the page with Christmas Snow.

What gives?

Morten E.

introfini’s picture

Status: Active » Fixed

Download the new version and read the new instructions on the project page.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.