- Can not run with custom index plugin.
View Ben Potter's plugins
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.
Awesome!!!! Thanks for the update! Recommended!
Nice and simple thx
Nice theme.
As I understand, it is meant to be used only in the Walled Garden mode.Needs some tweaking (to get rid of the login screen on the plugin in order not to have two overlapping login forms). Thanks!
Regards.
This isn't a walled garden plugin
It doesn't work with Elgg 8.3. I did everything like rearranging the plugins and stuff, still not showing up on the index page. Any suggestions?
Will fix later. I think that the new index function changed
Edit start.php and delete everything. Then put this code in
<?php
function homepage_init() {
// Replace the default index page
elgg_register_plugin_hook('index','system','new_index');
}
function new_index() {
if (!include_once(dirname(dirname(__FILE__)) . "/homepage _1_8/homepage.php"))
return false;
return true;
}
elgg_register_event_handler('init','system','homepage_init');
?>
tell me if that doesn't work
Thanks for your prompt reply. I got the following error message, after I releaded start.php:
Fatal error: Call to undefined function elgg_register_plugin_hook() in /home/content/k/a/y/kay/html/platform/mod/homepage/start.php on line 5
It's elgg_register_plugin_hook_handle() actually.
I noticed that the plugin name contains a blank after "homepage" and before the first underscore. This might cause problems on some systems. I would advice to remove this blank.
that might be it because it works fine on my dev
so rename the folder to homepage and change
function new_index() {
if (!include_once(dirname(dirname(__FILE__)) . "/homepage/homepage.php"))
return false;
@Speedysnail. Thanks for the help. The problem was the /homepage _1_8/homepage.php statement which contained a gap after the homepage and before the underscore and the _1_8 which was referenced and which was not the name of the file it was looking for in the folder like you said. I've corrected the statement and it now works fine. Thanks a lot for the plugin. Just what I was looking for to complete my site.
One request, can you put the registration form on the home page in your next release? That would be good too. Thanks.
@Speedysnail. Something sililar to http://www.koncoku.com/. Thanks.
doesnt work in 1.8
anyone using this for the latest elgg?