database field application

database field application

by Anderson Hsu -
Number of replies: 3
Dear all,
Would it be possible to list content by sql language for the content of field contents? Thanks a lot.


Average of ratings: -
In reply to Anderson Hsu

Re: database field application

by AL Rachels -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

I don't think it's possible. That option text box accepts plain text only and does not get 'filtered' when in use so there is no way to 'interpret' any code you might place in it.

Simplest way to test that, that I can think of would be to try an use a generico filter there, which I did. It does not work.

In reply to AL Rachels

回應: Re: database field application

by Anderson Hsu -

Dear AL Rachels, 

Do you mean as listed as below:


In reply to Anderson Hsu

Re: 回應: Re: database field application

by AL Rachels -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Sorry, no I meant the text box you showed for the Multiple-selection menu field Options (one per line) box. I tried placing a couple of Generico filter items in there. It did not work. They were shown as plain text which meant they were not being filtered so trying to put sql in there with the filter will not work.