Can a questionnaire be used outside of a course?

Can a questionnaire be used outside of a course?

by N Hansen -
Number of replies: 1
For example, could a questionnaire be linked to from the http://www.moodle.org page? I would like to be able to have a questionnnaire linked to from my main page by which any visitors to the website could submit their preferences and suggestions for courses they would like to take. I would rather people didn't have to sign up for a course to be able to participate in the questionnaire.
Average of ratings: -
In reply to N Hansen

Re: Can a questionnaire be used outside of a course?

by Mike Churchward -
Picture of Core developers Picture of Plugin developers Picture of Testers

Well, you could add a questionnaire to the main page of your site. People would have to at least login as a guest though (use the 'login as guest' button).

You can directly access the surveys in phpESP through the link,
http://[yoursite]/[yourhome]/mod/questionnaire/phpESP/public/survey.php?name=[surveyname].

Replace the [surveyname] with the name you gave the survey. But this won't use Moodle users, and isn't working within Moodle. You'll also have to add the line "require_once("../../../../config.php");" to the top if your /mod/questionnaire/phpESP/public/survey.php file (or use the one I've attached here - I'll move it into CVS).

But if you really want to do this outside of Moodle, I'd suggest just using the phpESP application itself. You can get it at: http://phpesp.sourceforge.net/.

mike