rules

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

Rules Action: Set a data value - for a date field

Hi there,

I am attempting to create a rule that automatically creates a group event node when a group post node is created by the users. Once things are said and done, I'd like to use that group event node in a calendar view.

My Event is................. After saving new content
My Condition is............. Content is of type - Parameter: Content: [node], Content types: Post
My Actions are..............

  • Fetch entity by id
    Parameter: Entity type: Node, Identifier: [node:nid], Revision identifier: [node:vid]
    Provides variables: Learning Link (node)

  • Fetch entity by id

Read more
aharown07's picture

How to build Flag-triggered node creation using Rules

For a site using Drupal Forum module, I've got flags set up (Flags module) so registered users can flag problem posts (one Flag for comments, one for nodes). Already have Views set up so moderators can quickly look at flagged content.

But lately we're wanting to present a form of some sort to users who flag content asking them why.
So what I'm thinking is something like this:

  • User flags node/comment
  • Some kind of Rule takes user to a form to create a new node of a custom type (problem report, maybe)
  • The form captures the user and the node/comment that was flagged
Read more
jpwolf00's picture

Rule to force user to create content when creating a group

I am trying to replicate the functionality of ideatorrent with common drupal modules and I have almost got it nailed but I am stuck with a problem. I'm using organic groups to represent each idea (problem) submitted and each solution as a post within that group. I would like to force (or at least redirect) the user to the create content form for the idea (problem) already specified for the group just created.

Read more
graeme smith's picture

Rules or Notifications?

Wise ones. I shall try to avoid causing the offence I have elsewhere through excess verbiage :-(.

Oops. Blew that one already :-).

Thanks indeed to pbarnett and WillHall, I've been able to stumble (stumbling being my own lack of competance rather than any issue with Rules) to this:

When [new comment added]
_____Where [comment author is not] [list of roles]

Then
_____[create email to] [list of specific email addresses]
__________Containing [date stamp when comment added] [user name of comment author] and [comment body]

Read more
kirkcaraway's picture

Using Rules to pass data from feed parent to feed item

I am working on a site where I need to find a way to pass field information from a feed node (I'm using the Feeds module, 6.x) to the feed items it generates.

Read more
orkutmuratyilmaz's picture

Belli yayın süresi olan içerikler

Selamlar arkadaşlar,

Bir ilan sitesini drupal'a çevirmekle meşgulüm. İlan girişinde ekteki ekran görüntüsündeki gibi bir senaryo var.

  • İlanı kullanıcı girerken 15/30/45/60 gün seçeneklerinden birisini seçiyor.
  • İlanı onaylayan yönetici bu seçeneği dilerse değiştirebiliyor.
  • İlan bu seçilmiş sürelerden birisi kadar gün yayında kaldıktan sonra yayından otomatik olarak kalkıyor.
Read more
dogboy72's picture

Writing a custom module for rules

This is difficult to explain so I've attached a schematic. I have to create a rule that updates raw material inventory when a product moves into production. There are several tables (content types) involved. The rule involves a couple db_queries with some looping and simple calculations until a field is updated.

Any suggestions would be appreciated. I am aware I'll probably need to write a custom module, but I haven't found any that are similar to my situation using rule_hooks. I am using rules 1/drupal 6.

Read more
Elias's picture

Before a file downloaded

Hi there, i am new to rules and i am wondering if the following can be achievable with rules and if yes, how?

1) I have made a sandbox drupal installation
2) I have create a custom content type called "Services" (in order to be created pages for service 1, service 2, etc.)
3) In this content type i have create a cck filefield upload in order to attach pdf files on the "Services" pages
4) I have create a webform ,where the anonymous user can submit his personal information such as first -last name, email etc.

So my questions are:

Read more
aharown07's picture

Is there a way to automate the equivalent of Edit then Save (resave) on a node?

Briefly why I want to do this: there's a known bug in D6 that has something to do with presave... the result in my case is that a forum-enabled custom content type that is scheduled with Scheduler, will publish as scheduled without a row in the forum table. It gets the taxonomy, so it shows in the forum list but appears there as though it's been moved.
However, if I do an Edit and then Save on the node after it publishes, it get's it's forum table record and everything's lovely.

Read more
zfactor's picture

Workflow modules for Drupal 7

Hi folks,

I am rebuilding our website in Drupal 7 and I want to build in a simple content publishing workflow process. I would typically use the Workflow module, but there don't seem to be any plans for creating a D7 version. I took a look at Maestro, which seems very powerful for creating business process workflows, but overkill for editing workflows among small teams.

Does anyone have recommendations on approaches to building out workflow processes in Drupal 7? I was thinking of just using Rules and Fields, but I would love to hear any other recommendations.

Read more
Subscribe with RSS Syndicate content