OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Map on All Vehicles:Default view page (0 viewing) 
VehicleManager component support
Go to bottom Favoured: 0
TOPIC: Map on All Vehicles:Default view page
#22606
paevo (User)
Expert Boarder
Posts: 108
graphgraph
User Offline Click here to see the profile of this user
Map on All Vehicles:Default view page 1 Month, 3 Weeks ago Karma: 0  
The map on the All Vehiclesefault listings page does not work, either on my site or on your demo of the Autoseller template. Is there an easy way to add the Google API key in the com_vehiclemanager > views > all_vehicle folder?
 
Logged Logged  
  The administrator has disabled public write access.
#22607
paevo (User)
Expert Boarder
Posts: 108
graphgraph
User Offline Click here to see the profile of this user
Re:Map on All Vehicles:Default view page 1 Month, 3 Weeks ago Karma: 0  
This is the page in question from the demo on your website: http://ordasoft.com/demo.php?view=pc&t=Autoseller
 
Logged Logged  
  The administrator has disabled public write access.
#22640
Taras (Admin)
Admin
Posts: 2858
graphgraph
User Offline Click here to see the profile of this user
Re:Map on All Vehicles:Default view page 1 Month, 3 Weeks ago Karma: 55  
Hello,

On demo map works, follow attache image

It can be problem of default API KEY, it can be blocked in your region.

You need get your our API key and replace our in component.

Follow below links, they will help you.

How to get api key:

developers.google.com/maps/documentation/javascript/get-api-key

or you can add API key in file default.php

Add
Code:

//maps.googleapis.com/maps/api/js?key=1234567890&sensor=false


instead

Code:

//maps.googleapis.com/maps/api/js


where "1234567890" your key

location: your website components/com_vehiclemanager/views/all_vehicle/tmpl

Thanks
Taras
 
Logged Logged  
  The administrator has disabled public write access.
#22649
paevo (User)
Expert Boarder
Posts: 108
graphgraph
User Offline Click here to see the profile of this user
Re:Map on All Vehicles:Default view page 1 Month, 2 Weeks ago Karma: 0  
I tried this using the API key I put into the Vehicle Manager settings and putting it in the default.php file, but it did not work. I also tried getting yet another API key from Google and put that one in the default.php but it also did not work.

It looks as if I'm going to have to remove this map. Can you please tell which PHP code I need to remove the map and not have a PHP error?
 
Logged Logged  
  The administrator has disabled public write access.
#22680
Taras (Admin)
Admin
Posts: 2858
graphgraph
User Offline Click here to see the profile of this user
Re:Map on All Vehicles:Default view page 1 Month, 2 Weeks ago Karma: 55  
Hello,

Can you provide access to website and our team will check issue with map.

We will configure map for that view and you will not delete it.

Thanks
Taras
 
Logged Logged  
  The administrator has disabled public write access.
#22717
paevo (User)
Expert Boarder
Posts: 108
graphgraph
User Offline Click here to see the profile of this user
Re:Map on All Vehicles:Default view page 1 Month, 2 Weeks ago Karma: 0  
Is there some way to simply hide the map? I tried using CSS:

Code:

  .vm_map_canvas, #vm_map_canvas {
    border: 1px solid #DDD;
    height: 300px;
    margin: 5px 0 10px;
    width: 100%;
}



But that prevents the map in the location tab from appearing. I need to hide map on All Vehicles listing page only.
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?