Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file Good plugin, just 2 issues

More
11 years 4 weeks ago #3406 by Lavers69
Good plugin, just 2 issues was created by Lavers69
First of all let me congratulate you on your plugin. I found it very easy to install and I am starting to see some results straight away.

I just have 2 issues:
1.) on the report I notice these items appearing at the top:
error: could not find file /home/lavers69/public_html/libraries/jquery/jquery-migrate-1.2.1.js
jQuery is loaded by the template
Bootstrap is loaded by the template

Do I need to download this migration js file? and should I prevent the template from loading jQuery and Bootstrap (and if so how)?

2.) I have a google map component installed which locates our rental properties called from the Jomres component. On the left of the map, the zoom control is distorted and I was told that this could be a js conflict
This is the url link to an example page:
www.golanguedoc.com/long-term-rental/propertysearch-0.html
Have you ever come across this issue before?

Thank you in advance. A donation and plugin review will be on their way.

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

More
11 years 3 weeks ago - 11 years 3 weeks ago #3407 by admin
Replied by admin on topic Re: Good plugin, just 2 issues
Hello and thank you!

1) Migrate is a file needed to make old jQuery scripts compatible with the newest versions of jQuery (v1.9+).
If the jQuery version is less than v1.9, you do not need it.
If you do, well make sure that file is located at the path mentionned in the error. You can get the file from the jQuery website.
You should not prevent the template from loading jQuery and Bootstrap. If it loads it, it means it needs it to work properly most liquely.

2) I came accross the zoom issue before. It is not a javascript issue but a stylesheet issue I came accross making my templates 'responsive'.
The template property:
img {
    max-width: 100% !important;
}
is the problem. Once removed for the map, eveything is back to normal. You have to override this property for the map canvas. Be aware the '!important' word may cause you problems in the override.

That should be it!

Olivier.
Last edit: 11 years 3 weeks ago by admin.

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

More
11 years 3 weeks ago #3408 by Lavers69
Replied by Lavers69 on topic Re: Good plugin, just 2 issues
Thanks Olivier, I really appreciate your quick response

On the first point I will search for the file and include it in the directory as you suggest.

On the second point, in the boostrap.css file for my template there is this code:

img {

max-width: 100%;

width: auto \9;

height: auto;
vertical-align: middle;
border: 0;
-ms-interpolation-mode: bicubic;
}
#map_canvas img,
.google-maps img {
max-width: none;
}

But in the template.css file there is the code that you identified:

img {
max-width: 100% !important;
}

Do you have any suggestions how I can override this template.css code?

I am very grateful for your help.

Iain

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

More
11 years 3 weeks ago #3409 by admin
Replied by admin on topic Re: Good plugin, just 2 issues
Since Bootstrap seems to take care of the matter, I would just go into the template's CSS and comment the max-width: 100% !important;

Olivier.

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