Hi,
I installed the module and the poll/pollname/resault generated but the url of user/%/.. still view like user/%/edit and not like users/[username]/edit in default.
example:
the url user/%/edit
is like the same:
users/[username]/edit
but when I click on the edit tab in my user account I go to user/%/edit
How can I change it?
Thanks.

Comments

ntigh52’s picture

Title: user/%/.. not generated » how to use users/[username]/edit generated on default
Dave Reid’s picture

That is because "administration" pages are disabled from subpathauto processing by default, and core's user_admin_paths() defines user/*/edit as an admin path. You can disable that setting in Subpathauto to get user/*/edit paths rewritten.

Dave Reid’s picture

Status: Active » Fixed
ntigh52’s picture

Thanks a lot! absolutely Status: active » fixed
P.S.
Why "administration" pages are disabled from subpathauto processing by default?
There is a serious issue?
Thanks

pmichelazzo’s picture

Just a question to get up this situation.

I'm trying to use the solution showed here (user/*/edit) to change the Edit tab address using the pathauto but I always receive the information of user/*/edit is invalid.

I'm trying to change user/*/edit to usuario/*/editar.

Any clue about it?

Thank you!

ntigh52’s picture

I realized that all the path with "edit" will not generate.
Its not just user/*/edit is also for all the nodes, - like node/139/edit ....
I think that its somthing that cant be change...
But if you will add views or pages under user, like user/($user->uid/my-content, that will genarate to users/$user->name/my-content.

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

1