RESOLVED: error when adding Google Map

RESOLVED: error when adding Google Map

olsi olsi -
回帖数:10

Hi guys,

Im trying to put a map on summary site:

<div><iframe>  google map url </iframe></div>

it shows error:

You don't have permission to access /course/editsection.php on this server.  Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

im using moodle 3.3

Thank you

(Edited by Mary Evans - made changes to heading - original submission Thursday, 9 November 2017, 9:11 AM)

(Edited by Mary Evans - RESOLVED - original submission Thursday, 9 November 2017, 6:07 PM)

回复olsi olsi

Re: theme error

Gareth J Barnard -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像

What theme and version please?

What steps are you doing to create the error?

How can we replicate the problem?

回复Gareth J Barnard

Re: theme error

olsi olsi -

Hi Gareth,

Im using adaptable 1.5.2.

The steps:

1- login moodle

2- click on site home and then turn editting on (not working on region blocks or marketing blocks of the theme)

3- after open the summary of site

4- on the summary content click on the HTML button and put the div content

After click on save changes it shows that error.

if i write smth else, not <iframe> of google map, ex: <p><a href=""></a></p>  its ok


Thank you

回复olsi olsi

Re: theme error

Emma Richardson -
Documentation writers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像

Have you tried the same with a different theme?  Clean or Boost for example?

Do you have any filters installed?  

回复Emma Richardson

Re: theme error

olsi olsi -

No i haven't but i will.

Filters, what do you mean?

回复olsi olsi

Re: theme error

Emma Richardson -
Documentation writers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像

Filters are a kind of plugin that can affect text/html entry.  Oh, and when you are entering the iframe, are you putting it in the html entry box?  

回复olsi olsi

Re: theme error

Fernando Acedo -
Plugin developers的头像 Testers的头像
回复Fernando Acedo

Re: theme error

olsi olsi -

Hi Fernando,

I try it and doesn't work.


Thank you

回复olsi olsi

Re: theme error

Fernando Acedo -
Plugin developers的头像 Testers的头像

Did you follow ALL the steps indicated in the post? (See the warning)

Because it works if you do what it explains. You have a sample in the demo site: https://adaptable.ws/demo