[support] Registration module question...

Philip_Wetzel at nhd.uscourts.gov Philip_Wetzel at nhd.uscourts.gov
Mon Dec 16 20:03:00 UTC 2013


By some twist of fate I disabled Registration Views and it works again.
While, I'm happy that it is working, I have no clue what happened.



From:	Philip_Wetzel at nhd.uscourts.gov
To:	support at drupal.org,
Cc:	support-bounces at drupal.org
Date:	12/16/2013 02:08 PM
Subject:	Re: [support] Registration module question...
Sent by:	support-bounces at drupal.org



Hi David,
I broke this and don't know how.  I've made changes (I thought) in other
areas, but I
don't think it could have broken it.

Now, when I click on the link it translates to node/1/register - not to
node/479/register.
Any idea what happened?
Thanks,
Phil



From:		 "Metzler, David" <metzlerd at evergreen.edu>
To:		 "'support at drupal.org'" <support at drupal.org>,
Date:		 12/05/2013 11:43 AM
Subject:		 Re: [support] Registration module question...
Sent by:		 support-bounces at drupal.org



I just got done doing something similar where I was creating a "contest"
node type with associated "entry" nodes.  I used entityreference and
entityreference_prepopulate to allow me to create relationships between two
nodes, and again I was left with trying to figure out how to generate a
link for the user to create this content associated with the correct node.


The basic strategy for generating the link was as follows

First create a "view" that shows a single node with fields (or a list),
with whichever of them you'd like to show.  Next add the nid as a field to
the view. This field will eventually become your link.   In the
configuration of the nid field choose "Rewrite Results".  Check the
"Rewrite the output of this field" options and type in the text you want
this link to appear as. Check the "Output this field as a link" option
specify the link path that you'd like to see.  In your case it's probably
node/[nid]/register , but in my case I was building
node/add/entry?field_contest=[nid] and entityprepopulate took care of
defaulting in the referenced entity and hiding the field for the user.

This magic is basically how Organic Groups works these days which is where
I found the information.

Hope that strategy helps you.

-----Original Message-----
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of Philip_Wetzel at nhd.uscourts.gov
Sent: Thursday, December 05, 2013 7:39 AM
To: support at drupal.org
Subject: Re: [support] Registration module question...

Hi Steve,
Thanks so much for taking the time to help me through this.  I will do my
best to return the effort somehow.

I wiped everything out and started over.  Followed your steps.  I've pretty
much been this far before.  Now, when I view the node (logged in as admin)
I see the event content with 4 tabs.
This is fine for the person that is going to administer the event.   They
can view/edit the event, see who
is registered, register someone, etc.  I've created a view to better refine
that.

Now, comes my problem.  I think I know some of the steps, but can't quite
get it all the way yet.
I want to have anyone off the street be able to go to our site, get a list
of all the events.
No problem there, create a view.

Each event will have a link to the registration form and will allow them to
register.
This is pretty much where I fall on my face every time.
If I go to the event I created in this case and clicked on the register
tab, the URL
would be localhost/node/467/register.   I could easily hard code a link and
do
it manually.  Of course, that is no good.

I can almost see how to do this with PHP, but I imagine there's a way to do
this without.
I find it hard to believe that this wheel doesn't already exist.
You certainly don't want your registrants to see the "manage Registrations"
tab.
But, out of the box this is the only way I see to do it.

As I said, the Toronto Web Developer guy does exactly that, (with Node
References).
I've been through his video dozens of times, and I always end up close but
no cigar.
As I said, he's on Drupal 7, but I think the video was recorded prior to
the release of the Registrations module.  Actually, I just checked on that
a little.  The video was uploaded
May 15, 2011.    Looks like Entity Registration's first dev release was
released 4 months later.

At the very least, writing up my little dilemma helps me think it through.
I think a PHP solution
is starting to materialize in my mind.  If I was smart I would take this
opportunity to figure out
modules, and hooks, and what not.    I saw the Simplest module example and
understand it.
OK, I need to stop finger babbling and get my brain in gear.

Thanks,
Phil





From:		 		  Steve Kessler <skessler at denverdataman.com>
To:		 		  "support at drupal.org" <support at drupal.org>,
Date:		 		  12/04/2013 03:21 PM
Subject:		 		  Re: [support] Registration module
question...
Sent by:		 		  support-bounces at drupal.org



Here is what I do.

1.  Create registration type
2.  Create a content type with a registration field.
3. Create a node of the new content field that selects the registration
type  that I created.

This has worked very well for me.


On Wed, Dec 4, 2013 at 6:58 AM, <Philip_Wetzel at nhd.uscourts.gov> wrote:
  Thanks Steve,
  It helps, but it's a bit beyond my current level of Drupal expertise.  I
  think I'm
  so close I can taste it.  I think I have everything I need (modules or
  coding) and it's just a matter
  of setup.

  Yaworski of Toronto Website Developer is doing exactly what I want to do,
  but I think the combination
  of modules he is using is just prior to when all of this was integrated
  into one module (Registrations).
  Specifically, he sets up the "Click to Register" feature right about 2:40
  in the youtube video below.

  http://www.youtube.com/watch?v=0CHC8I9xZIg

  He uses node references.  I go through the steps, but I don't end up with
  a
  link to my registration page.
  I don't end up with a link at all.
  I think the answer is staring me in the face, but I just can't see the
  trees through the forest.
  Phil



  From:   Steve Kessler <skessler at denverdataman.com>
  To:     "support at drupal.org" <support at drupal.org>,
  Date:   12/03/2013 12:06 PM
  Subject:        Re: [support] Registration module question...
  Sent by:        support-bounces at drupal.org



  You have a few of choices.

   You can make a view and use replacement tokens.  Using the Views module
  you could for example display your listings on a calendar or in a table.

  If you want people to view the specific node then you could edit your
  theme
  template file to but a button on the node itself.  I think you could also
  do this maybe even without code using the Display Suite Module  (
  https://drupal.org/project/ds).

  In terms of taking out the tab that would also require changes to your
  theme.

  Hope this helps.

  -Steve


  On Tue, Dec 3, 2013 at 9:34 AM, <Philip_Wetzel at nhd.uscourts.gov> wrote:
    I'm using the registration module to create scheduled events.
    I have a view that shows the events.
    I would like to add a button or a link that would bring up the
    registration
    form for that event.

    I have the title setup as a link to the original piece of content.  If
  I
    click on it, I get the
    tabs (View, Edit, Manage Registrations, Register.    I want my button
  to
    go
    strait to that
    node.

    For instance, the node for the event is        node/457.  I click on
  the
    register tab and I
    get        node/457/register.

    How can I create a button that would take me strait to
  node/457/register?
    Also, I would need it to not show the other 3 tabs.    I don't want the
    people registering for the
    event to be able to have those functions available.

    Is that enough information?
    Thanks,
    Phil Wetzel

    --
    [ Drupal support list | http://lists.drupal.org/ ]



  --
  Steve Kessler
  Owner and Lead Consultant
  Denver DataMan, LLC
  303-587-4428--
  [ Drupal support list | http://lists.drupal.org/ ]

  --
  [ Drupal support list | http://lists.drupal.org/ ]



--
Steve Kessler
Owner and Lead Consultant
Denver DataMan, LLC
303-587-4428--
[ Drupal support list | http://lists.drupal.org/ ]

--
[ Drupal support list | http://lists.drupal.org/ ]
--
[ Drupal support list | http://lists.drupal.org/ ]


--
[ Drupal support list | http://lists.drupal.org/ ]




More information about the support mailing list