Searching the database module??

Searching the database module??

por Peter Ho -
Número de respostas: 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



Media de puntuacións: -
En resposta a Peter Ho

Re: Searching the database module??

por 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
En resposta a Yu Zhang

Re: Searching the database module??

por 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
En resposta a Peter Ho

Re: Searching the database module??

por 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!
En resposta a Dan Stowell

Re: Searching the database module??

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

There will be a 1.5.4 release soon, that's what I'd recommend.
En resposta a Martin Dougiamas

Re: Searching the database module??

por 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


En resposta a Peter Ho

Re: Searching the database module??

por Martin Dougiamas -
Imaxe de Core developers Imaxe de Documentation writers Imaxe de Moodle HQ Imaxe de Particularly helpful Moodlers Imaxe de Plugin developers Imaxe de Testers
The page you linked to:

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

*is* actually the database module in action. chiscadela

I've added a direct download link there.
En resposta a Martin Dougiamas

Re: Searching the database module??

por Peter Ho -
Hi Martin,

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


Cheers

Peter

En resposta a Peter Ho

Re: Searching the database module??

por 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






En resposta a Peter Ho

Re: Searching the database module??

por 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
En resposta a Just H

Re: Searching the database module??

por 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


En resposta a Peter Ho

Re: Searching the database module??

por 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