Virtual Learning Platforms Thread, Default MyMoodle Page does not display all courses in Technical; i'm using moodle 2.4 on ubuntu
By default, the MyMoodle page displays just 10 courses (and for my installation at ...
25th February 2013, 04:57 PM #1
- Rep Power
Default MyMoodle Page does not display all courses
i'm using moodle 2.4 on ubuntu
By default, the MyMoodle page displays just 10 courses (and for my installation at least there isn't even a link to the other courses - just a notice saying 'you have X hidden courses'. I know a lot of users are not going to fix this for themselves, even if I tell them many times, so I'd like to fix it for them.
I have tried editing the courses block on the default My Moodle page but this is not reflected for individual users. I can see in the database that when a user overrides the default (in this case to 'always show all'), a record is placed in mdl_user_preferences like:
id userid name value
9325 2 course_overview_number_of_courses 0
I'm not so keen on adding a record for every single user into this table so I looked at config-dist.php and found
// 9. FORCED SETTINGS
// It is possible to specify normal admin settings here, the point is that
// they can not be changed through the standard admin settings pages any more.
// Core settings are specified directly via assignment to $CFG variable.
// $CFG->somecoresetting = 'value';
// Plugin settings have to be put into a special array.
// $CFG->forced_plugin_settings = array('pluginname' => array('settingname' => 'value', 'secondsetting' => 'othervalue'),
// 'otherplugin' => array('mysetting' => 'myvalue', 'thesetting' => 'thevalue'));
This looks to me like a good place to change a default but I'm not sure what the name of the core setting would be.
thanks - Carol
IDG Tech News
26th February 2013, 10:28 AM #2
If you're on 2.4 you could check your settings in Site administration > Appearance > Courses and change the settings there to suit. The default courses per page is 20 and the default courses with summaries limit is 10.
Thanks to wiseoldowl from:
CarolBooth (27th February 2013)
26th February 2013, 06:34 PM #3
Site Admin-Appearance-Navigation on older 2.0 versions
27th February 2013, 10:41 AM #4
- Rep Power
Thanks Jeremy and Nadeem
I'm afraid that was too good to be true. I changed both settings to 40 but when logged in as teacher, the Courses block on MyMoodle still defaults to 10.
Anyone used forced settings in php.ini?
By DaveP in forum Office Software
Last Post: 30th November 2012, 05:24 PM
By Simcfc73 in forum Home Access Plus+
Last Post: 5th March 2012, 08:54 AM
By Apokeylips in forum EduGeek Joomla 1.0 Package
Last Post: 30th June 2010, 01:20 AM
By meastaugh1 in forum EduGeek AUP Informant
Last Post: 15th March 2010, 10:13 AM
By OverWorked in forum Windows
Last Post: 13th November 2008, 11:15 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)