I have created a view for events

I want to print out the signup_view.

This works in a node finen print $node->signup_view .

I can't get it to pring in a view even if I do

$node = node_load($nid); //nid is passed to the view.

What am I doing wrong?

Chris

CommentFileSizeAuthor
#5 signup button.jpg11.4 KBsocialnicheguru

Comments

socialnicheguru’s picture

anyone?

I load the node in my view and I print this out but there is nothing that comes up.

print $node->signup_view works just fine in my node

and this works too
print $node->content['signup']['#value']

but it doesn't seem to work in the view.

Hints? Help?

thanks,
Chris

jesss’s picture

Subscribing. I'm also trying to figure this out. This could be a very powerful module for me, but only if I can allow people to sign up from a list view.

dww’s picture

Status: Active » Postponed (maintainer needs more info)

Sorry I didn't reply earlier, but I really I don't understand this support request. Is this the same thing as #282232: $node->signup_view available to view template?

"I can't get it to pring in a view even if I do"

Huh?

Can someone please carefully explain, in detail, what you're trying to accomplish and the steps you've taken?

If you mean Views, please export the view and attach that with your reply. What do you want included in the view that you're not getting?

@jesss #2: "only if I can allow people to sign up from a list view"

You mean you want a "signup" link as a field you can put in views? What if there's a form you have to fill out? That part sounds like #208831: Quick Signup via URL -- see the discussion there.

jesss’s picture

#208831: Quick Signup via URL is close, but not quite what I'm looking for. I would like to be able to access the signup form itself in my view, as I can in my node template, without having to send people to the node itself.

The view in question is a list of television episodes and their scheduled airdates and times. I would like to use the signup module to allow people to get emailed reminders when the show they're interested in is close to airing. Whether the actual signup process should be accomplished through AJAX-y goodness or some sort of popup window I haven't fully decided yet, but I can't do either if I can't access the signup form.

Beyond my initial experimentation, I haven't done much with this yet, as #86462: add backend support for cck date fields needs to be resolved before I can even think about moving forward.

socialnicheguru’s picture

StatusFileSize
new11.4 KB

You can use the link $node->signup_view and print it in a node.

I want to print the singup button and or comment form in a view. I want to add this element for signup to any view.
So i would like to add $node->signup_view to a view and have the signup button show up
However, it is not defined in a view. I cannot figure out why.

You cannot print it in a view. I have been trying to do it.

I was able to print it in the node, but not in a view. What I uploaded shows the signup botton (which I cannot theme nor can I seem to get rid of the rectangular box around it).

dww’s picture

Title: signup view problem printing in a view » expose signup form to views
Component: User interface » Views integration
Category: support » feature
Status: Postponed (maintainer needs more info) » Postponed

You want the signup form as something you can include in a view. Given how views and FormAPI work in D5, this is basically impossible. I hear it's now feasible in D6, but I make no promises on when/if I'll implement this. At the very least, this request is blocked on #222217: Port to 6.x. Once there's a 6.x-1.0 release, we can re-visit this and see if/how we want to make it possible.

dww’s picture

Status: Postponed » Closed (duplicate)

Heh, I just noticed the earlier request for this feature: #166619: expose form elements as views "fields" I knew this was all too familiar... ;)

jesss’s picture

Status: Closed (duplicate) » Postponed

Actually, they're separate requests. This request is for the actual form to be exposed to views, not just a button that links elsewhere.

dww’s picture

Status: Postponed » Closed (duplicate)

No, they're not. The older issue is really about exposing the signup form to views, it just happens that the use-case they had in mind was a site that required no additional fields on the signup form.