*

Philt

  • **
  • 6 posts
[Help] Yandex map in Veronika Theme
« on: March 16, 2017, 09:14:37 PM »
Hello !
I already asked a question on Yandex map, but now for some reason I can not find my topic. But it does not matter. I'll ask the question again. I found that Yandex map (link : https://market.osclass.org/plugins/maps/yandex-maps-pro_699) inside the Veronika Theme - it does not work correctly when the lazy load is enabled. However, if you turn off the lazy load (by delete from theme head.php line of code), the map works as it should, but the whole theme crashes ... How do I make the theme work and the Yandex map is displayed correctly? The fact is that when the lazy load is turned on - Yandex map for some reason splits .... how to solve this problem?
Google map is not like

*

Ivanko

  • *****
  • 388 posts
Re: [Help] Yandex map in Veronika Theme
« Reply #1 on: March 17, 2017, 01:54:00 AM »
@Philt
Hello
Your question is not related to Veronica theme issues, as it is an extra plugin.  >:(
Is not ? :-\ :o

If we post here issues with other plugins then veronika theme forum become full of "spammers".  :)
Why you do not want to work a bit yourself  and find a problem with solution ?  ::) ::) :o :o :o

I am sure a lot of people reads here , but guys lets discuss here bugs and suggestions to improve theme, but not 3rd party plugins.... :o :o :o

Dont make admin crazy to look the problems with plugins.
 8) :o








« Last Edit: March 17, 2017, 01:59:28 AM by Ivanko »

*

Philt

  • **
  • 6 posts
Re: [Help] Yandex map in Veronika Theme
« Reply #2 on: March 17, 2017, 09:06:09 AM »
@Ivanko

The problem with the plugin is only observed inside this particular theme. So I think that the placement of the issue in this  topic is justified. I tried to find a solution myself within a week, but I'm not strong in JavaScript. That's why I need help. The source of the problem is the file on which all the functionality of the Veronika theme is ... the plugin itself does nothing but connect Yandex maps by API and contains variables for the coordinate provided by osclass to display them on the map ...

*

MB Themes

Re: [Help] Yandex map in Veronika Theme
« Reply #3 on: March 17, 2017, 11:18:00 AM »
@Philt
Lazyload do action only on images that has class "lazy", maybe your plugin use it somewhere.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Philt

  • **
  • 6 posts
Re: [Help] Yandex map in Veronika Theme
« Reply #4 on: March 17, 2017, 05:11:59 PM »
@Philt
Lazyload do action only on images that has class "lazy", maybe your plugin use it somewhere.

No. In the plugin there is nothing at all except the connected library from Yandex maps. And variables for the transfer of geodata .. the variables are standard from osclass. I do not know what to do. Yandex map is much better than Google's, there is an opening on the whole page without moving from the site, detailing, 3d objects, and does not require a key api. And I just can not properly implant it. The maximum I achieved is moved by the div, inside which the map is loaded - up to the code for connecting the Yandex maps, so the map appears in 1 instance, but only after the page is updated.

*

MB Themes

Re: [Help] Yandex map in Veronika Theme
« Reply #5 on: March 18, 2017, 06:51:53 AM »
@Philt
I have never used Yandex service, have you checked issue with plugin author?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Philt

  • **
  • 6 posts
Re: [Help] Yandex map in Veronika Theme
« Reply #6 on: March 24, 2017, 02:09:59 PM »
I found something new in trying to set up a Yandex map.
As it turned out, it's not all about lazy load. The map starts to be duplicated when the turned on switch "Sticky Ad Field" in Veronika theme settings. If it is turned off in the theme settings - the map does not double, but then the sidebar in the ad not moving...

How do you implement the enable / disable the sticky side of the field in the ad?

*

MB Themes

Re: [Help] Yandex map in Veronika Theme
« Reply #7 on: March 25, 2017, 07:14:48 AM »
@Philt
Via stick_in_parent funciton and it's script (called something like sticky)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots