display itineraries in hot maps

  • jean972
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
10 years 11 months ago #36435 by jean972

jbrahim wrote: Thank you for your support,

I am looking for a way to display itineraries in hot maps

i want o create a line from a city to another and may be display some info if possible.



i found a component that could do that its ''phocamaps'' now i would like to change the link "View Larger Map" to go to that component on my website i edited the default.php in mod_hot_maps but it doesnt go when i change the link of maps.google.com/maps?q= .. it brings me no were when i put mywebsite.com/index.php/maps

it still tries to open up the Google maps .. in the link below i see it keeps the adresse of the Google maps ..

Please Log in to join the conversation.

More
10 years 11 months ago #36447 by ivan.milic
Open:

\modules\mod_hot_maps\tmpl\default.php

form line ~43:
Code:
?>&amp;<?php if($satellite) { ?>t=h&amp;<?php } ?>output=embed"></iframe><?php if($link) { ?><br /><small><a href="http://maps.google.com/maps?q=<?php for ($loop = 0; $loop < $keywords_number; $loop += 1) { echo $keywords[$loop]; if($loop!=$keywords_number_1) { echo "+"; } } ?>&amp;ie=UTF8&amp;view=map&amp;f=a&amp;saddr=<?php for ($loop = 0; $loop < $keywords_number; $loop += 1) { echo $keywords[$loop]; if($loop!=$keywords_number_1) { echo ",+"; } } ?>&amp;<?php if($satellite) { ?>t=h&amp;<?php } ?>output=embed" style="color:#0000FF;text-align:left"><?php echo $link_text; ?></a></small><?php } ?>


change to:
Code:
?>&amp;<?php if($satellite) { ?>t=h&amp;<?php } ?>output=embed"></iframe><?php if($link) { ?><br /><small><a href="[PUT YOUR LINK HERE]" style="color:#0000FF;text-align:left"><?php echo $link_text; ?></a></small><?php } ?>

and put actual link instead of: [PUT YOUR LINK HERE]
The following user(s) said Thank You: jean972

Please Log in to join the conversation.

Time to create page: 0.168 seconds
Powered by Kunena Forum