Closed (fixed)
Project:
Sub-pathauto (Sub-path URL Aliases)
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 May 2012 at 13:56 UTC
Updated:
18 Jun 2012 at 08:41 UTC
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
Comment #1
ntigh52 commentedComment #2
dave reidThat 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.
Comment #3
dave reidComment #4
ntigh52 commentedThanks a lot! absolutely Status: active » fixed
P.S.
Why "administration" pages are disabled from subpathauto processing by default?
There is a serious issue?
Thanks
Comment #5
pmichelazzoJust 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!
Comment #6
ntigh52 commentedI 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.
Comment #7.0
(not verified) commented1