I try to install on 4.7.4 and i receive this error

Fatal error: Call to undefined function: drupal_add_css() in /home/web/dwebmasterxcom/modules/greybox/greybox.module on line 86

Comments

Gurpartap Singh’s picture

Status: Active » Closed (works as designed)

Module is intended to be used only with Drupal 5.x
Tweaking code for 4.7 might do for you. Requires jQuery.

toma’s picture

Thanks, i download the 4.7 version, in modules project

Gurpartap Singh’s picture

Sorry, it's mistakenly listed for 4.7
It's only for Drupal 5.0

Grinin’s picture

Version: 4.7.x-1.x-dev » 5.x-1.0
Category: bug » support
Priority: Normal » Minor

Is anyone trying to correct the issue for 4.7? Or should I just wait until a final version 5.0 is released and out of the beta stage?

I tried installing greybox as a standalone addition to the site, but the problems lie in getting the

to be included in the 's of the web pages... In that past when I modified the files in the includes directory to add things to the header, it caused some problems in some browsers....so I don't think I'll be trying that again... IF anyone knows of any alternatives I would love to hear about them. Thanks everyone, Grinin