I'm working on a module, and I can't tell what's happening because it complains whenever I try to put in echo statements to see the value of things or trace execution. It doesn't seem that Drupal uses output buffers. How do I write a module when I can't see what's happening?
I have been using Gallery Module for 4.6 which works fine for me. I am now trying 4.7. Anybody knows if there is work going on to port G2 module to 4.7 ? I just cant wait to get hold of it.
Similarly is the Civicspace theme ready for 4.7 yet ?
I am currently writing a module, which generates a form into a block. it works perfectly - form "vote" is displayed, after submitted, validated with vote_validate() and data is saved with vote_submit().
only one small problem: how can I check in the block if there is any posted data? I am using votingAPI and it requires a refresh to have a user's vote counted. so I could alternatively check for some $_POST variable. but if I try to access any $_POST variable from the block, the validating/submitting stop functioning.
Tried installing it into my module folder... when i go to administer my modules i get the following error:
Fatal error: Only variables can be passed by reference in /home/blurchat/drupal/modules/image.module on line 726
I'm evaluating Drupal for use in my own endeveors. Actually, I'm evaluating a lot of CMS engines (including Xoops - which I've used for years). I'm really drawn to drupal at the moment for my purposes.