Even though I really need the functionality of this module, I am currently not able to use it, because the only official release is for version 5.0 of drupal, whereas I am using drupal 4.7. I have tried to use both the official release for version 5.0 as well as the development snapshot for version 4.7, but the first gives me an error and last doesn't seem to work with the PHP Snippets enabled. Is there a way to make the 5.0 version work in 4.7 easily? Or will there be an official 4.7 release anytime soon?

Thanks in advance. I hope to hear from you soon!

Comments

matt2000’s picture

I was able to get my PHP snippet to work in 4.7 by simply enclosing it in tags, despite the modules instructions. This is required by the drupal_eval() function, which is all that's called to evaluate the snippet.

matt2000’s picture

Title: Will there be an official 4.7 release anytime soon? » Using PHP Snippet in Drupal 4.7
Status: Active » Closed (fixed)