I'm having a weird issue with the eportfolio block. Admins and teachers can use it just fine. Ehen a user clicks "Join Now" and sets up their account, then goes back to Moodle they get a message saying "Sorry, his activity is currently hidden"
I'm using the ELGG .651 and Moodle 1.6.3.
Anyone else have this problem?
回复Robert C Kalajian Jr.
Re: Portfolios: ELGG Portfolio Block: Hidden from users
We just encountered the same problem recently. I traced it to the assignment_eportfolio_offer_export function being called inside eportfolio_exportable. The function tries to initialize each assignment in a course. Problem is if the course module is visible false, it executes a "notice" which terminates the loop.
To fix this, add the following lines to the function assignment_eportfolio_offer_export in blocks/eportfolio/mod/assignment/lib.php
To fix this, add the following lines to the function assignment_eportfolio_offer_export in blocks/eportfolio/mod/assignment/lib.php
if (!$cm = get_coursemodule_from_id('assignment', $mod->id)) { return false; } $context = get_context_instance(CONTEXT_MODULE, $cm->id); if (!$cm->visible and !has_capability('moodle/course:viewhiddenactivities', $context)) { return false; };Do this right before the call to:
$assignmentinstance = new $assignmentclass($mod->id);
Dear Geoffrey,
Where can I download the Elgg integration block? I am using Moodle 1.64+ and want to install elgg eportfolio in it. I tried to download from the link below but I couldn't.
http://eduforge.org/wiki/wiki/nzvle/wiki?pagename=MoodleElggHOWTO
Thanks in advance.
Win
Where can I download the Elgg integration block? I am using Moodle 1.64+ and want to install elgg eportfolio in it. I tried to download from the link below but I couldn't.
http://eduforge.org/wiki/wiki/nzvle/wiki?pagename=MoodleElggHOWTO
Thanks in advance.
Win