Get Direction Link redirect to Frontpage

More
11 years 3 months ago #16161 by nordmograph
Hi
Is there anything else not working than the get directions?


Fixing the direction issue for sh404 should be easy.
open
plugins/community/geommunitylocator/geommunitylocator.php

find
Code:
$html .='<td><div style="float:right"><a href="#geommunity_plugin"><img src="'.$juri.$appfiles_path.'route.png" alt="" width="34" height="16" title="'.JText::_('PLG_GEOLOC_GETDIR').'" onclick="javascript:calcRoute('.$visi_lat.','.$visi_lng.');" /></a></div></td>';

This part is causing the issue:
Code:
href="#geommunity_plugin"
So you can simply remove it
or replace it with
Code:
style="cursor:pointer;"

Let me know

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago - 11 years 3 months ago #16165 by testcouch
hi,

for me makes this changes no difference!?
Code:
$html .='<td><div style="float:right"><a style="cursor:pointer;"><img src="'.$juri.$appfiles_path.'route.png" alt="" width="34" height="16" title="'.JText::_('PLG_GEOLOC_GETDIR').'" onclick="javascript:calcRoute('.$visi_lat.','.$visi_lng.');" /></a></div></td>';

the Route Feature does still not working in Plugin?

Friends Route Icon Redirect still to Frontpage! :(
Last edit: 11 years 3 months ago by testcouch.

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago #16167 by nordmograph
This only concerns the map route, not friends, but it should not change page anymore, only open the route slide.

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago #16169 by testcouch

nordmograph wrote: This only concerns the map route, not friends, but it should not change page anymore, only open the route slide.


sorry i'm little lost here..if the profle owner click on the friends marker then is on route icon still a redirect to frontpage!? :unsure:

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago #16170 by nordmograph
The fix I mentioned only concerned the "the map route, not friends"

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago #16171 by testcouch

nordmograph wrote: The fix I mentioned only concerned the "the map route, not friends"


wich route?? there is no route in Plugin, only the Route Icon in Friends Tooltip!?

Please Log in or Create an account to join the conversation.

Time to create page: 0.367 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.