Usually when you go to my site and are not logged in you go the Activity list. I want non-logged in users to go to the blog/all view instead. How would I do that? Thanks.
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.
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- Flying Dutchman@dennisnederlof
Flying Dutchman - 0 likes
- Flying Dutchman@dennisnederlof
Flying Dutchman - 0 likes
- Flying Dutchman@dennisnederlof
Flying Dutchman - 0 likes
- Team Webgalli@webgalli
Team Webgalli - 0 likes
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
You must log in to post replies.JUST ANOTHER YET GUIDE
Create start.php
Add aboving file in new folder named as theme
Don't forget about manifest.xml !!!
Add theme folder in mod/ directory and activate new plugin Theme in Administration->Plugins
Check on now ;)
Lazy way is using Fair Forwarding plugin
I can't get the plugin code to work. It gets into some kind of a forwarding loop. I can not find the plugin that you mentioned.
So what I actually want to change is the page that is displayed when somebody (not logged in) happens to visit my site. Right now if displays the activity list and a login box on the right. I want it to be the blog list instead of the acvtivity list.
So this is the code that puts together the default page. Can I change the $content to reflecg blogs instead?
$content = elgg_view_title(elgg_echo('content:latest'));
$content .= elgg_list_river();
$login_box = elgg_view('core/account/login_box');
$params = array(
'content' => $content,
'sidebar' => $login_box
);
$body = elgg_view_layout('one_sidebar', $params);
echo elgg_view_page(null, $body);
Yes. by replacing
with
-----
But this is not recommended as you have to do this change everytime a new version of elgg is released.
Instead, use the index page hook and create your own index page. Take a look at the bundled custom_index plugin.
@Flying Dutchman https://github.com/AU-Landing-Project/fair_forwarding