Discussions

Events happening in the community are now at Drupal community events on www.drupal.org.
fago's picture

Wireframes! - 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

Browse Rules screen

Read more
spessex's picture

How 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 more
spessex's picture

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 more
alexefremo's picture

Rules + 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.

Read more
spessex's picture

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 more
GolDRoger's picture

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'];

Read more
eärendil's picture

Textual 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
wipeout_dude's picture

Help 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 more
jackmc's picture

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 more
shushu's picture

Drupal Commerce + Rules + Paypal for modular recurring payments

Hi all,
Just finish releasing new module and writing the whole use case about it.
In few words - we had to fill the gap of some missing "building blocks" between Paypal, Drupal Commerce and Rules, and once we made it, the flexibility of recurring payments using Paypal is much stronger.

Long story - http://shushuinbar.blogspot.co.il/2013/01/using-drupal-commerce-for-node...

Any comment is more than welcome !
Hope this will be useful for others.
Shushu

Read more
Subscribe with RSS Syndicate content

Discussions

Group organizers

Group categories

Categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week