Active
Project:
Signup
Version:
6.x-2.x-dev
Component:
Themeability
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Nov 2010 at 19:02 UTC
Updated:
23 Dec 2010 at 08:38 UTC
The signup user form is wrapped in the content of the node when signup is set to "Include on each node" in the advanced settings from signup settings page.
I want my signup form to appear beside my content. But with the actual output of the form on the node, it is not very convenient to theme.
How could render the form to appear out of the content div ?
Illustration :
Actual render
<div class="content">
Content here
<form id="signup-form">Signup form fieldset here</form>
</div>
The render I am looking for
<div class="content">
Content here
</div>
<div class="new-wrapper">
<form id="signup-form">Signup form fieldset here</form>
</div>
Comments
Comment #1
mikou commentedIf I didn't get any feedback, maybe is it because I wasn't clear anouth.
What I am looking for is to print out in my node-type.tpl.php the full user signup form
Something like :
But the signup form is not directly available in $vars...
Any idea ?
Comment #2
joachim commentedIt'll be in $node->content['signup'].
Comment #3
richardj commentedBut that leaves you with 2 instances of the signup form. Any way of get it out of $content? It is possible to disable the form through the advanced settings of the signup module. But that doesn't render the form in the node object. Will try to get it through the module function.
edit: obviously not cck field display ofcourse.
Comment #4
joachim commentedHmm I do seem to remember finding this problematic, so maybe it isn't currently doable.
Let's make this a feature request then.
If you manage to dig any further, please post a patch :)
Comment #5
richardj commentedIt is possible to not render it in content through the following code (in a custom module):
This will prevent the form from rendering.
You then can print the form (on node level, don't know / did not tested it in a block template).