Closed (duplicate)
Project:
Entity Registration
Version:
7.x-1.2
Component:
Registration Views
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Nov 2013 at 03:23 UTC
Updated:
18 Jan 2015 at 00:59 UTC
Jump to comment: Most recent
Comments
Comment #1
aucovic commentedIn case someone is interested, I came up with a nice and simple solution. I'm implementing hook_menu_alter() and overriding tab's "page callback" so that my custom view is called instead built-in registration list. (Note that solution below covers only tab for NODE entity!)
Comment #2
jenbrinn commentedI am a Drupal noob. Where would I stick this code to make this work?
Thanks in advance!
Comment #3
aucovic commented@jenbrinn You need to create a module and paste that code in your module. Replace
MYMODULEin the code with your's module name and of course editviews_embed_viewparameters as well. If you do not know how to create a simple Drupal module search on Google, it is really simple.Comment #4
jenbrinn commentedOk, thanks. I don't know that I am ready to do that just yet. Is there another way to get the "manage registrations" page to show up again? I need a custom view so that I don't flash user emails to everyone, but I would like to also be able to actually manage the registrations.
Is creating a module the only way to do this?
Comment #5
aucovic commentedEven though it sounds scary, trust me it is very easy to create a simple module. You can build a custom module in less then a minute. You need one folder with one .info file and one .module file. Then all you need to do is copy the code above to the .module file.
Here is a simple step by step: http://www.cryptosmith.com/node/373
Note that my code is overriding existing registration list *in Registration tab*!
Comment #6
jenbrinn commentedOh my goodness, I did it!
That's fantastic, thanks so much! (Yes, I'm a noob, but I'm getting there)
That guide was very helpful, thanks again!
(there should be a way to do this from within Entity Registration somehow, without need for a custom module, but at least it works now ) )
Comment #7
roball commentedThere is a working patch for this problem at #1473714: Provide a view that replicates the "node/%/registrations" list with Views.