- Posts: 2
 - Thank you received: 0
 
Map not displaying when placemarks enabled
- philetaylor
 - Topic Author
 - Offline
 - New Member
 - 
            
         
        Less
        More
        
            
    
        
            
        
                13 years 4 months ago         -  13 years 4 months ago        #951
        by philetaylor
    
    
    
            
            
            
            
                                
    
                                                
    
        Map not displaying when placemarks enabled was created by philetaylor            
    
        Hi.
I have installed your component and the map display works fine when I disable any of the placemarks that I have created but as soon as I enable any of them, the map doesn't display and a section of Java code is displayed instead (what looks like the code that would be used to create the placemark.
I have tried disabling other modules that use jQuery but nothing seems to fix it!
The test map that I have created is:
http://***************/vacancy-map.html
Thanks
Phil
    I have installed your component and the map display works fine when I disable any of the placemarks that I have created but as soon as I enable any of them, the map doesn't display and a section of Java code is displayed instead (what looks like the code that would be used to create the placemark.
I have tried disabling other modules that use jQuery but nothing seems to fix it!
The test map that I have created is:
http://***************/vacancy-map.html
Thanks
Phil
        Last edit: 13 years 4 months ago  by philetaylor.            
            Please Log in or Create an account to join the conversation.
- Dima
 - 
            
				
                                 - Offline
 - Platinum Member
 - 
            
         
            
        
                13 years 4 months ago                #952
        by Dima
    
    
            
Don't forget support my developments: post review in JED , donate , help with translation
        
    
            
            
            
            
            
                                
    
                                                
    
        Replied by Dima on topic Re: Map not displaying when placemarks enabled            
    
        Hi.
You enter some data into placemark, that proceeded by your some plugin
Check this code
    
            You enter some data into placemark, that proceeded by your some plugin
Check this code
Code:
'Test'+
'</h1>'+
'<div id="bodyContent2"  class="placemarkBody">'+
'test'+
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><script type="text/javascript">
		(function($){
		$(document).ready(function () {
		$.cookieCuttr(
		{
    	cookieOverlayEnabled: false,
    	cookieNotificationLocationBottom: false,
      	cookieAnalytics: false,	
		cookieCutter: true,    	
		cookieMessage: 'Cookies on the SGOSS website - Your experience will be improved by allowing cookies',
		cookiePolicyLink: '#',
		cookieDeclineButton: false,
		cookieDiscreetLink: false,
		cookieDiscreetPosition: 'topright',
		cookieResetButton: false,
		cookieDisable: 'eg: #comments',
		cookieDomain: '',
		cookieErrorMessage: 'This feature places cookies in your browser and has been disabled.',
		});
		});
		})(jQuery);
		</script>
</head><body><p>test</p></body></html>'+
'</div>'+
'</div>';
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.
- Dima
 - 
            
				
                                 - Offline
 - Platinum Member
 - 
            
         
            
        
                13 years 4 months ago                #953
        by Dima
    
    
            
Don't forget support my developments: post review in JED , donate , help with translation
        
    
            
            
            
            
            
                                
    
                                                
    
        Replied by Dima on topic Re: Map not displaying when placemarks enabled            
    
        And, I think expected code was
    
            Code:
'Test'+
'</h1>'+
'<div id="bodyContent2"  class="placemarkBody">'+
'test'+
'</div>'+
'</div>';
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.
- philetaylor
 - Topic Author
 - Offline
 - New Member
 - 
            
         
        Less
        More
        
            
    
        - Posts: 2
 - Thank you received: 0
 
            
        
                13 years 4 months ago         -  13 years 4 months ago        #954
        by philetaylor
    
    
    
            
            
            
            
                                
    
                                                
    
        Replied by philetaylor on topic Re: Map not displaying when placemarks enabled            
    
        You are quite right, the "cookiemonster" plugin was the cause. (This is a plugin so that we can comply with the stupid new UK cookie laws!)
I have disabled it and everything seems to be working. I will contact the author of cookiemonster to try to resolve this.
Thanks
Phil
    I have disabled it and everything seems to be working. I will contact the author of cookiemonster to try to resolve this.
Thanks
Phil
        Last edit: 13 years 4 months ago  by philetaylor.            
            Please Log in or Create an account to join the conversation.
- perlarenee
 - Offline
 - New Member
 - 
            
         
        Less
        More
        
            
    
        - Posts: 1
 - Thank you received: 0
 
            
        
                13 years 3 months ago         -  13 years 3 months ago        #975
        by perlarenee
    
    
    
            
            
            
            
                                
    
                                                
    
        Replied by perlarenee on topic Re: Map not displaying when placemarks enabled            
    
        had a similar problem...turns out it was Joomla's email cloaking...bahhh 
    
    
        Last edit: 13 years 3 months ago  by perlarenee.            
            Please Log in or Create an account to join the conversation.
- Dima
 - 
            
				
                                 - Offline
 - Platinum Member
 - 
            
         
            
        
                13 years 3 months ago                #989
        by Dima
    
    
            
Don't forget support my developments: post review in JED , donate , help with translation
        
    
            
            
            
            
            
                                
    
                                                
    
        Replied by Dima on topic Re: Map not displaying when placemarks enabled            
    
        Yes, if you enter email address, then joomla try to change it to protect from spam bots.
In this case I suggest copy generated code pah paste in Additional HTML text.
I escaped it by hex-code for case show email address from contact (if you enable it), I replace @ symbol.
            In this case I suggest copy generated code pah paste in Additional HTML text.
I escaped it by hex-code for case show email address from contact (if you enable it), I replace @ symbol.
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.
        Time to create page: 0.228 seconds