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.
Hi,
Users have access to a todo list and a personal calendar. They are views "restricted" to the UID of each user. The path to each view is ... user/%/name of the view.
After creating a new event, I whish to send the users back to the calendar view (made from view template).
In Rule redirect, if I use : "user/[site:current-user]/name-of-view" I get "user/name-of-user/name of view" when I need "user/#-of-user/name-of-view".
Is there another patern to use instead of [site:current-user]? Or, is there some sort of «trick» to combine Pathauto, Token and Rules?
Thanks.
Comments
Comment #2
Northern_Girl CreditAttribution: Northern_Girl commentedok... finally found my mistake : user/[site:current-user:uid]/name of view...
I was not writing the token the write way : [site:current-user:uid]
NG
Comment #3
TR CreditAttribution: TR commented