Could someone please guide me. I want to show the spinner wheel during the (3 to 4 seconds) time it takes from the summiting a username and password until the activity page appears.
Is there a simple one liner to start the function running?
thanks
richard
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.
- ihayredinov@ihayredinov

ihayredinov - 0 likes
- rikmye@rikmye

rikmye - 0 likes
- ihayredinov@ihayredinov

ihayredinov - 0 likes
You must log in to post replies.Many thanks for the help but is this not part a JS script rather than a call from within PHP?
Not wanting to get into a discussion about changing the core.... I was hoping to be able to call the spinner at the point which the PHP code accepts the credentials and jumps to activity
../html/vendor/elgg/elgg/actions/login.php
line 78
system_message($message);
//SHOW SPINNER//
forward(activity);
That's already a different HTTP request, and you can't really do anything about/with it, but improve loading times of your activity page. There are things you can do, but it's all very technical and nothing that you would be able to do by copy/pasting server-side code