map inside article

More
3 years 11 months ago #13476 by Dima
Replied by Dima on topic map inside article
yes. fixed in docs

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #13858 by transmetent
Replied by transmetent on topic map inside article
Hi,

I'm new, and I can't insert the map inside an article, could you help me?

You can see an exemple here:

projecte0.dreamhosters.com/broner/index.php/ca/

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago - 3 years 7 months ago #13859 by Dima
Replied by Dima on topic map inside article
Hi.

You can insert map into articles by 2 ways
- call plugin
- call plugin for overview map.

In first case you need
- create map
- create map objects, belonging to map (placemarks, paths...)
- call plugin
here link to plugin call
wiki.zhuk.cc/index.php/Zh_OpenStreetMap_Plugin
As result - map with your map objects is displayed

For case overview map, you need
- create field group for article
- create fields
- when create/edit article fill this fields
- in any place of article call plugin for overview map
Here article overview map description (see about fields)
wiki.zhuk.cc/index.php/Zh_OpenStreetMap_Article_Overview_Map
Here about article overview map plugin call
wiki.zhuk.cc/index.php/Zh_OpenStreetMap_...Article_Overview_Map

PS check that plugin is enabled

Don't forget support my developments: post review in JED , donate , help with translation ;)
Last edit: 3 years 7 months ago by Dima.

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #13860 by transmetent
Replied by transmetent on topic map inside article
Hi,
I checked that plugin is enabled.

I created a map with one placemark. Map id is: 1

I inserted this call to an article:

{zhosmmap-overview;1;Center}

and nothing happens.

I can't find where I did wrong.

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago - 3 years 7 months ago #13861 by Dima
Replied by Dima on topic map inside article
I wrote and give links
For article overview plugin call you need to configure articles
And you did mistake
{zhosmmap-overview:1;center}
For your case you did you need call simple plugin, first link
Here example
{zhosmmap:1}

Don't forget support my developments: post review in JED , donate , help with translation ;)
Last edit: 3 years 7 months ago by Dima.

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #13862 by transmetent
Replied by transmetent on topic map inside article
Hi,
I'm so sorry to disturb so much.
The problem was that the map was configured as 0 widht and 0 height.

There is any option to make it as big as posible embedding it into an article?

Thanks

Please Log in or Create an account to join the conversation.

Time to create page: 0.186 seconds

Donate


Go to top