Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I would like the ability to have certain nodes (probably pages) have a button at the bottom where the user can "agree" to the terms or regulations that are written in the node.
Once the user agrees, a flag would be added to their account, and in a perfect world, would be added to the user summary in /admin/user .
I don't think that a new node is applicable, since its really just going to be a 'page' node - so maybe a custom module? or is there some trick with the Contemplate and Views module I can use?
I am interested in why this doesn't work (4.7), and what is required to make it work. This example displays a form, if I fill in the box and submit the form I can catch the button 'Submit' in the $_POST['op'].
If I catch the $op, then I add a little "Extra" to the form array. In the theme function, I then try to print the result (including the "Extra". This doesn't work, the extra is lost... why?
I'm new to the CCK module and think it is great. I wish I could create instances of a content type using a dropdown to set the node Title, to make normalized data.
Could I hack this?
Could this be a future option?
Does this exsist anywhere else (some other node type/module)?
I install modul banner as i read in instal.txt but in time a want to upload the very first - there is the error:
warning: getimagesize(http://www.decin.cz/files/images/slunicko.gif): failed to open stream: Connection timed out in /home/decin/www/decin-ng/modules/banner/banner.module on line 630.
Hello,
I am New to drupal development ,
I need to know how can I Set and Get variables in Variable Table using hook_setting or other way ..
As I don't want to use Hard Coded name.
I want to use variables to be Set In variable table and then to Get them
like...
DataBase Server Name
DataBase Name
Directories Name etc..
Please tell me a way to solve this...
Thanks
[EDIT: kbahey -- Moved to module development forum since this is not a scalability issue]