login | register
Sun 21 of Mar, 2010 (15:34 UTC)

bitweaver - Web Application Framework and CMS

Web Application Framework and CMS

     
Get RSS Feed

How to embed a map in a wiki page?

constantijnw
Joined: 19 Mar 2005
Reply to this PostReply with Quote to this Post

How to embed a map in a wiki page?

Posted:Wed 18 of Nov, 2009 (12:14 UTC)
I want to embed a map in a wiki page.

{attachment id=33 size=small}
writes the line: The attachment id given is not valid.
Will
Joined: 28 Sep 2005
Reply to this PostReply with Quote to this Post

Re: How to embed a map in a wiki page?

Posted:Thu 19 of Nov, 2009 (13:47 UTC)
attachment is for things like images or videos or other binary data that has been uploaded to a page (or other content). so attachment will not work for maps, which are a form of content.

as for embedding a map in a page - there is not a plugin for this currently. gmap package doesnt have this kind of support built in well yet either. probably would be easy to add, but needs to be written.
constantijnw
Joined: 19 Mar 2005
Reply to this PostReply with Quote to this Post

Re: How to embed a map in a wiki page?

Posted:Sat 21 of Nov, 2009 (07:46 UTC)
Would be nice and simple if all content types could be embedded in a wiki page. For now I've created an image of a map. Clicking it should load the map, but its link is truncated at the equal sign:
{attachment id=2 link=hxxp://bwsite/gmap/index.php?gmap_id=1} 
becomes
{attachment id=2 link=hxxp://bwsite/gmap/index.php?gmap_id} 
which loads the default map.