Closed (won't fix)
Project:
Path Rules
Version:
6.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Mar 2012 at 11:54 UTC
Updated:
20 May 2012 at 05:05 UTC
Jump to comment: Most recent file
Comments
Comment #1
mitchell commentedSee #1045964: How to do path detection.
Comment #2
mitchell commentedComment #3
gateone commentedThanks Mitchell - well it is rather having an EVENT that is "if user visits a certain URL / path" not so much a trigger.
There seems to be a way to achieve a somewhat similar result in Drupal 7 by checking for the EVENT that a user belongs to a certain group and as a condition to check for a path. But this approach seems a bit strange to me.
What I am looking for in Drupal 7 is about the functionality as in Drupal 6 with Path Rules, as you describe it: "Setup a rule with the event 'User is going to view a page', add 'Check path' condition with path 'project' and Operator 'Begins with'."
Currently there is no such thing for Drupal 7 and hence it would be REALLY great if Path Rules could be made to work with Drupal 7 as it does with Drupal 6!
Thanks, Stephan
Comment #4
hpathy commentedwould be of great help. awaiting Path Rules for Drupal 7...
great work,
thanks, PH
Comment #5
farald commentedHere is a working patch against 6.x branch. :)
Comment #6
mitchell commentedgateone & hpathy: Please see #1045964-10: How to do path detection for an explanation that should clear this up.
farald: I don't think this patch will be comitted based on the status of the module. It isn't necessary anyway. See the post linked above for more info.