Poster lagt til av Itamar Tzadok

Not entirely sure what you're trying to acheive, but if students are supposed to see only their own entries then they should be the entry owner with the activity set to require approval etc.

Of course, the catch is that the Database doesn't allow you to select or import the entry owner.

Needless to say the Dataform does. And with the Dataform view block you can populate the content anywhere on the site (provided the Dataform is on the front page, or within the course where the Dataform resides). Moreover, the Dataform has a field type that generates a unique hash key per entry.

hth  smiler

A couple of techniques I used to use:

1. Create an alternate list template that outputs the repeated entry info in CSV format. When you want to export, hide the activity, replace the template, copy the display to a txt file, restore the original template and show the activity.

2. With a bit of javascript, you can add a link that takes the current display reformat it to CSV and sends it to a pop up window from which you can copy to a txt file.

In both techniques it should be better to output the CSV formatted data in a textarea element.

hth smiler

 

I've just tested on WAMP 1.9.19+ and seems to be no probelm uploding and downloading from the Database activity.

What do you mean by "created from template", preset?

Have you tried creating a simple activity with one file field, and then upload download?

smiler

Not sure what exactly you mean by accessing the database and log files. You can view site logs reports via settings block -> site administration, and course logs via navigation block -> course -> reports. At any rate, this forum is for the Database module rather than the Moodle database. hth smiler