Search in group Search
"hidden" data type?
Hi,
I'm attempting to develop a simple module that triggers an event when the watchdog is written to. My module also makes some configurable conditions about the watchdog message type and severity.
My event triggers okay. The conditions also work, but am completely confused about the presentation layer for Conditions. When using condition arguments with 'type' => 'value', they present themselves in the "Arguments configuration" part of the condition creation page. According to the docs (assuming i'm reading them right), type=value should be hidden fields.
Read moreRules' relationship to Workflow?
I'm a developer with some experience with using the Workflow module+Actions to manage the state of nodes and things that happen when nodes change state. I'm working on a new project now where I need a relatively complex workflow. Basically, we are developing a sort of Question and Answer board where the questions and answers need to be reviewed before they can post, so, for instance, all answer nodes associated with a question node have to be approved before the question node will be moved to a published state. While looking at the workflow module project page I found a link to the Workflow group, and then from there a link to the Rules group. I've installed both modules and it seems like they both fill different needs, but the way Rules is promoted it sounds like Rules is supposed to be able to handle workflows.
So, my question is, how are the two related? If Rules is supposed to be a superior replacement to Workflow, how would I go about setting up a similar workflow in Rules, where the content moves through various user-defined states (i.e. I need more than just the published/unpublished state)? Would Rules be able to help me out in my specific situation where I have interdependent node states?
Read moreIntegration with Taxonomy
Hi,
I'm currently playing around with the beta3 version of the module.
I have set up a trigger on adding a new node, with a few basic conditions and they work fine.
So I started trying to get some custom php conditions working and have hit a wall.
I have a taxonomy term on my node and want to do stuff based on its value.. What seems to be happening is the node save (rule) is kicking in before the save of the taxonomy terms because its blank when i view the node afterwards. I could be doing this completly the wrong have a look :
Read moreShow an added content type.
I´m using rules to create a new node, populate some fields and then I wanna show to my client this new node, redirecting client to this node.
There anyway to show this recently create node using rules or getting his nid?
Thanks
Hugo Gonçalves
Rules as a complete replacement for comment notifications?
Rules is superb! -pause- Is there an existing solution(rule-action or token) to send e-mail to:
a) Anonymous commenter (mailing to created comment author returns "Unable to send e-mail..." warning for anon. commenting).
b) Thread participants or the "rest of"(other than comment author and/or content author) participants. Thread may be whole or parent + siblings + children comment.
c) Author of parent comment (if it is a reply to an existing comment).
Core "advanced actions"
I wasn't able to find the answer to my question in the docs or the issue queue. I apologize if its there and I missed it.
Rules supports core-style actions as per(http://drupal.org/node/299055) but it doesn't seem to support advanced actions. I'm curious as to why. Was this a developer decision? Code that hasn't been developed yet?
What I'm getting at is that a developer can choose to write an action for the actions module or an action for the Rules module but it doesn't seem that they can write an action that would work for both.
Is this correct?
Read moreHow to create event: "User adjusts its location in drop down list" using a drop down list in a created block ?
Hello!
I would like to do the following:
1/ create a block with a drop down selection list with a list of taxonomy terms (corresponding to locations)
2/ when the user updates the value in this dropdown selection, it would generate an event, and pass the selected term
3/ then a rule would be created using this event: when it happens, it would trigger an action to redirect the user to a page .../selectedlocation
I think i can do 3/ with rule.. would you know how i can do 1/ and 2/ or of any related documentation? Or do you think of a better way to do it than with rules?
Read moreHow to use rules with a Node Reference?
I'm trying to use a rule so that after Content B is newly created, that the rule triggers and the person is re-directed back to the url of the node that they just created has a reference to. Essentially, I want the rule to follow the node reference that I have already loaded into the node with the prepopulate module, back to the node it references.
Read moreTriggered rules aren't working
Hi,
I set up a couple triggered rules. The actions are not being performed and I don't see any evidence at /admin/reports/dblog that anything is working. Will there be log entries if actions are triggered?
Login Block not firing Login Actions
I'm trying to use rules to execute some code when a user logs in, which works perfectly when users login via the user login page. The problem comes up when users try to login via the user login block, which doesn't fire the user login actions. I've been looking around in the code to try to find where the problem might be so I can write a patch, but I can't seem to find it. Any ideas? Below you'll find my rule export, this is a very simple rule created just to test out this issue.Any ideas?
array (
'rules' =>
array (
'rules_3' =>
array (
'#type' => 'rule',



