Activity

Hello,
I have some issues with extend layout.
I have created the new custome page with elgg_register_page_handler(). But, I don't know how to move Activity and The Wire content to this page page content.

Many thanks @RvR and @Tom.
I will try an awesome plugin first, I don't want to change anything inside Elgg core.
Hope in the near future Elgg team can make it possible for Elgg developers to create extra... view reply

Hi, I'm newbie,
I'm trying to develop Elgg, and I want to create a new plugin for new type (Ex: Course) as same as group plugin.
I already searched old topics about clone group plugin, but all topics are very old, and they don't...

@ Quang Nguyen , Cloning elgg group to Course plugin is not hard but it will be messy. There are core classes that do check for Elgg entity when Elgg engine starts e.g ElggDataTable classs, ElggEntity, and a few other classes. Even if you change the whole group files and code plugin to course, you will need to create some database tables which Elgg core team discourages. In addition, after cloning, the Elgg Course will load just normal, and after creating a new Course title and description, the database will be updated just fine but the site will crash because the ElggEntity class will not recognize your new entity called course in your database and hence a Fatal error will be generated and hence a blue screen with several error messages will politely greet your screen. This means that you have to change most of the Elgg core classes to include the entity called course and a Class called ElggCourse to run your Course plugin.

After going through all the pain of modifying the core Class, after an Update of the elgg core versions or releases, you will have to go back in and change the core again and this can be pain in the brain for a site administrator.

Here is how the tables you will need to setup just for your Course plugin activate.php file located at.

For now you have to stick with what RvR has suggested you. However, hope in the near future Elgg team can make it possible for Elgg developers to create extra entities than (user, group, site, and object ) to serve different projects or purposes without changing the core code.

From my understanding, the plugin that RVR recommended an awesome plugin normally will create a link on the site which will show groups then the subtype will show up next segment on the link. I think a browser with group context and then subtype e.g localhost/group/course/... is what most users are trying to avoid at the same time they want to maintain or run the group plugin on the site while the clone of group plugin is running. Hence having a clean url like localhost/course/... instead of the other way round e.g localhost/group/course/...