Customizing Profile URLs?

Permalink 1 user found helpful
Good morning everyone-

I've been working with the login/profile system, and it's brilliantly easy to customize, I love it. I did have a couple of questions that I haven't been able to find in the forums thus far though.

1) Is there a quick function to get a user's profile url, akin to $user->getUserName();?

B) Is there a way to customize the url that the profile appears at? Instead of /profiles/::username::/, I want to be able to view the profile at /users/::username::/profile/, or perhaps just /users/::username::/. I found a great thread herehttp://www.concrete5.org/community/forums/customizing_c5/username-w... that enables using usernames in the url instead of ids, but it's only about half of what I'm looking for.

Any expertise you guys have to offer would be great. Thanks in advance!

 
ijessup replied on at Permalink Best Answer Reply
ijessup
You can change the path to the Profile page by using the Sitemap.

Just enable the option to view system pages and view the properties for the Profile page. Then change it's path to users... or what ever path you'd like.
CodeMoose replied on at Permalink Reply
Thanks! I knew it would be something easy.
antonioazevedo replied on at Permalink Reply
Hi, I'm trying to do the same but I can't modify the Profile page path option. any help?