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

laroccadahouse’s picture

Component: Rules Core » Rules Engine

subscribe

Tsubo’s picture

subscribing

fago’s picture

Status: Active » Fixed

use the "Drupal is initializing" event.

dddbbb’s picture

Ahaa!! At last! That's been doing my head in for ages. Many, many thanks.

itangalo’s picture

FYI: 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.

dddbbb’s picture

Cool, 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

drupalreggie’s picture

Any advice for D6?

kbk’s picture

@drupalreggie You might look into http://drupal.org/project/pathrules

drupalreggie’s picture

Thankin' you!