1

I am using PathAuto to redirect user urls to the following pattern. users/[user:name].

I have created a page using the views module which needs to show up as a tab on the user naviagation menu. Currently the PATH property for the page is set to /user/%/seasons.

Here is my issue.

My account is Uid=1, UserName = 'Declan'.

Pathauto renders that as '/users/declan' - which is what I want.

When I click on the 'Seasons' tab, the page is rendered, but the url is '/user/1/seasons'.

Is there any way to rewrite the PATH property in the view such that is will render '/users/declan/seasons'?

2

Found the answer, the Sub-pathauto module does the job perfectly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.