Can you tell me why is my sight off line. Thank you www.americanjka.org
Leslie B Safar 9th Dan Technical Director of A.J.K.A-I safar@americanjka.org privet@americanjka.org www.americanjka.org Instructor camp 2014
On 03/12/13 10:01, Leslie B Safar wrote:
Can you tell me why is my sight off line. Thank you www.americanjka.org http://www.americanjka.org
Access denied for user 'ajka'@'94.125.176.236' (using password: YES).
Check the database details are correct. Typically that is in *sites/default/settings.php*.
Gibbs
It looks like your database password no longer matches your user name. This could happen if you changed a password with your host.
You have to use a text editor to change the password Drupal uses. This is generally under sites/default in your Drupal directory. The file is called settings.php.
Hope this helps.
-Steve On Dec 3, 2013 3:01 AM, "Leslie B Safar" safar@americanjka.org wrote:
Can you tell me why is my sight off line. Thank you www.americanjka.org
Leslie B Safar 9th Dan Technical Director of A.J.K.A-I safar@americanjka.org privet@americanjka.org www.americanjka.org Instructor camp 2014 http://www.americanjka.org/2014%20camp
-- [ Drupal support list | http://lists.drupal.org/ ]
Check you setting.php and put right database connection.
On Tue, Dec 3, 2013 at 3:31 PM, Leslie B Safar safar@americanjka.orgwrote:
Can you tell me why is my sight off line. Thank you www.americanjka.org
Leslie B Safar 9th Dan Technical Director of A.J.K.A-I safar@americanjka.org privet@americanjka.org www.americanjka.org Instructor camp 2014 http://www.americanjka.org/2014%20camp
-- [ Drupal support list | http://lists.drupal.org/ ]
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
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@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 my problem is that when i go to my sight it incomes up that it is off line. Cal you help me with that
Leslie B Safar 9th Dan Technical Director of A.J.K.A-I safar@americanjka.org privet@americanjka.org www.americanjka.org Instructor camp 2014
Leslie,
All of the responses here have attempted to guide you to what it looks like the issue is. If these directions do not make sense feel free to email me directly and we can discuss.
On Tue, Dec 3, 2013 at 10:56 AM, Leslie B Safar safar@americanjka.orgwrote:
Steve my problem is that when i go to my sight it incomes up that it is off line. Cal you help me with that
Leslie B Safar 9th Dan Technical Director of A.J.K.A-I safar@americanjka.org privet@americanjka.org www.americanjka.org Instructor camp 2014 http://www.americanjka.org/2014%20camp
-- [ Drupal support list | http://lists.drupal.org/ ]
Steve thank you for your patiants but i must be a little slow i am not understanding the information you give me i keep getting the AJKA is off line when i try to bring up my page. Thank you LB
Leslie B Safar 9th Dan Technical Director of A.J.K.A-I safar@americanjka.org privet@americanjka.org www.americanjka.org Instructor camp 2014
Steve my problem is that when i go to my sight it incomes up that it is off line. Cal you help me with that
Leslie B Safar 9th Dan Technical Director of A.J.K.A-I safar@americanjka.org privet@americanjka.org www.americanjka.org Instructor camp 2014
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@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/03/2013 12:06 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@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/ ]
Male sure your are creating a registration field not a node reference field. They are two different types of fields.
Thanks, Steve
On Wed, Dec 4, 2013 at 6:58 AM, Philip_Wetzel@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@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/03/2013 12:06 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@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/ ]
I've tried both. I believe Yaworski used a node reference in the video, right? I think I need to work up enough nerve - wipe it and start over. Thanks, Phil
From: Steve Kessler skessler@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/04/2013 01:21 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@drupal.org
Male sure your are creating a registration field not a node reference field. They are two different types of fields.
Thanks, Steve
On Wed, Dec 4, 2013 at 6:58 AM, Philip_Wetzel@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@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/03/2013 12:06 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@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/ ]
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@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@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/03/2013 12:06 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@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/ ]
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@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/04/2013 03:21 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@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@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/03/2013 12:06 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@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/ ]
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@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Philip_Wetzel@nhd.uscourts.gov Sent: Thursday, December 05, 2013 7:39 AM To: support@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@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/04/2013 03:21 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@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@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/03/2013 12:06 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@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/ ]
Hi David, Ah yes, That makes sense to me! And low and behold the Nid is an available field. You're right node/[nid]/register is what I want.
I had started writing PHP that does a db_query for all nodes of a certain type... Essentially, a home grown view. That way, I would have the NID at my disposal. I think I'll table that and try your way.
It was a great feeling when views started making sense to me. This could be better! I'm trying hard to expand my Drupal horizons while I can. I'm a long time .Net coder that fell into this Drupal opportunity 6 months ago. I certainly have more than I would if I had done this writing .Net code 6 months ago. Plus, it'll be maintainable by non-coders long after I have left.
I'm trying to visualize how I would take this functionality and package it up into a module. Feel free to have fun if I'm way off here. Create a .info and .module file. In the .module I would want to write a hook into views that would create my custom view? It's reasonable to say module writers are PHP coders?
Thanks a bunch, Phil
From: "Metzler, David" metzlerd@evergreen.edu To: "'support@drupal.org'" support@drupal.org, Date: 12/05/2013 11:43 AM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Philip_Wetzel@nhd.uscourts.gov Sent: Thursday, December 05, 2013 7:39 AM To: support@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@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/04/2013 03:21 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@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@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/03/2013 12:06 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@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/ ]
Re the views part, views have an export function from the ui to create a view in code. Also look at the features module, it provides a ui to create modules from views, content types, panels and more (it's often used for deployment as well). Both use an existing default views hook. On 5 Dec 2013 18:41, Philip_Wetzel@nhd.uscourts.gov wrote:
Hi David, Ah yes, That makes sense to me! And low and behold the Nid is an available field. You're right node/[nid]/register is what I want.
I had started writing PHP that does a db_query for all nodes of a certain type... Essentially, a home grown view. That way, I would have the NID at my disposal. I think I'll table that and try your way.
It was a great feeling when views started making sense to me. This could be better! I'm trying hard to expand my Drupal horizons while I can. I'm a long time .Net coder that fell into this Drupal opportunity 6 months ago. I certainly have more than I would if I had done this writing .Net code 6 months ago. Plus, it'll be maintainable by non-coders long after I have left.
I'm trying to visualize how I would take this functionality and package it up into a module. Feel free to have fun if I'm way off here. Create a .info and .module file. In the .module I would want to write a hook into views that would create my custom view? It's reasonable to say module writers are PHP coders?
Thanks a bunch, Phil
From: "Metzler, David" metzlerd@evergreen.edu To: "'support@drupal.org'" support@drupal.org, Date: 12/05/2013 11:43 AM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Philip_Wetzel@nhd.uscourts.gov Sent: Thursday, December 05, 2013 7:39 AM To: support@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@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/04/2013 03:21 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@drupal.org
Here is what I do.
- Create registration type
- Create a content type with a registration field.
- 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@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@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/03/2013 12:06 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@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. IfI 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 onthe register tab and I get node/457/register.
How can I create a button that would take me strait tonode/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/ ]
My implementation of Entity Registration is coming along, but I have a few deal breaker issues, that I don't know how to fix yet. I haven't had to write any PHP code (or modify theme) at this point, but I think I'm going to have to in order to achieve the behavior I need.
"Modify the theme" is still a hurdle I haven't cleared yet. I believe it involves writing hooks, which is a new concept for me. I think when you see an example of a hook, you will see it in the form "hook_SomeFunction". When you write the hook for your implementation you replace the word hook with the name of your theme. SomeFunction is a function that does already exist, and you are overriding it. Is that all correct?
Here are the specific tasks I need to accomplish.....
· David's suggestion on how to create the "Click to Register" Link works great, except I still get all 4 tabs (view, edit, manage registrations, register). I just need the register form with no other tabs.
· Need to allow users to register when not logged in. Out of the box, you get 403 :Access denied.
· When I do manage to get around this, I will also need to suppress the dropdown after "This registration is for" (Myself, other account, other person). And the email box needs to be required. Also, that email must be the one used when sending an email to all registrants.
· When creating an event, there is a required comment field. I think this is not a deal breaker, but I would like to get rid of it. It's not part of the registration type or content types I'm using. Where is this?
· Wait list is not working. Nothing seems to happen when capacity is exceeded . I remember seeing discussion activity on this somewhere.
That's my list. I imagine these issues would be relatively easy for a seasoned Drupal developer. I think/hope they are not out of my capabilities, but I expect will be some what challenging. I appreciate any and all help. Thanks in advance, Phil
From: Philip_Wetzel@nhd.uscourts.gov To: support@drupal.org, Date: 12/05/2013 12:41 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@drupal.org
Hi David, Ah yes, That makes sense to me! And low and behold the Nid is an available field. You're right node/[nid]/register is what I want.
I had started writing PHP that does a db_query for all nodes of a certain type... Essentially, a home grown view. That way, I would have the NID at my disposal. I think I'll table that and try your way.
It was a great feeling when views started making sense to me. This could be better! I'm trying hard to expand my Drupal horizons while I can. I'm a long time .Net coder that fell into this Drupal opportunity 6 months ago. I certainly have more than I would if I had done this writing .Net code 6 months ago. Plus, it'll be maintainable by non-coders long after I have left.
I'm trying to visualize how I would take this functionality and package it up into a module. Feel free to have fun if I'm way off here. Create a .info and .module file. In the .module I would want to write a hook into views that would create my custom view? It's reasonable to say module writers are PHP coders?
Thanks a bunch, Phil
From: "Metzler, David" metzlerd@evergreen.edu To: "'support@drupal.org'" support@drupal.org, Date: 12/05/2013 11:43 AM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Philip_Wetzel@nhd.uscourts.gov Sent: Thursday, December 05, 2013 7:39 AM To: support@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@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/04/2013 03:21 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@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@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/03/2013 12:06 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@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/ ]
Make sure you are setting the permissions for *each* of your registration entity types. If you let people register for others in the configuration make sure this permission is set as well. In this same manner by not allowing the register other permission this will suppress the registration for others.
I think this will get you to a next strong milestone.
On Mon, Dec 9, 2013 at 8:07 AM, Philip_Wetzel@nhd.uscourts.gov wrote:
My implementation of Entity Registration is coming along, but I have a few deal breaker issues, that I don't know how to fix yet. I haven't had to write any PHP code (or modify theme) at this point, but I think I'm going to have to in order to achieve the behavior I need.
"Modify the theme" is still a hurdle I haven't cleared yet. I believe it involves writing hooks, which is a new concept for me. I think when you see an example of a hook, you will see it in the form "hook_SomeFunction". When you write the hook for your implementation you replace the word hook with the name of your theme. SomeFunction is a function that does already exist, and you are overriding it. Is that all correct?
Here are the specific tasks I need to accomplish.....
· David's suggestion on how to create the "Click to Register" Link works great, except I still get all 4 tabs (view, edit, manage registrations, register). I just need the register form with no other tabs.
· Need to allow users to register when not logged in. Out of the box, you get 403 :Access denied.
· When I do manage to get around this, I will also need to suppress the dropdown after "This registration is for" (Myself, other account, other person). And the email box needs to be required. Also, that email must be the one used when sending an email to all registrants.
· When creating an event, there is a required comment field. I think this is not a deal breaker, but I would like to get rid of it. It's not part of the registration type or content types I'm using. Where is this?
· Wait list is not working. Nothing seems to happen when capacity is exceeded . I remember seeing discussion activity on this somewhere.
That's my list. I imagine these issues would be relatively easy for a seasoned Drupal developer. I think/hope they are not out of my capabilities, but I expect will be some what challenging. I appreciate any and all help. Thanks in advance, Phil
From: Philip_Wetzel@nhd.uscourts.gov To: support@drupal.org, Date: 12/05/2013 12:41 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@drupal.org
Hi David, Ah yes, That makes sense to me! And low and behold the Nid is an available field. You're right node/[nid]/register is what I want.
I had started writing PHP that does a db_query for all nodes of a certain type... Essentially, a home grown view. That way, I would have the NID at my disposal. I think I'll table that and try your way.
It was a great feeling when views started making sense to me. This could be better! I'm trying hard to expand my Drupal horizons while I can. I'm a long time .Net coder that fell into this Drupal opportunity 6 months ago. I certainly have more than I would if I had done this writing .Net code 6 months ago. Plus, it'll be maintainable by non-coders long after I have left.
I'm trying to visualize how I would take this functionality and package it up into a module. Feel free to have fun if I'm way off here. Create a .info and .module file. In the .module I would want to write a hook into views that would create my custom view? It's reasonable to say module writers are PHP coders?
Thanks a bunch, Phil
From: "Metzler, David" metzlerd@evergreen.edu To: "'support@drupal.org'" support@drupal.org, Date: 12/05/2013 11:43 AM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Philip_Wetzel@nhd.uscourts.gov Sent: Thursday, December 05, 2013 7:39 AM To: support@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@denverdataman.com> To: "support@drupal.org" <support@drupal.org
,
Date: 12/04/2013 03:21 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@drupal.org
Here is what I do.
- Create registration type
- Create a content type with a registration field.
- 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@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@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/03/2013 12:06 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@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. IfI 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 onthe register tab and I get node/457/register.
How can I create a button that would take me strait tonode/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/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
Hi Steve, That was it. I didn't think that the reg type was on the permissions screen, but it is. That killed 2 birds. Anonymous users can now register, and they don't see the "Manage Registrations" or "edit" tabs. Just 2 important issues left! Waitlist not working, and getting it to use the email from the other email field for anonymous registrants. I think the waitlist problem must be some sort of setup issue. No idea about the email one yet.
Getting there, Thanks again, Phil
From: Steve Kessler skessler@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/09/2013 03:20 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@drupal.org
Make sure you are setting the permissions for each of your registration entity types. If you let people register for others in the configuration make sure this permission is set as well. In this same manner by not allowing the register other permission this will suppress the registration for others.
I think this will get you to a next strong milestone.
On Mon, Dec 9, 2013 at 8:07 AM, Philip_Wetzel@nhd.uscourts.gov wrote: My implementation of Entity Registration is coming along, but I have a few deal breaker issues, that I don't know how to fix yet. I haven't had to write any PHP code (or modify theme) at this point, but I think I'm going to have to in order to achieve the behavior I need.
"Modify the theme" is still a hurdle I haven't cleared yet. I believe it involves writing hooks, which is a new concept for me. I think when you see an example of a hook, you will see it in the form "hook_SomeFunction". When you write the hook for your implementation you replace the word hook with the name of your theme. SomeFunction is a function that does already exist, and you are overriding it. Is that all correct?
Here are the specific tasks I need to accomplish.....
· David's suggestion on how to create the "Click to Register" Link works great, except I still get all 4 tabs (view, edit, manage registrations, register). I just need the register form with no other tabs.
· Need to allow users to register when not logged in. Out of the box, you get 403 :Access denied.
· When I do manage to get around this, I will also need to suppress the dropdown after "This registration is for" (Myself, other account, other person). And the email box needs to be required. Also, that email must be the one used when sending an email to all registrants.
· When creating an event, there is a required comment field. I think this is not a deal breaker, but I would like to get rid of it. It's not part of the registration type or content types I'm using. Where is this?
· Wait list is not working. Nothing seems to happen when capacity is exceeded . I remember seeing discussion activity on this somewhere.
That's my list. I imagine these issues would be relatively easy for a seasoned Drupal developer. I think/hope they are not out of my capabilities, but I expect will be some what challenging. I appreciate any and all help. Thanks in advance, Phil
From: Philip_Wetzel@nhd.uscourts.gov To: support@drupal.org, Date: 12/05/2013 12:41 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@drupal.org
Hi David, Ah yes, That makes sense to me! And low and behold the Nid is an available field. You're right node/[nid]/register is what I want.
I had started writing PHP that does a db_query for all nodes of a certain type... Essentially, a home grown view. That way, I would have the NID at my disposal. I think I'll table that and try your way.
It was a great feeling when views started making sense to me. This could be better! I'm trying hard to expand my Drupal horizons while I can. I'm a long time .Net coder that fell into this Drupal opportunity 6 months ago. I certainly have more than I would if I had done this writing .Net code 6 months ago. Plus, it'll be maintainable by non-coders long after I have left.
I'm trying to visualize how I would take this functionality and package it up into a module. Feel free to have fun if I'm way off here. Create a .info and .module file. In the .module I would want to write a hook into views that would create my custom view? It's reasonable to say module writers are PHP coders?
Thanks a bunch, Phil
From: "Metzler, David" metzlerd@evergreen.edu To: "'support@drupal.org'" support@drupal.org, Date: 12/05/2013 11:43 AM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Philip_Wetzel@nhd.uscourts.gov Sent: Thursday, December 05, 2013 7:39 AM To: support@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@denverdataman.com> To: "support@drupal.org" < support@drupal.org>, Date: 12/04/2013 03:21 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@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@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/03/2013 12:06 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@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/ ]
-- [ 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/ ]
This distribution list has been invaluable. Again, I thank all that respond. Are there others?
Thanks, Phil
Not really mail lists, but there is groups.drupal.org, which sees a lot more activity then here. Also the Drupal group on Linkedin and the Drupal community on Google+ are really active.
Jamie Holly http://hollyit.net
On 12/9/2013 10:10 AM, Philip_Wetzel@nhd.uscourts.gov wrote:
This distribution list has been invaluable. Again, I thank all that respond. Are there others?
Thanks, Phil
There is also http://drupal.stackexchange.com, which has really become a main source for Drupal support questions.
Steve
On Dec 9, 2013, at 7:31 AM, Jamie Holly hovercrafter@earthlink.net wrote:
Not really mail lists, but there is groups.drupal.org, which sees a lot more activity then here. Also the Drupal group on Linkedin and the Drupal community on Google+ are really active.
Jamie Holly http://hollyit.net
On 12/9/2013 10:10 AM, Philip_Wetzel@nhd.uscourts.gov wrote:
This distribution list has been invaluable. Again, I thank all that respond. Are there others?
Thanks, Phil
-- [ Drupal support list | http://lists.drupal.org/ ]
* Philip_Wetzel@nhd.uscourts.gov Philip_Wetzel@nhd.uscourts.gov [131209 07:11]:
This distribution list has been invaluable. Again, I thank all that respond. Are there others?
I echo about drupal groups. In fact, I would recommend that you look for a drupal group in your area. In my area (which is Southcentral Alaska) a drupal group meets monthly and IMHO those physical meetups add a little something ...
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@evergreen.edu To: "'support@drupal.org'" support@drupal.org, Date: 12/05/2013 11:43 AM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Philip_Wetzel@nhd.uscourts.gov Sent: Thursday, December 05, 2013 7:39 AM To: support@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@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/04/2013 03:21 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@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@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/03/2013 12:06 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@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/ ]
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@nhd.uscourts.gov To: support@drupal.org, Cc: support-bounces@drupal.org Date: 12/16/2013 02:08 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@evergreen.edu To: "'support@drupal.org'" support@drupal.org, Date: 12/05/2013 11:43 AM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Philip_Wetzel@nhd.uscourts.gov Sent: Thursday, December 05, 2013 7:39 AM To: support@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@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/04/2013 03:21 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@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@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/03/2013 12:06 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@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/ ]
I now know what I did. I added Spaces used field to the view where I have the link. I don't know why that breaks it, looks like a bug. No matter to me, I didn't really want that field, I just had it on there for informational purposes. I want to inform the viewer if registration is open or closed. That is not working for me. It always displays "open" even after capacity is reached.
When capacity is reached, I want it to change the status to closed and allow the user to add his/herself to a waitlist. As it is now, it just keeps adding registrations to the main list. I've figured out how to create a module and starting to play around with hooks. A good step for me. It appears that becoming familiar with the code is the way to figure out how to make this thing do what I need it to. Sorry about the flurry of emails. Thanks all, Phil
From: Philip_Wetzel@nhd.uscourts.gov To: support@drupal.org, Cc: support-bounces@drupal.org Date: 12/16/2013 02:08 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@evergreen.edu To: "'support@drupal.org'" support@drupal.org, Date: 12/05/2013 11:43 AM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Philip_Wetzel@nhd.uscourts.gov Sent: Thursday, December 05, 2013 7:39 AM To: support@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@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/04/2013 03:21 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@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@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/03/2013 12:06 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@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/ ]
Sometimes adding fields to a view causes it to only show if there is no content for that field. Then a 'default' value specified for that context may get used in generating the link. Not sure if that's what happened for you, but it might help you troubleshoot in the future.
Dave
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Philip_Wetzel@nhd.uscourts.gov Sent: Monday, December 16, 2013 12:23 PM To: support@drupal.org Cc: support-bounces@drupal.org Subject: Re: [support] Registration module question...
I now know what I did. I added Spaces used field to the view where I have the link. I don't know why that breaks it, looks like a bug. No matter to me, I didn't really want that field, I just had it on there for informational purposes. I want to inform the viewer if registration is open or closed. That is not working for me. It always displays "open" even after capacity is reached.
When capacity is reached, I want it to change the status to closed and allow the user to add his/herself to a waitlist. As it is now, it just keeps adding registrations to the main list. I've figured out how to create a module and starting to play around with hooks. A good step for me. It appears that becoming familiar with the code is the way to figure out how to make this thing do what I need it to. Sorry about the flurry of emails. Thanks all, Phil
From: Philip_Wetzel@nhd.uscourts.gov To: support@drupal.org, Cc: support-bounces@drupal.org Date: 12/16/2013 02:08 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@evergreen.edu To: "'support@drupal.org'" support@drupal.org, Date: 12/05/2013 11:43 AM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Philip_Wetzel@nhd.uscourts.gov Sent: Thursday, December 05, 2013 7:39 AM To: support@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@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/04/2013 03:21 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@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@denverdataman.com To: "support@drupal.org" support@drupal.org, Date: 12/03/2013 12:06 PM Subject: Re: [support] Registration module question... Sent by: support-bounces@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@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/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]