Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7505945
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T22:05:51+00:00 2026-05-29T22:05:51+00:00

I am really a newbie to Moodle and I have got this advanced functionality

  • 0

I am really a newbie to Moodle and I have got this advanced functionality to build for a client’s Moodle site as quickly as I can. I have been reading a lot about Moodle through its documentation and any other online resources I can found but thought of taking some help from the experts out here too.

I am looking forward to build an advanced reporting feature where different role users have the permissions to view advanced reports (high level, overview level, individual)down their hierarchy.

The report data would be based on organization hierarchy i.e. say a manager can view a department report, within a dept he can select any of the sections, within a section, he can select any area and eventually any individual within that area.

I need to write a separate plugin for this so that future upgrades don’t over ride the changes. Can any one give me a starting point as to how to go about this one? Any links, pointers or suggestions would be useful as I am totally new with Moodle right now?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T22:05:52+00:00Added an answer on May 29, 2026 at 10:05 pm

    You need to put this plugin in the /local folder and provide access to its pages via links added to the main navigation block. This is done by putting the following function into /local/myplugin/lib.php which will be picked up automatically:

    myplugin_extends_navigation(global_navigation $navigation) {
        // Read the docs for get_context_instance and look at other uses to see what params you need
        $usercontext = get_context_instance(CONTEXT_USER, $USER->id, MUST_EXIST);
    
        // You will need to define some capabilities or use existing ones. If the user is allowed, they see the link below
        if (has_capability('whatevercapability', $context)) {
    
            // Adds a link
            $node_schedule = $nodecoursework->add('Submission Schedule',
                                                  new moodle_url('/local/myplugin/sub.php'),
                                                  navigation_node::TYPE_CUSTOM,
                                                  'Submission Schedule',
                                                  'Submission Schedule');
        }
    }
    

    The report pages are then placed in the folder as separate files (sub.php in this example). Look for the html_table() class to make the report, also its sql-based subclasses.

    Docs for making a local plugin are here and you can see an example here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

im a newbie to flash,and i hav got this really weird problem.i have created
I have being studying (newbie) .NET and I got some doubts. Reading from a
this is a really newbie question: How can I output XML with Spring MVC,
this is really a newbie question, but it would help me to have a
this is going to be a total newbie question but I can't really do
This is probably a really newbie question (well, I'm pretty sure it is), but
Im really really a newbie in regexp and I can’t figure out how to
This is probably a really stupid newbie-sounding question to you developer type people, but
I'm really a LINQ newbie. I got an unknown problem: public static int save(TEntity
I'm really new to VSTO so sorry if this is a newbie question. I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.