Search in group Search
Setting up new variables to be used as schedule date
I've just started developing with Rules, loving everything about it so far, but stuck on a problem and need to know what I'm doing wrong.
So my task is to schedule a rule so that an email is sent out to a user after a certain amount time from when they opened their account.
To do this I've created a rule triggered by the user account being setup, and an action on that rule which schedules a rule set. This rule set has a rule which sends out the email.
Read moreGetting and using event arguments in conditions
I am very new to the rules api and thought I have a go by supplying some simple ubercart integrations. However I can not seem to find a way to get a hold of the event arguments in my condition. Is there anybody that can shine some light on this for me?
Below is my code so far.
function uc_rules_rules_event_info(){
return array(
'uc_rules_event_order_state' => array(
'label' => t('Order state changes'),
'module' => 'Ubercart',
'arguments' => array(
'order' => array('type' => 'order', 'label' => 'order'),
Force immediate saving
I hope you guys can help with this. This is for an online writing class. The content type is called "writing".
Here's the scenario: User clicks add/writing. The node/add form opens. At this point I need the node to save itself.
I think Rules has the tools I need for this, but I can't figure it out.
In old forum threads I have seen references to an action called "add new content", and a rule called "save a content" which gives you an option to "force immediate saving".
Read moreIs there a way to automate the equivalent of Edit then Save (resave) on a node?
Briefly why I want to do this: there's a known bug in D6 that has something to do with presave... the result in my case is that a forum-enabled custom content type that is scheduled with Scheduler, will publish as scheduled without a row in the forum table. It gets the taxonomy, so it shows in the forum list but appears there as though it's been moved.
However, if I do an Edit and then Save on the node after it publishes, it get's it's forum table record and everything's lovely.
Add three Taxonomy terms to node title and text processing
Hi
Hope this is a good place to post.
I've set up a rule which automatically puts three taxonomy terms that are set in the node using three term ref fields - into the node title.
However - I have the following two problems :
1) I need to process the text so that text is added before / after Some of the the tax terms - ie:
[parent of tax term from vocabulary 1], [tax term from vocabulary 1] in [tax term from vocabulary 2] with a [tax term from vocabulary 3]
Read moreHaving problem with list<taxonomy_term> in a custom action
Hi there:
I'm new to Rules (and Drupal as a matter of fact), so would really appreciate any help on this problem I'm encountering.
I'm trying to create a new custom action that takes a list parameter. For testing, I created a simple action set that takes an argument of list as well. When I tried to execute the action_set within my code, using rules_invoke_component(), I get this error:
Problems sending emails to all users in a node reference field
I’m trying to put together a site that allows me to enter projects and on a workflow change will send and email to all users that I’ve added to a node reference field a notification of the workflow change.
Here’s the list of modules I have installed so far to try to accomplish what I’m doing:
Rules 6.x-1.4
Views Bulk Operations 6.x-1.x-dev
Views 6.x-3.x-dev
Workflow 6.x-1.5
CCK 6.x-3.x-dev
Here’s what I’ve done so far:
- Created a Content Type called “Project”.
- Added a Workflow to “Project”.
Before a file downloaded
Hi there, i am new to rules and i am wondering if the following can be achievable with rules and if yes, how?
1) I have made a sandbox drupal installation
2) I have create a custom content type called "Services" (in order to be created pages for service 1, service 2, etc.)
3) In this content type i have create a cck filefield upload in order to attach pdf files on the "Services" pages
4) I have create a webform ,where the anonymous user can submit his personal information such as first -last name, email etc.
So my questions are:
Read moreRule to copy text from node field to user field to migrate content_profile to D7 core profile
There are a number of people who are interested in moving to D7 but have been using content_profile. How would I build a rule that could be executed by a VBO saving all profile nodes that would copy an "about" field contents to the user's "about" field in the core profile using a D7 rule? Can this be done without writing PHP code?
It would also be nice to migrate the avatar but I realize that moving an image field could be complicated.
I looked at the rules handbook page for D7 but it was empty. http://drupal.org/node/878712
Introducing "Rules Issue Squad"
To discuss this wiki page, please go to http://groups.drupal.org/node/135669.
At DrupalCon Chicago, there was a birds-of-a-feather session where we decided to start a helper team for the Rules project. (Cred for this great idea goes to opensanta!)
The objective of the team is to help the Rules maintainers to focus on fixing bugs and develop new functionality, by taking care of Rules issues that otherwise would take up their time.
Read more
