[pmwiki-users] embedding iframe

Tegan Dowling tmdowling at gmail.com
Fri Apr 4 16:51:10 CDT 2008


On Fri, Apr 4, 2008 at 2:50 PM, James Montaldi <j.montaldi at gmail.com> wrote:
> Hi all
>
> Is it possible to embed a google map in a pmwiki page? I don't want it to be
> editable, which is I guess the main purpose of the Google API, this is just
> a "MyMap" I made in google maps, and the html code google gives begins
> <iframe width="425"  etc etc.

Absolutely!

1) you have to enable html for the page on which the map is to appear.
 You can do this by adding enabling code to the local\config.php file,
or by creating a local\Groupname.Pagename.php file with the enabling
code.  Be careful with this: you do not want to enable html generally
on a site or pages of a site that allow public editing, as this is a
serious security breach.  See
http://www.pmwiki.org/wiki/Cookbook/EnableHTML

2) if the html code google gives includes "&amp;" in place of
"&"-signs, remove the "amp;" bits.

Holler if you need more help with it!



More information about the pmwiki-users mailing list