Search in group Search
Conditional Taxonomy Term?
I'm sorry if this seems stupid, but I can't figure this out for the life of me. How do I test for the existence of a term?
After scouring the internet for hours, some people referenced Textual Comparison and [node:term] as their solution, but none actually said how. I only seem to get the first term when using [node:term].
Read moreHow to Create Paths based on Taxonomy Terms and Vocabularies after Node is Created
I want to create a new path alias to the page just created based on the taxonomy the creator selected.
So, a user creates a new Basic Page called 'Green'. The user selects the term banana from the vocabulary food. The path generated should be example.com/food/banana/green.
I asked pretty much the same question here: http://drupal.org/node/942002 but haven't had much feedback. And I just was playing with Rules to see if I could do it. Unfortunately, it looks like I can't access the vocabulary and terms from the node.
Read morebest way to setup a rule
New to Drupal so please be patient with me.
I need a rule to accomplish the following when a user visits a link.
- Add user to a specific role.
- Redirect user to another specified page.
- Make a single change to an entry in one of the database tables.
Can this be done in a single rule or require multiple rules?
Read moreComplex rules that can create and edit related nodes
I am creating - actually rebuilding from Coldfusion - an application that - among many other things - handles production work flow. Here is one scenario that is indicative of many more I will have to create:
User enters order for a product(in my case, a dress). Some of the details of this order that are captured are:
Read moreRules to Automate Bookings
I am trying to set up a Rule and Rules Sets for the work-flow of an anonymous user making a booking.
The modules being used are: Bookings API & Event bookings.
What I think it ought to look like is:
RULE
Event is “A new booking has been added”
Then DO Rule set 1
Arguments: Booking API + Content
Revoke content permissions by role (protect each new booking page from future public access ie anon)
Redirect to page (Thanks for booking)
Send email to an arbitrary address (applicant's booking details)
Rule set 2 – Scheduled in 7 days
Read more Rules - Copy CCK content to another CCK in the same node - PHP?
I have created a new content type with 2 new fields:
field_track
field_track_session
using Rules (or another method) when the user saves a node i want the contents of field_track to copy to field_track_session
field_track_session will be hidden so the user can't manually copy (i want it done automatically on save anyway)
I've not used rules before but have set up the following so far:
ON event After saving new content
IF
Created content is Full Track Content
DO
Populate created content's field 'field_track_session'
Project proposal: Rules Bonus Pack
As most people in this group probably knows already, I'm quite keen on the Rules module.
I usually only configure Drupal, but lately I've started to try some coding as well. My main motivation for this is to be able to write Rules actions (and hopefully events and contitions in due time).
Working my way through the documentation...
... but I may be being stupid.
Not necessarily arm-twisting for a 'how-to' answer, more just a pointer to a 'yes-you-can-now-get-off-your-butt-and-work-it-out'...
I can see how to set a rule to, say, send an email whenver a Book is updated. But while I work through the documentation, I wondered if it was possible to set up rules such that:
Book list:
Book A
Book B
Book C
User list:
USER1
USER2
USER3
Whenever a new page is added to Book A (and only Book A - not to any Book), email message type 1 is sent to USER1 and USER2
Read moreRules based on multivalue cck fields
My goal is to give users the option of sending out notifications to other users of specified roles when they create a certain type of node. My current (not working) approach was to create a CCK text field configured to show check boxes (there are four options) on the node creation page, then use rules to catch the check boxes and send emails.
The CCK text field is called 'field_notify', with allowed values of 'group 1', 'group 2', 'group 3', and 'group 4'.
Rule set up:
ON After Saving New Content
IF Created content is Member Post
Multi Value user reference field
Hi There!
Quick question for a noob... I've got a rule that is used for the following:
1) User flags a node
2) Rules triggers a user reference to be added to that node / flagging user id
This is all fine and dandy and working like a charm... However the array that I'm using is not retaining existing user references, it over-writes them because I'm using this:
return array(
0 => array('uid' => [flagging_user:uid]),
);
Just wondering if someone could help me with the correct php to append the field with a new user reference rather than simply replacing it...
Thanks!
Read more

