To change from dashboard to profile
In actions/login.php, change
forward("pg/dashboard/") to forward("pg/profile/$username");
:)
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.
very useful
thank you for sharing -- good work.
Diane, thanks for sharing....great!
Hello, I am just landing here for the firs time.
This is a good tip. I suppose it is also possible to ban completely the custom dashboard and replace it with a common page for all members. Do you know how?
Thanks in advance!
Is there a way to redirect someone who has registered successfully to an external html page instead of back to the log in page I tried to put the URL (in register.php) in the forward () as in forward (http://mysite.com/myexternalpage.html) But the page wouldn't display all I get is a blank screen so I've changed it back I need to do this as I'm working with kids and I need to explain in a bit more graphical detail about validating their e-mail as I am getting a 50% drop out rate from total to active and I believe this figure is created by not validating their e-mail address correct me if I'm wrong)
Any help is much appreciated
Re my above post I have this answer from the elgg google group see the thread here if anyone else is looking
http://groups.google.com/group/elgg-users/browse_thread/thread/4956de01f639dfe0
antifmradio
I just saw this thanks The problem with this method although very useful to others is that I am running the no public with feeds plugin which I think would prevent anyone not logged in to view the page I have just moved to 1.5 and will probably look at this again later this week
i developed a small plugin that allows redirection to the profile instead of the dasboard. After i published it i read about it here on the forum.
How to redirect to profile page after login (default landing page)
How Do I in Elgg 1.8?
If you define this function:
and register the following during your plugin init:
that should do it..
Never mind -- DO NOT use the solution above as it will cause issues (it will clear your system messages..).
One way to fix this would be to restore the messages by calling system_message($message); inside the if clause, but that's getting quite messy..
- Previous
- 1
- 2
- Next
You must log in to post replies.