because of the fact, that nothing goes wrong if i use the other template. i would say no
you also have no idea what the problem is?
PhocaMaps not displayed
-
- Phoca Member
- Posts: 11
- Joined: 07 Aug 2018, 08:25
Re: PhocaMaps not displayed
i found the problem:
in the default_osm.php on line 59: it should be, not
in the default_osm.php on line 59: it should be
Code: Select all
echo '</div></div>';
Code: Select all
echo '</div>';
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PhocaMaps not displayed
Hi, it seems you are right, I will test it and fix it in next version.
Thank you very much for the info.
Jan
Thank you very much for the info.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 11
- Joined: 07 Aug 2018, 08:25
Re: PhocaMaps not displayed
no problem. but my initial problem still exists:
the phoca map component dont fit with die load-transistion.js of the template. these javascript removes with an animation the "rt-hidden" class (opacity: 0) an adds the "rt-visible" class (opacity: 1)
if i debug this function then i can see that the "body"-variable dont fit with the "body"-variable of the other pages of my site, but i dont know why. the user of the rockettheme forum (template) told me that the component disturb the script.
ja, maybe you can help me and give me a solution? :(
edit: here you can see the problem: http://svl-forst.de/svl_neu/index.php/s ... ortplaetze
the phoca map component dont fit with die load-transistion.js of the template. these javascript removes with an animation the "rt-hidden" class (opacity: 0) an adds the "rt-visible" class (opacity: 1)
if i debug this function then i can see that the "body"-variable dont fit with the "body"-variable of the other pages of my site, but i dont know why. the user of the rockettheme forum (template) told me that the component disturb the script.
ja, maybe you can help me and give me a solution? :(
edit: here you can see the problem: http://svl-forst.de/svl_neu/index.php/s ... ortplaetze
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PhocaMaps not displayed
Will be great to get info which component part disturbed which script so I can take a look at it.the user of the rockettheme forum (template) told me that the component disturb the script.
Mostly Phoca extensions use the libraries loaded by Joomla! so there should not be any conflict and if it works with another standard template then there will be some conflict between libraries - but will be great to get info which library is in conflict with other library
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 11
- Joined: 07 Aug 2018, 08:25
Re: PhocaMaps not displayed
sorry, but i'm not very skilled in coding javascript.
in my last post is everything what i found out. it seems to be, that the element rt-transition (which ist set on variable body) in the function load-transition.js (you can see it on my page under the link given in my last post) not the same as in other (e.g. menu Service -> Downloads which represents the component jDownloads)
Edit: the only additional javascripts are these ones in com_phocamaps/js
Edit2: maybe the rt-transition ist not seen as a div-element but something else :(
in my last post is everything what i found out. it seems to be, that the element rt-transition (which ist set on variable body) in the function load-transition.js (you can see it on my page under the link given in my last post) not the same as in other (e.g. menu Service -> Downloads which represents the component jDownloads)
Edit: the only additional javascripts are these ones in com_phocamaps/js
Edit2: maybe the rt-transition ist not seen as a div-element but something else :(
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PhocaMaps not displayed
The problem for me is understanding which javascript can somehow influence load-transtion.js
In javascript console I don't see any javascript error.
You can try to test to display the map with google maps, so you will know if the leaflet (osm maps) javascript libraries can be somehow in conflict with the template
Jan
In javascript console I don't see any javascript error.
You can try to test to display the map with google maps, so you will know if the leaflet (osm maps) javascript libraries can be somehow in conflict with the template
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 11
- Joined: 07 Aug 2018, 08:25
Re: PhocaMaps not displayed
when i try with google maps than comes an other error ...
one week ago, google maps worked with the same problem (hidden class), but now, i get this error0 - Call to a member function get() on null
Die Seite kann nicht angezeigt werden, weil:
Sie ein veraltetes Lesezeichen aufgerufen haben.
Sie über eine Suchmaschine einen veralteten Index dieser Webseite aufgerufen haben.
Sie eine falsche Adresse aufgerufen haben.
Sie keinen Zugriff auf diese Seite haben.
Die angefragte Quelle wurde nicht gefunden!
Während der Anfrage ist ein Fehler aufgetreten!
Bitte eine der folgenden Seiten ausprobieren:
Startseite
Bei Problemen ist der Administrator dieser Website zuständig.
Call to a member function get() on null
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PhocaMaps not displayed
Hi, "0 - Call to a member function get() on null" is only base info, can you enable error reporting to maxium and debug mode so you get complete error message?
Jan
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PhocaMaps not displayed
Hi, missing </div> should be OK in version 3.0.6
https://www.phoca.cz/news/1019-phoca-ma ... 6-released
Jan
https://www.phoca.cz/news/1019-phoca-ma ... 6-released
Jan
If you find Phoca extensions useful, please support the project