Closed (fixed)
Project:
Rules
Version:
7.x-2.0-beta2
Component:
Rules Engine
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Jun 2011 at 15:30 UTC
Updated:
3 Jul 2012 at 09:29 UTC
The 'Content is viewed' event only seems to apply to nodes. How can I trigger a rule when a user browses to a URL that isn't a node?
Comments
Comment #1
laroccadahouse commentedsubscribe
Comment #2
Tsubo commentedsubscribing
Comment #3
fagouse the "Drupal is initializing" event.
Comment #4
dddbbb commentedAhaa!! At last! That's been doing my head in for ages. Many, many thanks.
Comment #5
itangalo commentedFYI: In Rules Bonus Pack, there is also a possibility to use Page manager's custom pages as Rules triggers. The advantage of this over "Drupal is initializing" is that the Rules overhead is only added on the selected page views, not on every page.
Comment #6
dddbbb commentedCool, yeah I saw that too. Not every page is using Panels though so I need to use either method on a case by case basis.
Comment #8
drupalreggie commentedAny advice for D6?
Comment #9
kbk commented@drupalreggie You might look into http://drupal.org/project/pathrules
Comment #10
drupalreggie commentedThankin' you!