Hi,

I need to allow users to print information after registration. Could somebody help me?

Perhaps maintaining the form filled after registration or maybe redirecting user to a new page and showing there their information?

Thanks!

Comments

rudiedirkx’s picture

Which users (the registree?) do you want to be able to print what information (a success message?)? I'm sure I can help, but you'll have to clarify.

Do you know how hook_form_alter() works?

dromansab’s picture

The best would be, after the registree submits a form, redirect to a new page and show the a success message, and with all the information filled in the form.

rudiedirkx’s picture

You mean redirect to the registration entity page? It already shows a message and you could create a view that shows the current user's registration + details. Would that do?

dromansab’s picture

Yes!

rudiedirkx’s picture

Do you need help with that? http://drupal.org/node/1736484#comment-6792122 might be useful.

dromansab’s picture

Yes, maybe..
But my users are anonymous. Will it work?
Thanks

dromansab’s picture

Hi,

I was thinking on another solution. I have read some issues and i have found a possibility, but I don't know if it is possible,

I try to explain it:

- I've created a rule that redirects a user after submit a new node registration
- My idea is redirect the user to the node registration page - [node-registration:url]. I've set the permissions to anonymous user to view, edit and cancel own registration but drupal shows the "Access denied" page.
- I've found that I can made a url to cancel the registration with secret field [node-registration:url]/cancel?secret=[node-registration:secret] and it works.
- But, if i try to do the same to view the node, I can't: [node-registration:url]?secret=[node-registration:secret]

Is there any chance to do it?

Thanks.

dromansab’s picture

I am using 7.x-1.4 version

dromansab’s picture

Status: Active » Closed (fixed)

It works!!

I've submit this modification http://drupalcode.org/project/node_registration.git/commitdiff/29170d6 and now I've only to redirect user to [node-registration:url]?secret=[node-registration:secret] after registration.

Many thanks for everything.

rudiedirkx’s picture

Version: 7.x-1.10 » 7.x-1.4

You should update to 1.10 anyway.