To prevent dozens of page not found errors from appearing in my logs, I changed line 37 in niftycube.js so that niftyCorners.css is found at an absolute path. This is a workaround to a minor but particularly annoying bug in Nifty Drupal, in my opinion, especially if the wiki404 or search404 modules are being used.

Aside from this, I love this theme. Thanks!

Comments

ki4pic’s picture

I am having this same issue, but sadly I am not as savvy as you.
Would you be so kind and let me know exactly what file you modified and what to look for?
Absolute path would be http://www.domainname/... etc. is that correct?

Thanks!
-charles

Christefano-oldaccount’s picture

Hi Charles,

I changed line 37 of the niftycube.js file from:

   l.setAttribute("href","niftyCorners.css");

to the following:

   l.setAttribute("href","/themes/nifty_drupal/NiftyCube/niftyCorners.css");

This assumes that your nifty_drupal theme is in Drupal's "themes" folder, and not somewhere in the "sites" folder.