Hello!
So, I'm trying to update our themes to make them work with elgg 1.8 (per users request), and I'm facing this problem. If a user was logged in on 1.7.x versions, I use this code to send him to dashboard:
<?php
if (isloggedin()) forward('pg/dashboard/');
?>
However, now on 1.8.x if you logout it will redirect you to the dashboard, instead of the homepage. I've been looking throught the facebook theme for 1.8 and the structure but can't figure it out.
Help please?
I hope this is the right group to post?
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.
- DhrupDeScoop@Dhrup2000
DhrupDeScoop - 0 likes
- rjcalifornia@rjcalifornia
rjcalifornia - 0 likes
You must log in to post replies.$vars['url'] = logged out HomePage ?
look in 1.8B2 index.php for what it does when logged in or not.
that facebook theme does not fool around with the logout action itself.
Will look at it, I'm on the road xD