I'm trying to figure a way to add more fields to the category form in Moodle, is there a way to achieve that through local plugins? I have tried making a local plugin with the same file structure for editcategory_form.php and made a custom one with the same original file in addition to the new fields, the plugin gets recognized and installed and has it's own settings page that I can access but Moodle keeps serving me the original editcategory_form.php, how can I override it so it serves my copy of the form instead?
Is there a way to override core Moodle forms to add more fields? like category form
245 views Asked by Hussam Aj At
1
There are 1 answers
Related Questions in PHP
- How to add the dynamic new rows from my registration form in my database?
- Issue in payment form gateway
- How to create a facet for WP gridbuilder that displays both parent and child custom fields?
- Function in anonymous Laravel Blade component
- How to change woocomerce or full wordpress currency with value from USD to AUD
- General questions about creating a custom theme Moodle CMS
- How to add logging to an abstract class in php
- error 500 on IIS FastCGI but no clue despite multiple error loggings activated
- Composer installation fails and reverts ./composer.json and ./composer.lock to original content
- How to isolate PHP apps from each other on a local machine(Windows or Linux)?
- Laravel: Using belongsToMany relationship with MongoDB
- window.location.href redirects but is causing problems on the webpage
- Key provided is shorter than 256 bits, only 64 bits provided
- Laravel's whereBetween method not working with two timestamps
- Implementing UUID as primary key in Laravel intermediate table
Related Questions in MOODLE
- General questions about creating a custom theme Moodle CMS
- SQL query to get student enrolled in this month in a course - Moodle
- How do I set the color of the icon for my Moodle plugin of Activity type (mod) to match the color used by the theme?
- How to configure specific views (reports) in Microsoft Clarity for Moodle?
- Moodle Forum notifctions
- Moodle Database - Reverse Engineering ERD
- Course Header Navigation in Moodle
- syntax error, unexpected 'Request' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) Moodle
- How can I resolve the Moodle 4.3 installation error related to the PHP configuration and dynamic extensions?
- In a Moodle Assignment Submission Plugin, what is best-practice for creating a recurring field?
- How to authenticate logged-in user in Moodle using ASP.NET Core MVC?
- "Invalid parameter value deteced" moodle
- Scheduled tasks not running on moodle
- How to install moodle?
- Moodle error when previewing generated quiz from plugin
Related Questions in MOODLE-API
- SQL query to get student enrolled in this month in a course - Moodle
- How to authenticate logged-in user in Moodle using ASP.NET Core MVC?
- Moodle error when previewing generated quiz from plugin
- Is there a way to get cohort memberships for a particular User?
- Moodle LMS v3.9 - Course Completion not firing after activity completion
- How do I apply authentication to my ionic app using moodle?
- Calling the Moodle Rest-API
- LTI conne tion between moodle and brightspace
- How to skip moodle login page when integrated with Keycloak as IDP (opend id connect)
- Set up auto login to Moodle from external site
- Rest Webservice Moodle: Reset a test attempt for a quiz for a user
- Moodle best way to get information about user points in course and the whole points in the course
- How to log in Moodle 3.10?
- Moodle Course Custom SQL Report: Select students, group they belong to and final assessment grade for a specific course
- Moodle API Integration not working. What could be the issue?
Related Questions in MOODLE-THEME
- General questions about creating a custom theme Moodle CMS
- How do I set the color of the icon for my Moodle plugin of Activity type (mod) to match the color used by the theme?
- Exception - Call to a member function should_create_one_time_item_now() on null
- Newly created parent theme not detected in Moodle Theme Selector
- Seeking Guidance on Creating a Custom Moodle Theme from Scratch
- Error in PHP code - Block Edumy moodle theme
- How to render a new menu to display a menu bar in moodle
- The definition of navbar variable
- Moodle let user change his own picture
- Is there a way to override core Moodle forms to add more fields? like category form
- Install adaptive theme for Moodle via admin account
- Endable moodle tour via config or database
- How to change the moodle forgot password page?
- Is it possible to have a participants' course reports plugin with all their courses, the status of learning, time spent on moodle lms?
- How to enroll user in particular course in moodle
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
No, you cannot extend the edit category form without making core changes to the Moodle code.
With a local plugin, you could extend the navigation on the category page to include a link to a custom form (with the extra settings you want to add), but there is no way to directly override the original form (without modifying the core code).
e.g. in local/myplugin/lib.php:
(Example code written off the top of my head,so could easily have mistakes).