Αναρτήσεις που έγιναν από τον/την Itamar Tzadok

Yes, the restriction is applied at midnight, that is 00:00 on the specified day. There is probably no foolproof workaround. You can add javascript to the instance to prevent editing but javascript can be turned off on the client side.

Submit a tracker request for future versions. Afaict it is not likely to be changed in released versions as it is not necessarily a bug.

At any rate, it seems like a fairly easy fix which you can try to apply to your installation. Basically, change the date_selector in the module settings form to date_time_selector.

So, in mod/data/mod_form.php around line 29, change

        $mform->addElement('date_selector', 'timeavailablefrom', get_string('availablefromdate', 'data'), array('optional'=>true));

        $mform->addElement('date_selector', 'timeavailableto', get_string('availabletodate', 'data'), array('optional'=>true));

        $mform->addElement('date_selector', 'timeviewfrom', get_string('viewfromdate', 'data'), array('optional'=>true));

        $mform->addElement('date_selector', 'timeviewto', get_string('viewtodate', 'data'), array('optional'=>true));

to

        $mform->addElement('date_time_selector', 'timeavailablefrom', get_string('availablefromdate', 'data'), array('optional'=>true));

        $mform->addElement('date_time_selector', 'timeavailableto', get_string('availabletodate', 'data'), array('optional'=>true));

        $mform->addElement('date_time_selector', 'timeviewfrom', get_string('viewfromdate', 'data'), array('optional'=>true));

        $mform->addElement('date_time_selector', 'timeviewto', get_string('viewtodate', 'data'), array('optional'=>true));

hth χαμόγελο

Moodle in English -> Database -> Maps for the latlong field -> Re: Maps for the latlong field

από Itamar Tzadok -

If you make it a database field type plugin (datafield) it can be readily available to the community even before it is integrated into core and you can get valuable feedback. χαμόγελο

 

You can use 2 Database activities, one for profile info and the other for course entries. You can interlink them by static links. hth χαμόγελο

Not quite the right forum for this query. You can probably find the answer in the Enrolment forum. At any rate, the 'mdl_user_enrolments' and 'mdl_enrol' tables should provide you with the desired info. The former records the id of the enrollment method (enrolid) for each course enrollment and the latter will give you the details of that enrollment method. hth χαμόγελο

Moodle in English -> Database -> Editing records -> Re: Editing records

από Itamar Tzadok -

If you add to the list/single template the ##edit## pattern it will display an icon to click for opening the entry in editing mode. The editing form is based on the Add Template. hth χαμόγελο