How can I make "on publish" be a trigger?
Hi there,
I was reading and almost happy to find http://groups.drupal.org/node/97454 but it seems to be for drupal 6.
I am trying to accomplish the same but then for drupal 7
I am using module scheduler to publish content .. and i cannot figure out how i can have rules detect that when the scheduled content is published to take certain actions (email members that want to be notified when new content is published)
Read more各路高手 有了解rule模块的吗
想问下各路高手,有了解rules模块的吗,或者什么地方有比较好的教程呢.最近一个项目用到,求教各位。
Read moreHow to Flag a created entity via Rules
Hi, Looking for help using Flag and Rules.
Once an even fires, I'd like a node to be created and for the created node to be flagged.
Currently:
The rule properly creates the node.
The flag can be manually toggled on the new node.
The rule does not flag the new node.
Initially I thought the data selector should be entity-created. I then attempted to fetch the entity [entity-created:type] and flag [entity-fetched:0]. Again, no love.
Any assistance on how to flag a created entity would be appreciated.
Read moreGetting error when using 'load a user list with views' action in rules bonus pack in drupal7
Hi All,
I am getting this error when using "load a user list with views" action in rules bonus pack in drupal7
Notice: Undefined property: view::$field in rb_views_create_view_representation() (line 82 of C:\wamp\www\drupal-7.10\sites\all\modules\rb\rb_views.module).
Warning: array_keys() [function.array-keys]: The first argument should be an array in rb_views_create_view_representation() (line 82 of C:\wamp\www\drupal-7.10\sites\all\modules\rb\rb_views.module).
please let me know if any one knows about this.
Thanks,
Mahil Jasani
Sending out mails on specific dates
Hi everybody,
I hope you can give me a little guidance out in the world of Rules.
I would like to be able to send out individual emails to the users of my webpage. Each user will type in the date of his birth on his profile, and I would like for him to receive a mail not just on his birthday but also on other dates set by me. The mail will consist of a standard message determined by the amount of time since his birth. I could be a mail saying: “Today its 10.000 days since you were born – maby its time to go see a dentist”.
Read moreHow to validate taxonomy term field with a Rule?
I need some help understanding how to validate taxonomy terms associated with a node. I have two taxonomy term fields based off of the same vocabulary. One field is for the user and the other is for a content type. I'd like to validate the node field against the user field. I want to throw an error if the user selected something that is not also selected in the user field.
User Field:
City 1 - checked
City 2
City 3
City 4 - checked
Node Field:
City 1 - checked
City 2 - checked(this should cause an error message and not save the node)
City 3
City 4 - checked
Understanding the Data selector
I would like to add a comment to the OG node each time a user becomes a member of the group using Rules 7.x-2.0. (Odd use case, I know, but believe it or not it really does make sense in the context of the site.)
My Process:
React on Event: "User has become a group member"
The Action will be "Create a new entity," "comment" but my data selector is lacking fields so I need to use the condition 'entity has field' (or 'content is of type').
It seems we'll need to load the GID.
Add condition:
"Entity is Group" with the Data selector "site:current-group."
Rules does not allow to populate content profile field
Could someone explain what is happening here? I have a content type that is a part of content profile. It has a numeric field "latest" that I am trying to update every time the user saves a value in another regular content type "miles" via a field called "miles_record." So when "miles" content is saved, I want to update the content profile field "latest." Rules does not seem to allow this.
I am trying to do the following:
On Event: Saving New content
And created content is: miles (this is the CT for entering "miles_record" filed values)
Rules link - Improving the UI
Hey fellow Rules users,
I don't know how many of you already know my module Rules Link - Itangalo created two very cool screen casts about it here (basics) & here( advanced stuff) - but for those already know the module:
How to trigger an action on quiz complete?
Hi, first off I'm relatively new to Drupal (just a disclaimer).
What is the easiest way to execute an action when a Drupal quiz is complete (primarily interested in passed quizzes). I want to use the flag module to flag a related piece of content as completed (for that user).
I'm stuck seeing where I connect the quiz completion to the flagging.
Read more
