I tried to evoke a rule for:
- anonymous users
- viewing an article where a cck field (node ref) is empty and thus not yet complete
- redirect to 'you are not authorised to view this one'
- do not follow crawlers
I tried two things:
1. Set rule to 'Content is going to be viewed' and added condition 'field cck has value' and added the value. The redirect to an external url. When using the role, nothing happens. Enabling the debugging, it appears the rule is not triggered if anonymous views the node
2. Set the rule to 'User has role' set to anonymous. Wanted to add the condition 'CCK field has value', but apparently I cannot add any of that. Helas, that rule is triggered.
So to sum it up. For use case 1, the rule is not triggered. For 2 I cannot set the condition.
Any help please...
Comments
Comment #1
mitchell commentedThank you for submitting a support request / issue for Rules 1. Sorry it was not attended to earlier; I hope you found the information you were seeking in another resource, such as the Rules Drupal 6 documentation.
Because it has been a while since it was first submitted, I'm closing it to clear up space. However, if you would still like to submit another support request or help answer others support requests, your efforts would be welcomed and appreciated.
Comment #2
marcxy commentedI am looking for the same solution.
I need a redirect on login, based on whether a user has filled in a cck field on their Content Profile.
I found the answer if you use the core Profile module, but that solution is not working with Content Profile.
Thanks!
Comment #3
marcxy commentedFound a workaround.
Rule 1:
User Login -> Redirect based on Role.
Rule 2:
Upon Content Update. Condition: if CCK Field has Value. Action: Assign User Role.