I have installed on Joomla 2.5.20 your Phoca Maps Component 2.0.6 and Phoca Maps Plugin 2.0.5
I don't know, how to creating link from my address module to open in Light/Slimbox.
My Created Map is stored with ID1
Please and thanks for help answer.
Creating link from module to open map with lightbox
-
- Phoca Member
- Posts: 15
- Joined: 09 Nov 2011, 00:03
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Creating link from module to open map with lightbox
Hi, try to add the plugin code the the module, if there is a place to accept content plugins:
https://www.phoca.cz/documents/16-joomla ... t-articles
Jan
https://www.phoca.cz/documents/16-joomla ... t-articles
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 15
- Joined: 09 Nov 2011, 00:03
Re: Creating link from module to open map with lightbox
Jan, I have made exactly but my opened lightbox is empty; display only background without created map.
I added in my module this code and accepted prepared content
I added in my module this code and accepted prepared content
Code: Select all
{phocamaps view=link|id=1|text=My Address}
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Creating link from module to open map with lightbox
Hi, empty can mean a php error, try to enable php error reporting to see if there is no php error - try to test the javascript errors too, they can prevent from displaying the map.
https://www.phoca.cz/documents/16-joomla ... rs-on-site
https://www.phoca.cz/documents/16-joomla ... -conflicts
Jan
https://www.phoca.cz/documents/16-joomla ... rs-on-site
https://www.phoca.cz/documents/16-joomla ... -conflicts
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 15
- Joined: 09 Nov 2011, 00:03
Re: Creating link from module to open map with lightbox
Report me this error, but I don't know what to do
Error:
/var/www/vhosts/xxxxxxxx.xx/httpdocs/components/com_content/router.php on line 48
line 48 content this:
Error:
/var/www/vhosts/xxxxxxxx.xx/httpdocs/components/com_content/router.php on line 48
line 48 content this:
Code: Select all
if (($menuItem instanceof stdClass) && $menuItem->query['view'] == $query['view'] && isset($query['id']) && $menuItem->query['id'] == intval($query['id'])) {
unset($query['view']);
if (isset($query['catid'])) {
unset($query['catid']);
}
if (isset($query['layout'])) {
unset($query['layout']);
}
unset($query['id']);
return $segments;
}
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Creating link from module to open map with lightbox
Hi, which error you exactly get? Do you get some concrete error message?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 15
- Joined: 09 Nov 2011, 00:03
Re: Creating link from module to open map with lightbox
i don't know, but this time work. But exist other problem. See image - why display top and left empty place and not display all map.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Creating link from module to open map with lightbox
Hi, when you test it with standard template, do you get the same problem?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 15
- Joined: 09 Nov 2011, 00:03
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Creating link from module to open map with lightbox
Hmmm, really no idea what can be wrong there, testing here:
https://www.phoca.cz/demo/phoca-maps-demo-plugin
click the last link: Some Link To Map - everything is aligned properly, the same if looking at the code.
Try to recheck some of the plugins and modules which are loaded on the site at the same time like the map, if there is no conflict with maps css (which is possible, when e.g. some module loaded own css and it is somehow in conflict with the maps css)
Jan
https://www.phoca.cz/demo/phoca-maps-demo-plugin
click the last link: Some Link To Map - everything is aligned properly, the same if looking at the code.
Try to recheck some of the plugins and modules which are loaded on the site at the same time like the map, if there is no conflict with maps css (which is possible, when e.g. some module loaded own css and it is somehow in conflict with the maps css)
Jan
If you find Phoca extensions useful, please support the project