Feature request/advice - what is a good way to create sitewide, common to all users URLs, such as a URL that redirects to each user's Edit Profile page, etc.?
ex. something such as "http://sitedomain.org/editprofile" that redirects each user to "http:// sitedomain.org/profile/username/edit"
Why? Because sitewide, common to all users URL's are useful when creating a written guide that shows users how to edit their profile, and accomplish other tasks.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Cim@manacim
Cim - 0 likes
- Tom Cal@Tcal
Tom Cal - 0 likes
- Cim@manacim
Cim - 0 likes
- Team Webgalli@webgalli
Team Webgalli - 0 likes
- redirect this to profile edit page directly
- you can set the page_owner to logged in user, and call the edit profile view.
- Juho Jaakkola@juho.jaakkola
Juho Jaakkola - 1 like
- http://learn.elgg.org/en/2.0/guides/pagehandler.html?highlight=page%20handler
- http://learn.elgg.org/en/2.0/guides/routing.html?highlight=page%20handler
- Tom Cal@Tcal
Tom Cal - 0 likes
You must log in to post replies.I would probably add an icon link on the top left of the topbar or add the edit profile link under account drop down menu on the top right.
Cim, I'm looking for a URL that works for all users, such as http://elgg.org/editprofile and http://elgg.org/profile .
Yes I know. You can make a custom plugin that'll put each users profile edit link on the top bar. The link can go to site.com/profile/{username}/edit.
You have to create a page handler for "editprofile". You can then
After that, you can show this link anywhere on your site.
Custom page handlers are indeed what you need. Here's some documentation to get started:
Thanks Juho.