[drupal-devel] Re: [feature] Signin Checkbox

GravyFace gravyface at gmail.com
Thu Sep 22 01:21:49 UTC 2005


I'm not quite sure what you're after here but you should be able to
install flexinode and create your own content type called "foo" and
then "allow signups" for this type.
I created a "training event" and "corporate event" flexinode type for
this very purpose.

Perhaps if you could better describe what you're trying to do, big
picture wise, we could help. I'm becoming quite familiar with the
signup module (I've made quite a few mods and fixed some bugs; just
need to get some time to do a diff and create a patch) so I could
probably help you out here.

On 9/21/05, mdowsett <thehunmonkgroup at yahoo.com> wrote:
> Issue status update for
> http://drupal.org/node/31586
> Post a follow up:
> http://drupal.org/project/comments/add/31586
>
>  Project:      Signup
>  Version:      4.6.0
>  Component:    User interface
>  Category:     feature requests
>  Priority:     normal
>  Assigned to:  mdowsett
>  Reported by:  mdowsett
>  Updated by:   mdowsett
> -Status:       by design
> +Status:       active
>
> Sorry to bug you again.  All nodes that I create have sign in boxes.  I
> don't want that but I see no way to turn it off of certain types of
> nodes.
>
>
> I wish there was still an "Event" node under Create Content and that
> was the only node you could put signups (and RSVPs for that matter).
>
>
> And would you know where I could put a request in for an entire new
> module (kind of related to events).
>
>
> Thx
>
>
>
>
> mdowsett
>
>
>
> Previous comments:
> ------------------------------------------------------------------------
>
> Mon, 19 Sep 2005 00:57:27 +0000 : mdowsett
>
> Can you rig it so that if you are a signed in registered user, you can
> simply check a box that says sign me up for a certain event rather than
> having to fill out name, phone number and email?
>
>
>
>
> ------------------------------------------------------------------------
>
> Mon, 19 Sep 2005 01:34:48 +0000 : thehunmonkgroup
>
> the signup form is not necessary for event signup, by design.  the form
> itself is totally themable, and can be eliminated entirely--the code
> should work fine w/ no form at all.  just head in to signup.theme, and
> comment out the form elements (leave the function and the return
> statement).  that should eliminate the form and just leave the signup
> button.  if that doesn't work, let me know and i'll look into it...
>
>
>
>
> ------------------------------------------------------------------------
>
> Mon, 19 Sep 2005 23:49:37 +0000 : mdowsett
>
> Thanks!  I do follow what you are saying (in theory).  I tried just
> clicking the submit button without filling out the form and it does
> work slick.  It may be worth it to put in your default module a text
> line that says something like "Fill out the form below OR just hit
> Submit and your user info will be "Signed Up".
>
>
> I am not a coder so I am pretty reluctant to adjust  code.  But willing
> to give it a shot!
>
>
> I found this section of the module which I think is the section you are
> talking about:
>
>
>  //user isn't signed up, so check to make sure they have signup
>             //permissions.  if this is the case, then print the themed
> signup form
>             if (user_access('allow signups')) {
>               $form_data = theme('signup_user_form') . $hidden .
> form_submit(t('Click Here to Sign up now'));
>               $form = form($form_data, 'post', url('signup',
> drupal_get_destination()));
>               $output = form_group(t('Sign up for %title',
> array('%title'=>$node->title)), $form);
>
>
> I adjusted the text of the submit button so I think I am in the right
> place but I can't figure out how to delete the fields.
>
>
> Would you mind giving me some replacment lines of code to help me out?
>
>
> Many thanks,
> Mark
>
>
>
>
> ------------------------------------------------------------------------
>
> Tue, 20 Sep 2005 00:44:30 +0000 : mdowsett
>
> I fixed it myself...
>
>
> I was looking at the .module, not the .theme.
>
>
> Works like a charm now!
> Thanks for the tip.
>
>
>
>
>



More information about the drupal-devel mailing list