Hi, i would like to use dataform notification to notify the student when teacher edit their content.
May i know how to do that. Because there are no much explanation about the use of dataform notification
Hi, i would like to use dataform notification to notify the student when teacher edit their content.
May i know how to do that. Because there are no much explanation about the use of dataform notification
hi Hartmut,
Instead of sending email notifications, can i use other way?
is that ##notifications## are related to dataform notifcation?
and how to use ##notifications##?
Thanks
Hi Iruma,
##notifications## is only a view pattern. I don't think that you can use it for sending messages, but this is only my assumption. I also don't know what exactly the user will see with ##notifications##. When I added ##notifications## to a simple Dataform activity with notifications enabled, I didn't see anything. I only got the notifications as email.
With kind regards,
Hartmut
Hi Hartmut,
I'm still not very clear on using dataform notifcation, as the description for it are not details.
Can you give me an example or the flow on using it? It will be great help
Thanks
Hi Iruma,
I attached a simple activity "Daily Assignment" with two notifications, one for a teacher who will be informed that a student has submitted an assignment and one for the student who will get informed when his assignment has been graded.
Upload and apply the attached preset into a new Dataform activity and try it with a test student.
With kind regards,
Hartmut
Hi Hartmut,
i have problem using the presets that you gave.
I created a new Dataform activity, and upload the presets, and press apply button. But it din't show up anythings.
Is there any step i need to do for it?
Thanks
Hi Iruma,
No, there are no more steps required.
I tried to upload and apply the above Dataform preset, but had no success. Turning debugging on did not reveal more information. There was no debug message, no error message and the preset wasn't applied either. I am using Moodle 2.9.1 and Dataform 2015051100 version 2.9. Hopefully, Itamar Tzadok will find out why presets cannot be applied.
With kind regards,
Hartmut
I don't know why your preset does not apply. Do other presets you create on your site apply?
At any rate, one that does apply is attached. It's a simple activity with a notification on entry created. The notification is sent to admin and the entry author. Depending on your messaging settings it will go to either Moodle messages, email or both. Of course, for email the server has be configured to send email.
hth
Hi Itamar,
I could upload and apply your preset without any problem. I need to do more tests with applying presets at my life site.
With kind regards,
Hartmut
Hi Itamar,
I couldn't apply Dataform presets without user data at my site. Therefore, I completely uninstalled Dataform, downloaded and installed the module again and set up a simple Dataform activity (uploading of a file; tabular view). I couldn't apply the preset without user data. Again, there was no error message (debug was in developer mode).
But I could apply the preset with user data. I can copy any Dataform activity into Sharing Cart and add it in another course.
Another observation. If I am in edit mode and open the Dataform activity and click in breadcrumbs on the course link, I can see the course outline, but I am no longer in edit mode. No debug message.
With kind regards,
Hartmut
Your Daily assignment preset contains a backup of a page resource rather than the dataform activity you were preseting. That's why the "preset" does not apply.
For the edit issue please report in the tracker.
I set up a new Dataform activity with a file upload. Then I did two presets from the same activity, one with user data and one without. I can apply the preset with user data in a new course, but I cannot apply the preset without user data. So the same activity has a functioning preset and one that is not correct.
You wrote that the Dataform activity without user data contains a backup of a page resource rather than the dataform activity. I don't know how this can happen, because I only changed a simple Dataform activity from "with user data" to "without user data" when I wanted to get a preset. I wish I could give you an error message but there is none, although Debugging is set to developer mode. Anything else I can try out? Does SurveyPro, Group Choice or Sharing Cart interfere with Dataform?
With kind regards,
Hartmut
Thank you, Itamar. Preset without user data works great. I have no problems to apply it after changing the file preset_manager.php.
With kind regards,
Hartmut