Search in group Search
Noob:Rule to unpublish a custom content based upon a custom "exipration" field
Hello all,
I am new to rules (and Drupal for that matter.)
Rules, Tokens, views (installed and enabled)
I've successfully created rules to notify users by email when comments were added or when new nodes are created but I am having difficulty with this new task.
I created a custom content and added a field for "expiration date." I'd like to create a rule that would unpublish the content after the date in the expiration date field for the content. It seems like it should be a fairly straight forward task, but it is getting the best of me.
Read moreRule sets and how to use them...
Looking at rule sets, they appear to be conceptually cool, but damned if I can figure out how to actually get them to do anything.
What I would have expected from the description is that:
- You define a rule set (effectively writing a subroutine).
- You then connect that rule set with an event trigger of some kind.
- When the even happens, the rule set gets triggered.
But that doesn't seem to be the way it works.
Read moreUse Rules to fill EntityReference field with previously visited node?
So, I'm building a site based on reviewing businesses. To build the review form I created a content type called "Review," that users are authorized to create. Users then simply save the content to submit the review. To relate the review back to the business page that they are reviewing, EntityReference seems to be my best bet. But, I don't want the user to have to enter in the name of the business that they are reviewing. Instead, I'm hoping to autopopulate the Entity Reference field with the node that they just navigated from.
So the workflow would be:
Read moreAffecting rules on a node containing a field collection?
Hi,
I am trying to create a rule that will modify the permissions (ACL) of the node containing the field collection based on a user reference field in the field collection entity..
By the looks of it I have to use "field-collection-item:host-entity:" but in the data selector is doesn't have any further options to pick up the node id or anything for the host entity..
I am sure I am probably missing something simple but can't see it..
Read moreEntity Reference with VBO and Rules
I am trying to create a rule which fires after modifying node content. Specifically i want to modify the entity reference field values of all the node entities provided by vbo. So i created the rule and the component as shown below.
My problem is that i can not find a way to empty the entityref list of all node entities before the loop, maybe my whole approach is wrong.
Is it possible to create IF/THEN's in actions?
Is there any way through components or other modules to create IF/THEN constructs in actions?? (or at least simulate them)
For example..
If I had a content type with a select list of say 10 items.. Based on the selection I need to run a rule to set something..
The long way would be to create 10 rules each reacting on a different option in the select list..
Is there an easier way to do this?
Read moreNeed help with Rule scheduling based on Flags
Hello there,
I'm trying to figure out how to create a rule to do the following:
Check whether a user has a boolean set to true in the users profile,
If the user has, get the date field from nodes the user has flagged
Then send an email a day before the date field for each flagged node.
Obviously this rule will have to turn off if the boolean is set to false.
Read moreRules, VBO and Page manager
Hi all.
I have a weird scenario that must have a simple solution but I´m not figuring it out.
In the Node View template in PM, I created a variant where I put a %node into region-1 and a general view with no contextual filter in region-2.
Here is my case:
* Region-1: Body field from the %node
* Region-2: A general view with no contextual filter and a VBO field. The component loops through the selected items. It then creates a new node (different CT) and adds each item as a reference in of of the node reference fields in the new node.
Save node when content with reference to it is created
Brief overview of relevant aspects of my site:
Content type - review: created by users, contains entity reference field to business page being reviewed
Content type - business: contains fields which average, from the database, the ratings submitted by users using the review content type.
I need to create a rule which saves the business page when a Review which references it is created/saved by a user. This is necessary because the fields with averages in them only update when the node is saved. What would be the best way to go about doing this?
Read moresend an email notification to members of a particular role when a new product is created
Has anyone had any luck with creating a rule that can send an email notification to members of a particular role when a new product is created.
I've checked the standard and advance sets of rules and although you can seem to email when a particular trigger occurs, there does not seem to be the most appropriate action available from the list of optional actions. You only seem to be able to send an email to one recipient.
- Can I use Rules to lookout for the creation of new products?
