Forums | Mahara Community

Support /
Adding an extra custom tab in blocktypes


Yaju Mahida's profile picture
Posts: 131

02 March 2010, 1:36

I want to add extra custom tab in available blocktypes categories for my institution.

I tried to find this in code but couldn't find. Please, how to do this.
anonymous profile picture
Account deleted
Posts: 25

02 March 2010, 17:27

Hi Yaju,

You will need to add an entry in the 'blocktype_category' database table. Then, use that category name in the get_categories() method of your blocktypes. You will also want add an appropriate language string for blocktypecategory.yourcategoryname in the view.php language file.

Hope that helps.

Cheers,

Evan

2 results