Dear :
I have download node registration module forn durpal 7.
I builde a context type: signup01
use : admin :administrator
ZZZ :genernal registration user
anonymouse
now , I build a node99 by signup01 .
1.max signup count?
I have change setting of this "signup01".
(please see the attachement max_slot)
can resignup: admin ,anonymouse
can't resignup: ZZZ
Q1.how can I set a user can signup 3 time?
Q2.where can I set for total count of this signup?
(if i promiss 100 ppeople to signup.where to set.)
2.can't see, edit by signup user.
I had change the promesion for it (see attcahemnt -permission)
but, zzz (general user) can see or edit his signup.
thx
Comments
Comment #1
rudiedirkx commentedEhm... I don't know what you're talking about...
The settings in your
determine how many slots a user can select. Not the number of registrations. (The number of slots is a dropdown in 1 registration.)
Only admins can re-signup. Or you have to override NR access control.
You're gonna have to be much clearer if that's not good enough.
Comment #2
baseball commentedDear :
thx for your help.
Beacuse I had tried to add a ct filed to regisate the "Field for capacity".
it can limited the max regisate count. (Field for capacity-1 for really).
And SETTING-->NUMBERS-->checked Allow exceeding capacity,it can registe over (Field for capacity-1) count.
SO ,I thought the slot will have relationship to it...
what is the function of the slot ?
where is NR access control?
And,How can I export the detail of this node registration by one article.
thx.
Comment #3
rudiedirkx commentedThe field for capacity just overrules the normal, total capacity. It doesn't do anything with "Max slots per ... registration". It also doesn't do anything with more than 1 registration per user. NR assumes everywhere that 1 user can have only 1 registration, unless admin. You can overrule that with access hooks.
NR access control is hooks:
node_registration_access()triggers a hooknode_registration_accesswhere you can override true/false access for all operations. That will require some custom code. Implementhook_node_registration_access()and see how it works. I'll add an.api.phpsoon, with more explanation about NR hooks.Comment #4
baseball commentedDear rudiedirkx:
thx for your help。
I don't know how to use hook ,and don't know where is node_registration_access....
SO,I must wait it.
And,It's possible to expot the detail of registration for every event?
thx.
Comment #5
rudiedirkx commentedExport what? Registrations? Yes, you can do that with Views Data Export. Make a View with all the fields you want and add a VDE display (I think that's how it works).
Comment #6
baseball commentedDear:
Thx for your help.
I add a view(page):
*Title:NR3_Detail
*PAGE SETTINGS:
Path:/node/%/NR3_detail
Menu:Tab: NR3_detial
Access:Permission | Administer registration
*CONTEXTUAL FILTERS
Content: Nid
Then, I saw the "NR3_Detail" tab show on every node.
BUT,Your default view of the nodule just show on the content type of "Node Registration".
How to do it?
Comment #7
rudiedirkx commentedWhat?
Did you make a separate View with Views Data Export display? It must be attached to a page. Can be any URL. You can also make the VDE display in the existing NR View. If you need help with VDE, ask them.
Comment #8
baseball commentedDear rudiedirkx :
Sorry, I dien;t descript it clean.
I had try to install VDE display.
but, In this case , I want specila view to show only on specila , not every content type.
I build a view named: "NR"
and I build a view page:
****Title:NR3_Detail
****PAGE SETTINGS:
Path:/node/%/NR3_detail
Menu:Tab: NR3_detial
Access:Permission | Administer registration
****CONTEXTUAL FILTERS
Content: Nid
************************that' copy the format form your "One event's registrations" in Node registrations.
the your "Registrations" tab just show one the content type of node registration.
but,my Title:NR3_Detail show on every node.
I just want it show on special content type like "Registrations" that you made.
I had attach 2 pic:
NODE_RG.jpg:show your "Registration" tab just show on the registration node type.
NODE_RG_NO.jpg:show "NR3_Detail" Tabs on not registration node type.
thx
Comment #9
baseball commentedComment #10
rudiedirkx commentedDude, I'm not even trying to understand that. You must know, whatever your native language, that you're writing gibberish. Goodluck.
Comment #11
baseball commentedDear rudiedirkx :
Anywhere,thank your help.
I just don't know why your
"Display name:One event's registrations " of view can show only on the content type which reference to "node registration module".
Comment #12
rudiedirkx commentedEdit that default View, add a "Data Export" display and you're done. You can change fields and conditions and sort etc if you need. If you need help with that, ask the nice people of Views Data Export.
If you need help with Views relationships and/or contextual filters etc, ask the nice people of Views.
If you need specific NR help, please be more clear about what you want to achieve and what the problem is.
Comment #13
rudiedirkx commentedIsn't there a decent Chinese (?) to English translator you can use? I seriously don't understand this:
Comment #14
baseball commentedDear rudiedirkx :
I am sorry to confuse you,
I make a desc step by step as:
https://dl.dropboxusercontent.com/u/16503603/node_registration.pdf
If you have time and would like to see it.
thx for your help.
Comment #15
rudiedirkx commentedWow! That's a super perfect PDF explanation! I've never seen that. Very cool. AND now I understand the issue!
I would have the same problem, because Views doesn't know which nodes have Node Registration enabled. BUT as you can see on http://drupalcode.org/project/node_registration.git/blob/e858b1fb1a336fc... I do a
hook_menu_alter()to change the access callback for that tab, so I can customize its visibility:node_registration_node_access()requires a valid Registration node (type).You could do the same: copy the menu alter function, remove the first part (3 lines with
$item_fields) and change the path of the second part to your tab's path. You will need some Drupal coding/module skills for that. Or you can ask anywhere in the Drupal community.MAYBE there is a way in Views to do this... Inside the view you might be able to check for node type somewhere... Maybe. Not sure.
Yes, you can:
* Edit the view
* Edit the Contextual Filter: "Node registration: Node nid"
* Check the "Specify validation criteria" checkbox
* Choose "Content" in the "Validator" field
* Check the boxes of the content types you have Registration enabled for
That should do it! Go Views!
(I don't use that method, because I don't know the name of your Registration types.)
Comment #16
baseball commentedDear rudiedirkx :
Thx for your help.
But i can link to http://drupalcode.org/project/node_registration.git/blob/e858b1fb1a336fc...
so ,I can't see hook_menu_alter()
I am sorry ,where is the
Check the "Specify validation criteria" checkbox ?
I can find it in contextual filter..
It maybe use ( Views node access) module to do it.
But< if possible,I would like to try your hook_menu_alter().
thx
Comment #17
rudiedirkx commentedThis is the relevant part:
including line numbers (of current dev).
But don't use that. Use the Views setting. My description to get there couldn't have been more clear:
You do know how Views works a bit, right? You need some Views skills...
Comment #18
baseball commentedDear rudiedirkx:
I get it!
Thx for your help!
Comment #19
rudiedirkx commented