Search in group Search
Trigger a rule based on the time in a date field..
Hi,
Seem to be a little stuck..
I have content that has a date field with a start and end date and time..
I want a rule to trigger if the node:field-date:value is between 8am and 8:30am.. I have been trying to create a condition of "Data Comparison" where node:field-date:value is greater than "07:59:59" and another condition where node:field-date:value is lower than "08:31:00".. Even running where node:field-date:value is lower than "08:31:00" on it's own doesn't seem to work..
I assume the correct strtotime syntax is simply hh:mm:ss to apply to any date?
Read moreVBO vs entity_property_info_alter to provide a list
Thanks to the screencasts by Mr. Falk, I have written a simple custom module to provide a list for rules that has the node IDs of all the pages in a book. This is a global variable provided by the entity API and it works great. Currently I think the only "out of the box" list regarding books is the ancestor: lists and they don't contain branches or children.
My plan is to use this list to perform actions and conditions on books like providing page numbers, deleting, flagging, and (I may be dreaming here) compile all pages into a pdf file for printing.
Read moreRules Email notifications
Hi everyone!
I hope that someone can help me better understand what I'm missing with the rules module. I'm curious if you can create a rule that will only fire once when a field selection has been selected. For instance, say you have a multi-page form for a content type. Once it reaches the end of page 3 you give individuals an option to send for approval. If they make the selection it would email a designated person (based on a previous selection, let's say by location). Right now I have a rule set up to accomplish this.
Send node as HTML formatted email to all users of a role
I have a RULE that works well:
- After saving a new content of type DEMO
- Send node as HTML formatted email
Parameter: Send email to:doe@example.com,jane@test.com
What I need is to send the same Action but to a "users of a role", something like:
- After saving a new content of type DEMO
- Send node as HTML formatted email
Parameter: Send email to: Roles: Editor ---RULES does not allow to add roles here---
Is there any module that can expand this function in RULES? Or is there some way to achieve this directly within RULES?
Read morecreate rules in external text editor?
Hi,
In principle I understand how to make rules within D7.
In fact rules are a bit like an event based programming language for
drupal.
Is it possible to develop rules for use within drupal, but outside of drupal, e.g. using a text editor? I imagine hand-writing rules in a text file, similar to a php program and then uploading them into a running drupal instance.
Probably this also would require that uploaded rules can be edited within drupal to correct errors or change e.g. conditions.
Is this possible / supported?
thanks,
weathersmile
Read more#d8rules update May 2014
As you might know, we have started an initiative to collect funds for porting the Rules module to Drupal 8: #d8rules. We are in the middle of our crowd funding campaign on Drupalfund and development has already started. In this post, I'll share an update on the development status of Rules 8.x and talk about what's next for the #d8rules initiative.
Status update
At Drupal Dev Days Szeged fago, klausi, xano & me sat together to plan necessary steps for porting Rules to Drupal 8. The architectural decisions have been laid out by fago and we defined a Rules 8.x roadmap that splits up this major effort into 3 milestones.
Alltogether the effort is calculated to take 1048 hours of development time to fix outstanding tasks for Drupal 8, port all the subsystems of the Rules core engine, the Rules APIs and the User Interface as well as the scheduling functionality.
So far, 1/3 of our first milestone has been funded thanks to our great sponsors and individual supporters on Drupalfund.
Read moreRule to resave a node once a comment is published.
I'm not sure about this but I am trying to set up a rule that resaves a node whenever a comment (on that node) is published.
Is this possible?
Jon
Read moreLimit choose children term in vocabulary
Hello
Firstewall, i'm pologise for my English, but is not my mather language.
I have vocabulary with 4 parent terms and unlimited children terms.
I trying reduce user choose for only one children term with each parent terms, but i don't know how do it.
Default settings vocabulary give us limited choice for one term for vocabulary. But is not good solution in my situation.
Can you know best way for this problem?
Thanks
Best Regards
Tomek
Error message while using User_block
Hi,
I am kind of new with Drupal, so I am not sure if I am writing in the right place.
I am using Drupal 7.28 with rules 7.x-2.7.
My goal is to control if admin validation is required depending on new user's role, but I get the following error message.
Integrity constraint violation: 1062 Duplicate entry '238-5' for key 'PRIMARY': INSERT INTO {users_roles} (uid, rid) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1); Array ( [:db_insert_placeholder_0] => 238 [:db_insert_placeholder_1] => 5 ) en user_save() (C:\Apache24\htdocs\meetingpoint\modules\user\user.module).
Read moreHow to change the referenced entity field value?
I have a node that has a node reference to another content type. What I want is to update the referenced node field value on updating the node;
Let me clarify the issue.
For example I have a node of type "Basic Page" which having a relationship to a node of type "Article". I want to sync fields in two node let say I have a name field(Text) in both nodes.
On updating basic page node I want to populate the referenced node Name field with that of the value in the basic page node Name field. How can I do that?
This is what I have done so far:
Read more
