Use database as a repository

Use database as a repository

by Graciano Torrão -
Number of replies: 7

Hi,

Is there any to create a  the database so that each student can edit his/her own records and simultaneously view all the others?

Thanks

Average of ratings: -
In reply to Graciano Torrão

Re: Use database as a repository

by Itamar Tzadok -

If by 'simultaneously view all the others' you mean adding/editing records in the list view (inline) then it is not possible with the database module without hacking the code. It is possible however with the dataform plugin. smile

In reply to Itamar Tzadok

Re: Use database as a repository

by Graciano Torrão -

Hi,

I was taking a look at your dataform plugin.

I will test it.

Thanks

In reply to Graciano Torrão

Re: Use database as a repository

by Itamar Tzadok -

I recommend waiting a few more days for version 1.0.5 which should include import/export and fix a few issues. If you try version 1.0.4 you need to apply a temporary fix by replacing one of its files. See this post for the required replacement.

Also, there is a known issue with MSSQL deprecated ntext fields. If you are using MSSQL you may need to convert the DB text fields to varchar(max) at least in the dataform tables and in the groups table. smile 

In reply to Itamar Tzadok

Re: Use database as a repository

by Sergio Rabellino -
Picture of Particularly helpful Moodlers Picture of Plugin developers

Dear Itamar,

 there's chance to get you interesting plugin working on an "old" Moodle1.9 ? For now, we are tied to "production" platforms and will upgrade later.

If yes, where i can get a zip to test it ?

Thanks in advance

In reply to Sergio Rabellino

Re: Use database as a repository

by Itamar Tzadok -

Currently there is no version for 1.9. Adjusting the dataform to 1.9 will have to revise all places which deal with the files API, backup/restore some elements of import/export etc. This may require a considerable amount of work. smile 

In reply to Itamar Tzadok

Re: Use database as a repository

by Sergio Rabellino -
Picture of Particularly helpful Moodlers Picture of Plugin developers

Yes, I know, as i'm a plugin developer too, my question was around a "double" forks for either old and new moodles, but i understand that is a bigger work.

Thanks anyway.

In reply to Sergio Rabellino

Re: Use database as a repository

by Itamar Tzadok -

Actually, there is a proof of concept version which was developed on 1.9. It should be attached in MDL-26983. It is not complete and as is may not suit production sites. smile