Posted by cbear42 on August 20, 2010 at 7:34pm
2 followers
| Project: | Rules |
| Version: | 6.x-1.2 |
| Component: | Forms Support |
| Category: | support request |
| Priority: | major |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I have a Company form and a Student form - both CCK/Content Profile forms
On activating the Company form, I get the activate link and a confirmation.
On attempting to activate the Student form, I get the error " Events for node_type_form have already been activated." and I cannot
activate it all all.
I have ran cron and cleared caches - going to run update now.
Any ideas why it wouldn't let me activate a second form?
TIA!
Comments
#1
Any one? Having form activation events available on only one form in an installation renders Rules not terribly useful!
TIA.
#2
Seems like this is the same form for both cases. Do you use a webform as content type?
#3
No, these are two separate CCK forms. One is a Student Profile form and the other a Company Profile form - both are used with Content Profile.
What is odd is that - until a week or so ago - it let me activate both forms and give them each a distinctive name. "Company Profile Form" - and "Student Profile Form". Both would show up under the Rule Forms Settings options. Now only the first one shows up - whichever that might be - and the second gives me the above message. It's not coming through as an error - just as an informational message.
I don't use webform at all in this installation.
Something I just thought of: Would sharing CCK fields between the two forms cause Rules to believe this is the same form - even though they are named differently and have several distinct fields? They do have a few in common.
Thanks for looking at this!
#4
Just to follow-up - I created a form that uses none of the other two fields. And I still get the "Events for node_type_form have already been activated." message...and, of course, the form doesn't show up in Rules for use.
Thanks in advance....
#5
"node_type_form" is the form ID when you edit any content type (story type, page type, profile type, ...). Why do you want to manipulate that form? If you want to customize a profile create/edit form you need to activate something like "profile_node_form".
#6
Unfortunately, there is no "profile_node_form" option to activate. I only get the option to activate node_type_form. I have gone back through my CCK-types and there simply isn't that option. Is there a way to manually activate form events on these forms?
These two particular nodes (Student and Company), btw, are profile forms - however, I have a "Project" cck form - that is NOT being used as a profile type - and I get the same "Events for node_type_form have already been activated."
The problem isn't one of customizing or editing these particular forms - the problem is that form activation isn't possible on them. Which makes them impossible to use with Rules.
Also, they WERE working - with multiple activations possible - only two weeks ago. I haven't changed the basic forms in that time. Only the form activation has stopped
working.
If there is a way to manually activate these forms - just point me in the right direction - and I'll gladly do it.
#7
#8
Again, you are on the student type form. You need to go to the actual profile form. Create content -> Student Profile, activate that form.
#9
Would love to...but, it's not an option. Please see attached screenshot. (And yes, form activation events are turned on..) You can see the URL and the resulting
form that appears.
This is from Content - Create Content - Student (the name of the form that has Content Profile activated).
There is no option for activating this form.
But, I am now getting this error sporadically. Perhaps this is part of the problem..
"warning: Invalid argument supplied for foreach() in /home/brain/public_html/includes/form.inc on line 1207."
I have searched on this error - but the resolutions seem to be all over the map - and none of them seem to apply to the Rules module specifically.
I do appreciate your assistance. Thank you.
#10
Are you still logged in as rules admin on this page?
#11
Yes - I am. I am User 1.
Thank...!
#12
This is still a problem - I'm searching for a solution....why can't I activate more than one form at a time with form activation events? Would Workflow be better than Rules for this situation?
TIA.
#13
Check that the "Enable event activation messages on forms" setting is true on the Rules forms settings page. Of course you can activate any number of forms at a time. So you should see an activation message on all forms on you Drupal site.
#14