Posted by manoloka on April 26, 2009 at 10:16am
| Project: | Terms of Use |
| Version: | 7.x-1.1 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
| Issue tags: | +patch |
Issue Summary
Hi there,
When adding more fields to the registration form the T&C field stays right under the email field. (See pic)
I'd like to see the T&C field at the bottom just before the submit button.
Is there a way to control the weight of thi field?
Or any other suggestions?
I use Content Profile (http://drupal.org/project/content_profile)
| Attachment | Size |
|---|---|
| t&c in the middle.jpg | 67.14 KB |
Comments
#1
I having exactly the same problem infact my captcha is also appearing between form fields. let me know if you find something.
#2
weight should be available on the settings page.
#3
I made a patch for this. It is my first on drupal.org.
#4
Until this is implemented as a feature, those who need to change the weight can do so manually by editing the code in the "terms_of_use.module" file:
// Adding the fieldset.$form['terms_of_use'] = array(
'#type' => 'fieldset',
'#title' => $fieldset_name,
'#weight' => 10,
);
. . . changing of course the value of "10" to your choice.