Closed (won't fix)
Project:
Terms of Use
Version:
6.x-1.12
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2010 at 01:54 UTC
Updated:
7 Jul 2012 at 16:47 UTC
Jump to comment: Most recent file
Comments
Comment #1
mrtoner commentedThis patch seems to work well to cause the terms of use to show when a registration form is displayed by Inline Registration.
Comment #2
kars-t commentedCould you please explain why are you changing hooks here?
I can't get a grip on what you are doing because it seems you are altering TOU by it's core. Please explain what are you doing and why.
Powered by Dreditor.
Comment #3
mrtoner commentedBecause I don't know enough about Drupal's Forms API, I'll commence talking out of my butt here. Since Inline Registration uses drupal_retrieve_form() to display the registration form, hook_form_FORM_ID_alter() is never fired. Or maybe it's getting fired out of sequence with hook_form_alter, which Inline Registration implements. In any case, TOU never alters the user_registration form when it's displayed by IR.
By changing this to hook_user, TOU displays on the form when retrieved by IR.
Comment #4
Clément commentedHello,
I have the same problem. Does this patch also works for version 6.x-1.12? Thank you.
Comment #5
kars-t commented