Hi,
I have posted my issue in the forum and I was told by someone that Rule module can be a good choice for my solution, so I am here to know if its really the case.
What I am doing?
I have content type named "images" where registered user can only create one node.
I am using node limit module to control the content type "images"
What is the Problem?
There is a menu item called [image upload] which takes user to the content_type/add only if the user hasn't created the node yet otherwise user get the access denied page (which to be honest I don't like)
What I want?
If the user click on menu item [image upload] (after creating the node), instead of show access denied page I want user should be sent to content_type/edit.
IS RULE MODULE CAN FILL MY REQUIREMENT? IF YES, THEN HOW? Please remember I am absolutely newbie a Drupal infant ;)
Comments
Yes, I think Rules plus Node_limit will work for your scenario
In a test site, I have used the recently revamped Node_limit module in combination with Rules module to limit by role the number of nodes a user can create. First, install and enable the Rules module. Second, install and enable Node_limit module. Third, navigate to your Admin/Rules page and click Triggered Rules. On the Triggered Rules page, you'll see a section called Active Rules than has an example Rule that limits the number of nodes a user can create. Easiest thing is to click CLONE to make a copy of that rule which you can then rename and edit to fit your needs.
As you work through editing the Rule, you'll find a place where you can enter a message for your users that have exceeded your limit and you can specify a page redirect as well.
HTH!
Thanks for the reply. I will
Thanks for the reply. I will give it a try and get back to you. thanks
Correction - I used "node_limit_number" module with Rules
Sorry, I just realized that I used the "node_limit_number" module, not the "node_limit" module. These are actually 2 different modules. I'll let you know if I get a chance to test node_limit module.
Are you using Dev version of
Are you using Dev version of rules cause i am using full version and in the Active rules section has none. please see the attached screen shots
Yes, I used the "dev version" for Rules and Node Limit Number
and I enabled just the main Rules module and the Rules Administration UI. Also, probably better to upgrade your Drupal installation before proceeding. And don't forget to backup your database first. :)
Here's the project page for Node Limit Number, which mentions example rules provided by the module:
http://drupal.org/project/node_limitnumber
This thread discusses various node limit options:
http://groups.drupal.org/node/16637
Excellent cygrapher this is
Excellent cygrapher this is exactly what I am looking for thanks alot. the reason for the delay in replying uhhmmmm!!!..... please don't laugh cause I am still trying to figure out how to redirect to url node/edit. I did try few dynamic url patterns but no success yet I hope if I am lucky again then soon I will find someone like you who will help me sorting out this small problem. Until then I will keep experiment with redirect url.
But to honest you really made my day and things started moving again after one week pause. Thanks alot and good luck
Please see below my redirect URL (all are saying page not found) content type is images
www.mydomain.com/node/%/edit/images
www.mydomain.com/node/%/edit/
www.mydomain.com/node/%/edit/?destination=user%
www.mydomain.com/user/node/%/edit/images
Thanks
subscribe
I've hit the same wall... I've limited users to create only 1 of a node type and want the user to be redirected to edit their node when the try to add a new node... thanks