This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

authentication modules

I'm trying to write an authentication module, and I can't find adequate documentation. authentication.php does not give enough explanation. I found one published authentication module that I'm trying to use as an example, but it's almost completely uncommented. Where do I get information about this?

debugging modules??

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?

Form API Select Element Problem

hello,

Just one question, how can i control the select element display mode.

I want a dropdown control and some of my select element display as scrolling selection,
even with '#multiselect' => false.

Gallery 2 for Drupal 4.7

Hi,

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 ?

Regards

Karthik

problem with dealing form submit

hi all,

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.

any suggestions?

Image module on 4.7

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

Any ideas?

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions