Set default value of field based on field value of referenced node
I have 2 content types gallery and image referenced to gallery with nodereference url widget module.
In most cases values of gallery fields will be the same as values of image fields, that's why I would like to set a default value of image fields by values of fields of their parents node (gallery).
Read moreWhat is the best way to globally add data to the "site:" state?
DRP7, Rules 7.x-2.2
I'm working on a concept for keeping lists of taxonomy terms to have a 'related-entities' concept, in a custom module. E.g. Showing a node? here are the tids for the 'category' vocab, now I can create a block that show nodes with the matching tids.
I have a context implementation working well, but thought to add a Rules based implementation as well.
Read moreSimple rule not working
When I view the content for some reason below the debug says false, but that is not true?
Here is the message.
Rules debug information:
" Reacting on event Content is viewed.
0 ms Reacting on event Content is viewed.
22.433 ms Evaluating conditions of rule Away winning Home fav Halftime. [edit]
23.606 ms The condition node_is_of_type evaluated to FALSE [edit]
23.629 ms AND evaluated to FALSE.
23.679 ms Finished reacting on event Content is viewed.
Webform Rules - Create an unscheduler for email notifications
Hi,
On a Drupal 6 site I've created a setup similar to the old signup module using webform 6.3, rules, rules scheduler, webform rules, webform broadcast, node clone, and a custom permissions module (plus workflow and revisions to handle content editing.) This suite of modules creates a setup for events postings where content providers can create pre-templated events that include body copy and our standard webform fields.
Content providers create new events using node clone on any particular template so each event has its own unique node id.
Read moreLogin Event is not captured in Rules module
Hi,
I am using this Rules module with LDAP module to validate roles to people and assigning them or removing them from certain rules depending upon their parameters. I want it to be checked everytime a user logs in and its role gets updated if any change in its parameters.
I having trouble with the 'User has logged in' event. It is not getting triggered but all other event work fine. NOt able to figure it out what is the problem. Can some one help me out with this?
Thanks
Rahul
Rule trigger only when a specific field is (or is not) changed?
I have a node type which can have a user assigned to it (via an entity reference field within the node), and I'm trying to create a rule which will notify the user when a node assigned to them is updated. The obvious solution would be to simply set the trigger to "when existing content is updated", but the issue is that the nodes will often be created without a user being assigned initially.
Read moreLooking for password change event?
I am looking to find a way to trigger an event on a password change (email in this case).
I cannot find anything in rules, or even a hook for that matter that lets me know the password has been changed.
I am sure this has been done before, but I am yet to find any discussions on the topic.
Google failed me?!
Read moreHow to calculate date for autoresponder/automailer
Hi everybody!
I want to make an email autoresponder, so that you can do something like this:
After user registration send:
Email 1: immediatly;
Email 2: in 3 days
Email 3: in 8 days
Email 4: in 15 days
aso.
I want to use that for an email course.
Here a short description what i have done so far:
I made a contenttype autoresponder. It has just one additional field: days to delivery (integer).
Triggered Rule:
Conditions: Fire on user registration
Actions: Component Rule 1
Component Rule 1: Get Autoresponder nodes
Read moreHow to automatically add user to "default" organic group during registration?
Hi,
Have a question about OG 7.2 and Rules
For example:
Have a community built on OG, and want that every new member of site to be automatically added to some specific group (like "Security and other important announcements") during registration.
Lets assume, that group "Security and other important announcements" is node/1
I cannot find in Rules interface how to do this. I should be simple, as there is event "User is validated" and action "Subscribe user to group" but still do not understand data selector.
Which one to choose?
Thank you in advance.
Read morehow to set Maximum Shipping Rate for Commerce Shipping
I am setting a Maximum Shipping Rate for use with the Commerce module.
Currently, I assign each item a weight using the Physical field and this tutorial: http://vimeo.com/33838479
I want to set a maximum of 10, so if the total weight exceeds 10, 10 is used instead.
Attached is the Rule Component used to gather the total weight of all the ordered items.
Should another Rule Component be created, and then run as an action in the Shipping Calculation, to test whether the total weight exceeds 10, and then setting it to 10?
Thank you for any ideas.
Read more


