vfremaux / moodle-local_my Goto Github PK
View Code? Open in Web Editor NEWAlternative of moodle my pages using a modular assembly approach
Alternative of moodle my pages using a modular assembly approach
My local component allow to take custom control upon the my page "layout" and structrure in a more moodle compliant way. - Reorganize My layout - Allow switching back to standard my - Allow access override for power users against role assigned anywhere in Moodle - Allow forcing some users in My Page only It will need several patchs into main index.php and bloc navigation to work. Recommended patchs : ####################### Patch in index.php are usefull to allow some people overriding the My Page redirect. Possible patchs : ####################### In block/navigation/block_navigation.php, in get content : // Get the navigation object or don't display the block if none provided. if (!$navigation = $this->get_navigation()) { return null; } // PATCH : Removes link to home when forced my page // removes access to home for forced users $myoverride = false; if (has_capability('local/my:overridemy', context_system::instance()) && local_has_myoverride_somewhere()){ $myoverride = true; } if ($CFG->localmyforce && !$myoverride) { $navigation->children->remove('home', 70); } // /PATCH this requires local/my/lib.php being loaded earlier (f.e. in config.php) 2017072100 ========================================= Add capability local/my:ismanager to allow non siteadmins to have admin tab. 2017082200 ========================================= Add manager as being an author when assigned in some context 2019050300 - XXXX.0006 ========================================= Add more settings to control some elements visibility on widgets. Add capability to hide/show course attributes on grid/boxed views. XX.0011 ========================================= Privatize some widgets and the detailed pedagogic output. 2021031000 - XX.0013 ========================================= Add LTC override to course progression indicators, if exists in course. 2021100700 -- XX.0014 ========================================= Adds Pro section cache
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.