Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Fantastic module! The choices made me howl in laughter.
What I want to do is forward a user with a particular role (Cancelled Member) to one particular page that says, your account has expired. I put in the path in the Wrong Page list of URLs, set Wrong Path to 100% and all the rest to 0%, but the user would not get forwarded there. Thinking perhaps an aliased path wasn't be read properly, I put in the node path as node/35 (or whatever) and that didn't work either. I know Misery is being inflicted because the other options respond well but not this one. Am I inputting it incorrectly?
Thanks.
Comments
Comment #1
danielb CreditAttribution: danielb commentedOh yeah it looks like array_rand() returns keys not values, so I will have to fix that little bit of code for the wrong page operation.
Comment #2
danielb CreditAttribution: danielb commentedAlright I've made new releases on both branches.
Comment #3
rajmataj CreditAttribution: rajmataj commentedThanks for the quick reply. It seems the new version, 1.7, is dependent upon Manifest which is currently in development. Will this dependency remain for this version?
Comment #4
danielb CreditAttribution: danielb commentedwoops, I don't know how that happened, I've made a 1.8 version without that dependency.
Comment #5
rajmataj CreditAttribution: rajmataj commentedThanks again for your quickness. The redirect seems to rapid-fire the url so many times that most browsers choke. Is this meant to behave like this? I was expecting a simple one-off redirect to a page.
Comment #6
danielb CreditAttribution: danielb commentedIf the page you redirect them to is also on your site, then they will also have a chance that it happens again.
Comment #7
rajmataj CreditAttribution: rajmataj commentedMakes sense that it would be problematic on the same site. Thanks again. Who thought Misery could be so much fun?