Page 2 of 2

Re: Maps don't show

Posted: 14 Aug 2014, 13:07
by eebee
Hi!

In the map list in the backend the component states two plugin-triggers {phocamaps view=map|id=1} or {phocamaps view=link|id=1|text=Map}. The second one gives a perfect result via a link, but the first one just displays a gray rectangle in the article. Gray rectangle since I choose that background.

Re: Maps don't show

Posted: 16 Aug 2014, 23:47
by Jan
Hi, can I see the site where this occurs, this can be caused by some javascript error, which is rendered on the site before map rendering.

Jan

Re: Maps don't show

Posted: 17 Aug 2014, 16:03
by eebee
Ok, any ideas of what? ;)

Re: Maps don't show

Posted: 18 Aug 2014, 21:52
by Jan
Hi, no :-( this can be an error rendered by other extension, template, etc. etc. :-( :idea:

Re: Maps don't show

Posted: 01 Sep 2014, 16:13
by eebee
Hi!

Sure You cannot point me in any directions?
I'm using it on this page:
http://tradforeningen.governor.se/index ... foretagare

Re: Maps don't show

Posted: 01 Sep 2014, 22:20
by Jan
Hi, I see:

the error is comming from this code:

Code: Select all

jQuery(document).ready(function(){	
	jQuery('#btss-advanced').click(function(){
	if (jQuery(".smartsearch-advanced:first").is(":hidden")) {
		jQuery(".smartsearch-advanced").css('width','100%');			
		jQuery("#btss-advanced ").css({'height':'28px','background':'#FFFFFF','border-left':'1px solid #CCCCCC','border-top':'1px solid #CCCCCC','border-right':'1px solid #CCCCCC'});		
		jQuery(".smartsearch-advanced").slideDown("slow");
		} else {
		jQuery(".smartsearch-advanced").slideUp('slow');
		jQuery("#btss-advanced").css({'border':'1px solid #FFFFFF','height':'18px'});	
		}
	});
	jQuery(".smartsearch-advanced").hide();
	  jQuery("#btss-advanced").hover(function () {
		jQuery(this).append('<div class="tooltipsmartseach"><p> Advance search</p></div>');
		jQuery('.tooltipsmartseach').css('background','#545454');
		jQuery('.tooltipsmartseach >p').css('margin-left','5px');
		jQuery('.tooltipsmartseach >p').css('margin-top','3px');
	  }, function () {
		jQuery("div.tooltipsmartseach").remove();
	  });
	jQuery('.inputboxsmart').data("placeholder","Select Frameworks...").chosen();	
:idea:

Code: Select all

jQuery('.inputboxsmart').data("placeholder","Select Frameworks...").chosen();

Re: Maps don't show

Posted: 02 Sep 2014, 06:12
by eebee
But there is no difference if I turn that component off, or if I uninstall it. :(

Re: Maps don't show

Posted: 06 Sep 2014, 01:05
by Jan
Can I see the site when you disable the component which do the problems? Or are you sure, the output is comming from component? It can come from temlate, plugin or module?

Jan

Re: Maps don't show

Posted: 06 Sep 2014, 06:13
by eebee
I found the problem. I had "double" sets of code, one for laptop and one for mobile using Bootstrap. This outputted double sets of JavaScript. I don't know why, but when I rewrote the mobile part, it worked. As a bonus, it solved a few other problems. Thanks for Your help. Love Your products.

Re: Maps don't show

Posted: 07 Sep 2014, 15:19
by Jan
Ok, great to hear it, it works.

Jan