rvalitov / widgetkit-map-ex

Responsive version of Yootheme's Map Widget (Widgetkit2) with center map point and advanced features
GNU General Public License v3.0
22 stars 3 forks source link

Custom Marker don't show in pre-release version 1.5.1 alpha1 #40

Closed ProjektOliver closed 8 years ago

ProjektOliver commented 8 years ago

Hi,

when I use customs Markers, there isn`t shown one. When I use debug, it shows: Fatal error: Call to undefined function url_exists() in ../../com_widgetkit/plugins/widgets/map_ex/views/widget.php on line 79 Here is my link: http://rappenauer.de/marktplatz/nachrichten/item/tag-der-offenen-tuer.html

all actual versions

marcorensch commented 8 years ago

Hi - it looks like there is a problem with the debug function i tested it also on my page with the same result i think rvalitov will fix that shortly :-)

ProjektOliver commented 8 years ago

It´s a PNG with 50x50 pixel http://awesomescreenshot.com/0d15ziwx59 http://awesomescreenshot.com/0585zix394

rvalitov commented 8 years ago

Thank you, Oliver, for reporting this! The reason is described in #41 by @marcorensch. I will fix this error shortly.

rvalitov commented 8 years ago

You can download the patched version from here

ProjektOliver commented 8 years ago

thank you, I have update it. But cant see why the Markers didnt shown.

rvalitov commented 8 years ago

@ProjektOliver , I'm glad that it works fine now. The pre-release versions of the MapEx have lot of rewritten code and may have some bugs, that's why such versions are called "pre-release". Regarding the current issue, the url_exists function became a part of a class, but I forgot to update the code that calls this function. If you want, you can use a stable release of MapEx.

ProjektOliver commented 8 years ago

now I have the Plugin Version v1.5.1alpha1 from your download link, but no changes with the marker :(

rvalitov commented 8 years ago

It seems that you didn't update the files correctly. Please, make sure to update widget.php in the map_ex/views/ folder with this one. If the problem will still exist, then please send me the login and password to access your website's administrator panel privately to my e-mail ramilvalitov@gmail.com

rvalitov commented 8 years ago

Found the reason of the problem. The bug seems to happen when SEF URLs are enabled.

ProjektOliver commented 8 years ago

ok, but sh404SEF I have off. Also by joomla SEF?

rvalitov commented 8 years ago

It's strange. Because I tested the widget on my several websites with SEF-enabled and disabled, and it works fine. I use sh404SEF on some websites, too. I will investigate further why your website behaves in such extraordinary way...

rvalitov commented 8 years ago

It wasn't related to SEF :)

ProjektOliver commented 8 years ago

Thank you very much, it works. What means It wasn't related to SEF?

rvalitov commented 8 years ago

It was related to internal processing of the URLs by the widget. As I said the pre-release version may have some bugs. I still test it.

ProjektOliver commented 8 years ago

ah ok, so it isn`t my mistake. Thank you

rvalitov commented 8 years ago

It's not your mistake :) You are welcome. If you will experience any other problems, please, post a new issue.