View Full Version : Not being able to edit
muddysmurf
03-10-2009, 01:20 PM
Now I've been looking over the solution recipes, and it says once I make the map, that I can click on the map in design view of Dreamweaver, and the properties will change to have a button "edit".
I've done this before with other extensions, but I am not able to do this. When I do click on the map, it highlights a box area of the map, and the properties menu doesn't change.
I go and look at the code when I click the map, and the div tag that the map is enclosed it is selected. So I am actually selecting the map. lol
Ray Borduin
03-11-2009, 07:52 AM
Is the map functional? Did you change anything by hand? It should work as you expect.
If you create a new page and add a new map, can you inspect it? That might tell us if it is a problem with this page or in general. I am not familiar with this problem, so I don't know for sure.
muddysmurf
03-11-2009, 09:03 AM
I didn't touch any code. I was thinking that the first time I entered the map. So I took it out (even the components on the page and file folder it made) and saved it. Then entered it again. I've done this three times, and so far I get the same effect.
I can post a screen shot tonight of what it's doing when it's selected (If it will let me).
The map is functional. Here is the page I have it on, http://www.jaspercycles.com/contact.php
muddysmurf
03-15-2009, 08:21 AM
This is what happens when I click on the map in design view. The properties do not change either.
muddysmurf
03-15-2009, 01:15 PM
Well after playing with this further, I don't really think the map is that functional. I followed the solution recipe to add the address form for someone to get directions. I followed everything it told me to do and when I enter the data, the address doesn't come up. The address bubble doesn't show up either (maybe this is what it's suppose to do?)
This is getting really frustrating for me because I've set this same map up 6 times, I've even uninstalled the extension, restarted, installed it, and tried to put it back on the page. (Deleted the map components on the page before doing this)
http://www.jaspercycles.com/contact.php the map is at the bottom left.
Ray Borduin
03-16-2009, 08:01 AM
Open the map .js file and change the line:
var fromAddress = {
enabled: true,
to:
var fromAddress = {
enabled: <?php echo(isset($_POST['getDirections'])?true:false); ?>,
muddysmurf
03-17-2009, 06:55 PM
I changed it, and I still do not get any directions. The page reloads, but nothing happens with the map/directions area.
Also, any ideas on why I cannot edit my map?
Ray Borduin
03-18-2009, 08:31 AM
It does not look like you made the update. I view source and still see:
var fromAddress = {
enabled: true,
and the code I had you add would make it say:
var fromAddress = {
enabled: false,
until you submitted the form with the directions.
muddysmurf
03-18-2009, 10:33 AM
I looked in my code, and apparently two of the times that I took the map out and put it back in, it was still calling on php versions 1 and 2, I'll update it tonight for just 3 being in there and see what happens.
I have a support ticket in for the not showing the edit button, so hopefully they'll see what's going on and fix it. It's driving me crazy not being able to edit what's there. This is the only problem I've had with extensions. The other ones I have seem to work fine when I need to edit something.
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.