Search in group Search
Examples of datetime field form validation w/Rules?
I'm working on a Drupal 6 site that includes the ability to book resources (meeting rooms, projectors, etc). When somebody submits a new reservation/booking, I need to validate the reserved time to make sure it doesn't fall outside of business hours. I was hoping to do this with the Rules module, as I'd like the ability to change the validation criteria via the Drupal web UI.
Read morerole expiry triggering content deletion
Hi,
I was wondering if anyone has any ideas on how to implement part 'd' of the below problem please?
a)User is assigned role X
b)Role X allows user to create ‘products’
c)User is removed from role X
d)‘Products’ created by user are deleted
Any help is appreciated- thanks in advance!
Evelyn
Read moreHow to pass an nid to another page containing a view - or maybe the looney bin wouldn't be so bad, after all...
I think I am trying to do something fairly basic, but it is proving enormously difficult to find the documentation, or examples to accomplish it.
On submission, I simply want to send the nid of my CCK form to my url and send that on to another page. I have been trolling, working through the API, trying php snippets, reading, experimenting, buying Lullabot videos, going through tutorials, trying, installing, uninstalling, reinstalling - to the point I'm ready to go find a nice, quiet job at McDonalds.
Read moreHow can I remove rules when not logged into drupal?
Hi, I accidentally created a rule that creates an infinite loop for any logged in user, in essence rendering my site unusable. I was able to remove the rules module to get the site working, but now I can't use rules as each time I add the module back in it restarts the problem.
Is there a way to remove individual rules or all of them from out side of drupal? Where are the rules stored? Would just deleting them work?
Thanks
Omar
Links, Views, triggers
I am looking for a way to trigger rule from views result. I started issue with http://drupal.org/project/rules_executor just to see how author looks at this. And maybe there are some other ways to get what I want, but here is the idea.
Views render list of node titles and displays them as links. Links triggers rule(s).
Read moreAdd Rule After Login - Unpublished Content Requiring Review
Hi There.
I successfully added a Rule -- ON event User has logged in, DO show a configurable message on the site.
Basically, I want to add logic to this -- show message IF there is unpublished content. I allow anonymous users to submit a specific node, and admins can choose to publish or delete the content after reviewing. I already have a notification email that goes out, this is just another feature I would like to add.
Read moreQuestion to the selected user can only reply by this user rule. How?
I want to found a ask to the expert system. There are many experts and they have profile pages. User can select the expert and go to the experts profile page. There will be a link or a form in the expert's profile page and this will be a node type for this expert.
For example: To ask a question to doctor1 user will select his profile, in his profile there will be a link or form 'ask to doctor1' and this will create a node which content type is doctor1. My idea is to make comments as answers and only doctor1 can be able to comment to this node type.
How should I do that by ruling?
Read more[Solved] Attempting to Build Custom PHP rule
I am building a scheduled publishing rule set. I would like to have a php action that resets the created date on the node to the scheduled publishing date as the node is published. I found a clue in the issue que: http://drupal.org/node/641590
Read more[Solved] How to get Rule Scheduler to Honor Timezone Setting
I've defined a rule that schedules another rule:
ON event After saving new content
IF
Created content is Page or Story
DO
Schedule {action}: Scheduled Publishing {rule set}
I've defined a CCK field: Publish Date
The rule is set to schedule using the token: [node:field_publish_date-datetime]
In the node edit screen, the CCK field displays time that matches my current time zone as set both on my test server itself and in the Date module settings page: Eastern Standard.
On the Scheduled rules page however, the time for the scheduled rule is 5 hours earlier, so if I select 10:00 a.m. for example, the schedule shows 05:00.
Where is it picking up this setting and how can I fix it?
Read moreWhat is wrong?
Hi,
i'm new to rules, i'd like to set a var on one page (an author-id) and read it on next page.
If i try to echo or var_dump the created var, i get NO output (even lines like echo "hello"). http://pastebin.com/m7677e84d What am i doing wrong?


