Searching the database module??

Searching the database module??

door Peter Ho -
Aantal antwoorden: 12
Hi,

I have been searching for a database module/activity that can be used to create a questionnaire, whereby the data is subsequently stored in a database that can then be searchable by anyone that has access to this course.

I've downloaded the data module from:

http://moodle.org/file.php/5/moddata/forum/587/108640/data_020505.zip

This module allows me to do the first two, but does not seem to have a search option.

Is this module the same module that will appear in moodle 1.6? From the page of the description of the database module, it is suppose to be searchable. (http://moodle.org/mod/data/view.php?d=13&rid=22)

I have also tried using the questionnaire module. Like the database module I downloaded, there is no search option.

Is there a newer version of the database module that allows someone to search the database, based on a selected search field?

Are there any other alternatives?

Peter



Gemiddelde van de beoordelingen:  -
Als antwoord op Peter Ho

Re: Searching the database module??

door Yu Zhang -
Hi,

I think that is not the data module in 1.6. The data module in 1.6 supports simultaneous sorting and searching. It should also work fine with 1.5.

Cheers,

Yu
Gemiddelde van de beoordelingen:  -
Als antwoord op Yu Zhang

Re: Searching the database module??

door Peter Ho -
Yu,

I thought the same. Do you know where I can find the data module for moodle 1.6? Will it work in moodle 1.5.3+?


Peter
Gemiddelde van de beoordelingen:  -
Als antwoord op Peter Ho

Re: Searching the database module??

door Dan Stowell -
The data module is built-in to Moodle 1.6 - it is not a separate download. I don't actually know if it will work in 1.5.3+ but I would not risk it - it is being developed only with 1.6 in mind!
Gemiddelde van de beoordelingen:  -
Als antwoord op Dan Stowell

Re: Searching the database module??

door Martin Dougiamas -
Foto van Core developers Foto van Documentation writers Foto van Moodle HQ Foto van Particularly helpful Moodlers Foto van Plugin developers Foto van Testers
Actually, no, we've written it explicitly to work on 1.5.3+ as well. glimlach eg see http://moodle.org/buzz

There will be a 1.5.4 release soon, that's what I'd recommend.
Gemiddelde van de beoordelingen:  -
Als antwoord op Martin Dougiamas

Re: Searching the database module??

door Athail Pulino -
Hi, folks!

Entering 1.5.4 in the Search foruns I found about 10 references to this version of Moodle. Where can I find Moodle 1.5.4? Was it already released?
I really need to install the Database module and, following what I found in the forum topics I did not installed this module on my 1.5.3 version.

Thanks in advance.

Athail Pulino
http://aprender.unb.br


Gemiddelde van de beoordelingen:  -
Als antwoord op Peter Ho

Re: Searching the database module??

door Martin Dougiamas -
Foto van Core developers Foto van Documentation writers Foto van Moodle HQ Foto van Particularly helpful Moodlers Foto van Plugin developers Foto van Testers
The page you linked to:

http://moodle.org/mod/data/view.php?d=13&rid=22

*is* actually the database module in action. knipoog

I've added a direct download link there.
Gemiddelde van de beoordelingen:  -
Als antwoord op Martin Dougiamas

Re: Searching the database module??

door Peter Ho -
Hi Martin,

Thanks. I've downloaded it and will try it on moodle 1.5.3+


Cheers

Peter

Gemiddelde van de beoordelingen:  -
Als antwoord op Peter Ho

Re: Searching the database module??

door Peter Ho -
Hi,

The module seems to work in 1.5.3+, except that fields are shown as:

[fieldname]]typefielddescriptionaction

The data module is also named as : modulename.

I' m not sure what went wrong here, I removed the previously installed data module and replaced it with the new one.

Can someone explain how I can add check boxes and radio buttons?? The "usual" separation method "|" did not work.

Peter






Gemiddelde van de beoordelingen:  -
Als antwoord op Peter Ho

Re: Searching the database module??

door Just H -
Hi Peter

The type etc. is due to the language file being missing. Chances are you'll find a language file in the data module folder someplace, try dropping that file into the normal language folder.

Check boxes and radio buttons should be a field type option when you are setting up a new database.

H
Gemiddelde van de beoordelingen:  -
Als antwoord op Just H

Re: Searching the database module??

door Peter Ho -
HI H,

Unfortunately, there was no language folder.

With regard to the check boxes and radio buttons, I tried using the same format for differentiating  the field type options (|) but that did not work.

I guess when moodle 1.5.4 or 1.6 is ready all will be working fine.

At present, there is no documentation or help.

Thanks

Peter


Gemiddelde van de beoordelingen:  -
Als antwoord op Peter Ho

Re: Searching the database module??

door Keijo Heinström -
Hi Peter

You should download the Moodle 1.6 Beta package (Latest Development Nightly). There is a language file in lang/en_utf8/data.php for the database module.

Keijo
Gemiddelde van de beoordelingen:  -