Search in group Search
Comparison rule - taxonomy terms
Hi all, hoping I can get a bit of help with something.
I have a taxonomy (call it category) that I have added to both the node and the profile (user). On the node, a single category is required. A user can be assigned to multiple categories.
I have a rule triggered by workflow state change. I would like to add a condition that compares the node's categories with the list of categories on a user, and proceed if any of them match. I can see that this should be possible - via data comparison or the "in list" option, but I can't get it to work.
Read moreHelp with accessing data in rules..
Hi,
I am having a hard time getting the information I need into a rule in order to perform a calculation.. Hopefully I can explain it well and someone has a suggestion..
I have three content types.. For simplicity we will call them "A", "B" and "C"..
"A" is the main one and "B" and "C" each have a node reference back to "A"..
Read moreTextual Comparison not working when I search for <img tag in node body
I have been trying to create a trigger so that when someone updates a page node by inserting an image into the body it will send me an email. So, in other words, I want the trigger to act (send an email) if it finds an img tag in the body of the updated node.
Event:
After updating existing content
ON even After updating existing content
If
Two texts to compare:
Text1:
<?php
print $body;
?>Text2: /<img/gi
**I have evaluate text2 as regular expression checked. Read more
Add and assign Taxonomy terms when a node is updated
Hi guys, I have to wrote to you because i'm becoming crazy, there are 2 days who I'm trying to add a taxonomy term to a node without luck.
Scenario:
I'm using a content type called: Place.
This content type own a field location (from location module) who has 2 values: street and city.
When a user compile these fields the GMap module make a google map with a marker.
When a node is saved i can access city and street using
print $node->field_place['und'][0]['city'];
print $node->field_place['und'][0]['street'];
Is it possible to pre-populate an empty field (of any type) with data?
I've been stuck on this issue all day now. Is there a way to pre-populate an 'empty' field of any type with data?
I've tried Rules, specifically 'Set a data value' but it does not appear to allow data values to be set on empty fields and usually reports back (in 'Recent Log Messages') 'The variable or parameter entity is empty'.
The reason I need this is that I have a 'profile type' (using Profile2) with various fields. These fields are updated - when required - using VBO (Views Bulk Operations) and unfortunately they can only be updated by VBO if the fields have existing content.
Read moreRules + flags
Hi guys.
I got an issue. I got 2 content types. Place and Event. Events using 1 field with Place name. People can bookmark Places. So the issue is. I want to make a rule on event: After saving a new content, to send an e-mail to user, who bookmarked the Place with new Events of this place.
Is it possible to hide parts of a returning URL from the users address bar?
I'm not sure if I'm asking the impossible here but is it possible to hide part of a returning URL from a User's address bar to a Drupal site.
The reason I am asking is that I am firing a Rule on a user returning to a particular URL (which they will have been automatically redirected to from another non-Drupal website) which assigns them user points. Obviously I don't want people to cotton onto this URL that is firing the points Rule, otherwise they might tell other users to visit the pages to receive points hence the original question, is there a way to hide part of this URL?
Read moreHow to identify if a user has 'clicked' the edit tab of an entity (as opposed to the view tab/page)?
Hi everyone
I've looked everywhere and cannot appear to find an answer to a problem I have and was hoping that someone might be able to advise.
To cut a long story short Profile2 permissions do not appear to be working properly whereby if you want a certain profile to exclude an authenticated user from being able to 'edit' the profile and only 'view' this is not possible (basically permissions only appear to work for Admin) - [for those that are interested please see http://drupal.org/node/1954290]
Read moreWireframes! - Rules UX reloaded by fluxkraft
As introduced recently we've started working on a new Rules UI as part of the fluxkraft project.
So after quite some planning and discussion we came up with some wireframes that should show how we imagine the new Rules UI to work. The wireframes are not very detailed - expect the details to change - but still the wireframes should show the overall idea.
So let's have a look at them and discuss :-)
Browse rules screen

Rules search module
Hi,
We use rules extensively, and once in a while need to find a rule or component that triggered an email (or similar). Here are some more words and a link to the module in github: http://bluetegu.net/node/11
Feedback appreciated.
Best,
Ron
