Linking resource from external site

Linking resource from external site

by stefano federici -
Number of replies: 5

I would like to be able to link from external site a questionnarie developed in a moodle site without having to require for user autentication.

To achieve this I created a course accessible to guest without them having to request for a key. But this is not enough. Indeed, when I link the questionnaire page I get a message saying that the resource is only accessible to teachers. Only after I click on "login" and choose a guest access, I'm finally brought to the course home page from where I can click on the questionnaire and have access to it.

Is it possible to create a direct link to a resource developed in a moodle site?

Thanks in advance for any help.

Average of ratings: -
In reply to stefano federici

Re: Linking resource from external site

by stefano federici -

Really there is no one that has ever tried to link a moodle resource from an external site? If you would like to give it a try, check the following link

http://www.sitibs.com/branches/fad/moodle/mod/questionnaire/view.php?id=21

If you click you will be redirected to the login page. Then you can login as a guest and you'll be able to see the questionnaire. Is it possible to skip the guest login page?

Thanks in advance for any suggestion

In reply to stefano federici

Re: Linking resource from external site

by Andrea Bicciolo -
You may want to try autologin guest option. Set it to true in Admin->Variables.
In reply to Andrea Bicciolo

Re: Linking resource from external site

by stefano federici -

I did set autologinguest variable to true but when I click on the following link

http://www.sitibs.com/branches/fad/moodle/mod/questionnaire/view.php?id=25

I can only see a page with the following message:

guestsno

Apparently my guest login was only due to the fact that I was using a browser window in which I had already logged in? I don't think so, as I really did it and when I was using such a page a could immediately see the questionnaire page without being brought to the login page... but I really can't be sure of this.

guestsno

In reply to stefano federici

Re: Linking resource from external site

by stefano federici -
Is there a chance that one single Moodle user ever red my post?...