Re: Google Map plugin in category

  • jagoda
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 8 months ago - 12 years 8 months ago #17538 by jagoda
Hi,
we use your Model Agency template and for map we use StyleWare K2 plugin. Evriting works fine in article. Every map is showing, but in category map is not showing. We already contact StyleWare but they answered that something in template is blocking the map ( picture) to show, so we have blank space instead of map and pointers are shown. Pleas any help would be good because only that one thing is blocking us to start filling our web.

Temporary link:

Temporary link:
models.wh.rs/index.php?option=com_k2&vie...ory&id=14&Itemid=218

models.wh.rs/index.php?option=com_k2&vie...ate-upton&Itemid=228

Thanks

In meantime i have try another plugin K2 Google Maps plugin but i get the same thing. Blank place in place for map.
Last edit: 12 years 8 months ago by jagoda. Reason: new info

Please Log in to join the conversation.

More
12 years 8 months ago - 12 years 8 months ago #17553 by ivan.milic
No it's not, actually there is no conflict at all, in fact even generated img tags is ok :

example:
Code:
<img style="width: 630px; height: 350px; " src="http://maps.googleapis.com/maps/api/js/StaticMapService.GetMapImage?1m2&amp;1i298940077&amp;2i193507121&amp;2e1&amp;3u21&amp;4m2&amp;1u630&amp;2u350&amp;5m3&amp;1e0&amp;2b1&amp;5sen&amp;token=105908">

but image does not show. Since there is no relation with problem and our template its up to them to battle the problem.
Last edit: 12 years 8 months ago by ivan.milic.

Please Log in to join the conversation.

  • jagoda
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 8 months ago #17577 by jagoda
Hi,
i have some more questions, but not in way that i doubt in your templete but i have problem which i have to solve so ... i think about this problem a lot.

In that light, i have to ask why plugin is working properly in article but not in category.

And second ... this plugin is working just fine in other template but we would like to change template ... we find that your template is better, have more modul position ....

Any help would be welcome
Thanks

Please Log in to join the conversation.

More
12 years 8 months ago #17593 by ivan.milic
it appears forcing map image to show solves problem. Add this to head section in index.php of template:

Code:
<script type="text/javascript"> jQuery(document).ready(function(){ jQuery('#map_canvas > div').first().find('> div').first().find('> div').first().find('> div').last().prev().find('IMG').show(); }); </script>

Please Log in to join the conversation.

  • jagoda
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 8 months ago #17599 by jagoda
Thanks for help,
but its not working.

I provide template index.php with code you gave me.

Is there some other solution?

Thank you.

Please Log in to join the conversation.

More
12 years 8 months ago #17602 by ivan.milic
put it just above </head> , modifying file for you would be too much.

Please Log in to join the conversation.

Time to create page: 0.086 seconds
Powered by Kunena Forum