Forums | Mahara Community

Developers /
Customizing Group Default Pages

anonymous profile picture
Deleted user
Posts: 4

21 May 2013, 10:21 PM

I am just getting started with mahara and am looking to extend/customize the groups plugin.  The initial goal is to have some default content in each new group, for example to have an initial page already created populated with default contents (text, blocks).  

How do you recommend I get started with adding something like this, creating a new plugin based off groups, insert a little page creation snippet somewhere, etc?  

Thanks, any pointers to get the engine started are much appreciated.  

Kristina Hoeppner's profile picture
Posts: 3875

09 June 2013, 6:23 PM

Hello Nathaniel,

Sorry for the long wiat for an answer. If you want to have certain default content in each group, you could customize the core code and include / exclude certain blocks on the group homepage and / or create a new page with certain content upon group creation.

I don't think you'll need to create an entirely new group plugin. If you wish to be able to make changes from the frontend instead of editing code all the time, some admin settings in the groups plugin could be the way to go so that you decide there what settings your new groups should have. That is going to be more involved than customizing the core code, but might be nicer for the future as it is more flexible.




2 results