Get Route button only works in modal

Phoca Maps - displaying maps in Joomla! CMS
loquero
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 03 Nov 2011, 01:58

Get Route button only works in modal

Post by loquero »

Hi I'm using the component since a few months ago and I'd realized that the get route button only works when the map is in a modal (clicking on Buscá tu sucursal más cercana) but if some tryes to use it directly from the page: Sucusales (not in a modal) the button does nothing.

Can you help me please??

The link is: rentalstation.com.ar

The link where doesn't work is: rentalstation.com.ar/index.php/sucursales



Thanks!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Get Route button only works in modal

Post by Jan »

Hi, I see, on your site, when you click on the button, you get javascript error:

Timestamp: 30. 1. 2015 23:38:37
Error: TypeError: Base64 is undefined
Source File: http://www.rentalstation.com.ar/index.php/sucursales
Line: 426

https://www.phoca.cz/documents/16-joomla ... -conflicts

Is Phoca Maps properly installed on your site? Phoca Maps includes a link to the base64 javascript library :idea: And I see no such link in source code of your site?

Jan
If you find Phoca extensions useful, please support the project
loquero
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 03 Nov 2011, 01:58

Re: Get Route button only works in modal

Post by loquero »

Ok, thanks a lot i found that the error was with the template.

I solve it.


Thanks!!!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Get Route button only works in modal

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply