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.
I have just installed latest version of Drupal (beta) and flexinode. Drupal is working fine, I have enabled flexinode in the modules section, but when I go to add_type, I get (based on the logs) a "admin/node/types/add_type" denied access error.
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
* warning: array_merge() [function.array-merge]: Argument #1 is not an array in C:\HOME\xampp\xampp\htdocs\drupal47\modules\category\category.module on line 377.
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in C:\HOME\xampp\xampp\htdocs\drupal47\modules\category\category.module on line 377.
any one else getting these.... so many option available in the the new module can any one explain the structure to container ans why they are different to ordinary taxonomy module
I want to design a CMS site that has a number of 'payment levels' for its use. Users will pay online (via worldpay or something similar) for time limited use of information, databases, etc. There will be different levels of access with different costs attached. Has anyone done this with drupal, and if so, what did you use and how did you implement it?