Hello,
i have installed phoca maps plugin on my site. Works great for example on Contact page. However when i try to show map on index page, in leading article via {phocamaps view=map|id=1}, there is no html generated. The index page is blank, only with empty <body></body> tags.
Could anybody help me?
Thanks.
Plugin doesn't work on leading article
- Jan
- Phoca Hero
- Posts: 48714
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Plugin doesn't work on leading article
Hi, try to see errorLog on your server or try to enable php error reporting, maybe there is some php error 
https://www.phoca.cz/documents/16-joomla ... rs-on-site
Jan

https://www.phoca.cz/documents/16-joomla ... rs-on-site
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 30 Sep 2014, 10:04
Re: Plugin doesn't work on leading article
Hello, thanks for your tip.
There was some trouble with Directory Separator at line 58 in phocamaps.php. We set it to "/" and now it works.
There was some trouble with Directory Separator at line 58 in phocamaps.php. We set it to "/" and now it works.
- Jan
- Phoca Hero
- Posts: 48714
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Plugin doesn't work on leading article
Hi, do you use latest version of the plugin?
It has defined the directory separator:
if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR);
so there should not be any problem with the constant
Jan
It has defined the directory separator:
if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR);
so there should not be any problem with the constant

Jan
If you find Phoca extensions useful, please support the project