Closed (outdated)
Project:
Rules
Version:
6.x-1.2
Component:
Rules Core
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Jun 2010 at 22:09 UTC
Updated:
6 May 2018 at 21:48 UTC
Jump to comment: Most recent
Comments
Comment #1
betoaveigaSome events work after the page loads, like "Comment is published". The event you are looking for must work before the page loads, like "Content is going to be viewed", after setting your own conditions you must add an action like "Add PHP code" and there you must add your action, javascript with the drupal_add_js function or add a PHP code to reload.
The thing is that you must understand that rules can't make changes on client, or act under some client condition, because it loads only on server (at least until now).
BTW, what are you trying to do?
Hope that helps.
Comment #2
gladiatorhl2 commentedHello,
I have some questions. Is there a way to reload a page after an action like ''after saving a new comment'' and how to achieve it? I haven't understood exactly why this event must work before the page loads. Could you explain that a little bit better? I think that many actions are executed after the previous action.
Comment #3
tr commented