Moodle plugins directory: Activity track | Moodle.org
Activity track
Blocks ::: block_activity_track
Maintained by Swati Sra
This block show the total no. of activities pending and completed in percentage and number in a course where course completion is activated.
Latest release:
65 sites
6 downloads
9 fans
Current versions available: 2
This block will help the students to view all the courses they are enrolled to along with the total number of activities in that course and how many of them are finished with overall percentage. Student can navigate to a specific course by just clicking on the course name. Please note that the block will only work if the course completion is activated on the course. This block will be actively maintained and support by Xeo InfoSoft Moodle team
Useful links
Contributors
Swati Sra (Lead maintainer)
Please login to view contributors details and/or to contact them
Thank you very much for this help, I will update my query and post you back.
Screenshot added
Nice block. It can be improved if you replace some hard-wired English language strings with language strings declared in the /lang/en language folder, so that they can be translated in AMOS (http://lang.moodle.org/) for Moodle users of languages other than English.
The hard-wired strings I saw in your code are: "Over", "Total", "inprogress", "notyetstarted", as for example in:
$this->content->text .= 'Over';$this->content->text .= 'Total';
As of today, the only language string available for translation is the plugin name itself
Please read this forum post about translations of contributed plugins: http://lang.moodle.org/mod/forum/discuss.php?d=2485
Thanks in advance for your help and thanks for a nice plugin.
Greetings from México.
it is a great block. But i don't know why the total activity number of a course is always 0, and the status of the course is 0%. but the over number is correct.
please give me a hand and thank you very much
Screenshot. Works Great, had to do some edits because of width of columns etc
Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP Notice: The block activity_track does not define the standard capability block/activity_track:addinstance
- line 606 of /blocks/moodleblock.class.php: call to debugging()
- line 584 of /blocks/moodleblock.class.php: call to block_base->has_add_block_capability()
- line 236 of /lib/blocklib.php: call to block_base->user_can_addto()
- line 1866 of /lib/blocklib.php: call to block_manager->get_addable_blocks()
- line 1005 of /lib/blocklib.php: call to block_add_block_ui()
- line 353 of /lib/blocklib.php: call to block_manager->ensure_content_created()
- line 6 of /theme/base/layout/general.php: call to block_manager->region_has_content()
- line 860 of /lib/outputrenderers.php: call to include()
- line 790 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
- line 99 of /backup/backup.php: call to core_renderer->header()
in /Users/macpro/code/gao25/lib/weblib.php on line 2817Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP Stack trace:
Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP 1. {main}() /Users/macpro/code/gao25/backup/backup.php:0
Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP 2. core_renderer->header() /Users/macpro/code/gao25/backup/backup.php:99
Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP 3. core_renderer->render_page_layout() /Users/macpro/code/gao25/lib/outputrenderers.php:790
Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP 4. include() /Users/macpro/code/gao25/lib/outputrenderers.php:860
Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP 5. block_manager->region_has_content() /Users/macpro/code/gao25/theme/base/layout/general.php:6
Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP 6. block_manager->ensure_content_created() /Users/macpro/code/gao25/lib/blocklib.php:353
Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP 7. block_add_block_ui() /Users/macpro/code/gao25/lib/blocklib.php:1005
Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP 8. block_manager->get_addable_blocks() /Users/macpro/code/gao25/lib/blocklib.php:1866
Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP 9. block_base->user_can_addto() /Users/macpro/code/gao25/lib/blocklib.php:236
Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP 10. block_base->has_add_block_capability() /Users/macpro/code/gao25/blocks/moodleblock.class.php:584
Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP 11. debugging() /Users/macpro/code/gao25/blocks/moodleblock.class.php:606
Dec 17 10:34:10 Amys-MacBook-Pro httpd[9136]: PHP 12. trigger_error() /Users/macpro/code/gao25/lib/weblib.php:2817
Are there any plans to release the compatible version for Moodle 2.5 or 2.6?
regards,
Manoj
-Derek
The plugin cannot be installed
Validating block_activity_track ... Error
[Error] Plugin does not declare its component name [null] Help with Plugin does not declare its component name
Installation aborted due to validation failure
Is it compatible with PostgreSQL?
Ricardo
It should be, i have not tried but can try. Will be able to do it in a weeks time will update you here only. You can raise the concern in git so I can check it with my team also.
Regards,
Swati
Could you kindly clarify:
Support for Separate Groups?
Support for 4.0+?