General developer forum

 
 
Picture of kamal kant
Admin menu - How can I customise it?
 

Hi Richard,

  Now I am on admin section, so I just want to know how can I add my own option under the 'Site Administration'.

I am sending the attachment please check it. I want to add a option, it says 'Licence Key'. I have already add it and Its working  the way I want but, the way I made it, may be it will generate error in future. I have marked it in attachment. so can you please explain it in detail, how can I make it in correct way?.

Please reply asap.

Thanks & Regards

Kamal


 
Average of ratings: -
It's only an avatar...
Re: Admin menu - How can I customise it?
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

Kamal,

As you will see I have moved this to General Development forum, perhaps people here can help you with this and it is NOT a Theme related issue.

Thanks

Mary

 
Average of ratings: -
Picture of kamal kant
Re: Admin menu - How can I customise it?
 

Okay Mary, thanks for your kindness

 
Average of ratings: -
Picture of kamal kant
Re: Admin menu - How can I customise it?
 

Can anybody help me for adding new plugin. I have already tried but I am not sure its created in correct way, although its wroking fine.

so can anybody help me for plugin creation.?

 
Average of ratings: -
Rosario playing soccer
Re: Admin menu - How can I customise it?
Group Particularly helpful Moodlers

Writing new plugins is a steep learning curve in Moodle, but feasible. Start with something that already does more or less what you want to do yourself. Copy it, rename it, reengineer it, step by step until it does what you want it to do. As on how to integrate into existing menus, put your plugin (block or mod?) in the Moodle 2 directory called local. See my own uploadusersandcourses.php code which shows you how to integrate the code/plugin into the existing Admin->USERS->uploadusersandcourses Menu. You will find my code in the related thread here in these forums.

Rosario

 
Average of ratings: -
Picture of Ankit Agarwal
Re: Admin menu - How can I customise it?
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers

Hi Kamal,

There are heaps of documents on how to create plugins, have a look at:-

http://docs.moodle.org/dev/Developer_documentation

That describes the ways to create different types of plugins/mods.

 

For adding new admin page, I can point you to an example:-

https://github.com/ankitagarwal/advanced_spam_cleaner/blob/master/settings.php

Hope that helps.

Thanks

 
Average of ratings: -
Picture of Mike Churchward
Re: Admin menu - How can I customise it?
Group DevelopersGroup Particularly helpful MoodlersGroup Testers

Have you searched for similar requests? I did find this one:

https://moodle.org/mod/forum/discuss.php?d=201114

 
Average of ratings: -