I'm trying to add a checkbox just before the "Create new account" button on the user registration page.
I looked up the argument list in the drupal api and am led to believe that by submitting "TRUE" for the last argument, I am indicating that it should be a mandatory field i.e. it must be ticked for the form submission to be valid. I see the checkbox as expected but no red asterisk appears next to it and the form submits without it being checked. Am I missing something here???
Below is the code I have inserted into the user.module file.
After uploading a number of modules (can provide a list of useful) and running any neccesary mysql scripts for them, then i went to admin > modules and it's completely blank, i checked the source of the page and there is nothing there. Help please...
I've just installed Drupal on my webserver. After making some page's, I've found that I can't authorize a group to view a certain page. The thing that I want is to have several pages of which some are visible for everyone (including guests that is) and some pages for authorized users only.
What can I do to accomplish this? Someone on IRC (#drupal-support) told me this isn't possible by default, but there should be a module for it.