I created a plugin which is a personal form for every users on my site, which is publicly accessible for visitors.
The pages are created based on guid /form/guid, using get_input(guid)
But I'd like the url to be be /form/username.
How to do that ?
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.
- Matt Beckett@Beck24
Matt Beckett - 0 likes
- Gerard@gkanters
Gerard - 0 likes
You must log in to post replies.it would be the exact same way, but in your page handler you would get username in the parameters instead of a guid
There are a few examples of that in core, eg. the profile plugin
Thanks Matt, I just could not find an example.