- Posts: 18
- Thank you received: 0
display itineraries in hot maps
-
jean972
Inactive member - Topic Author
- New Member
Less
More
10 years 11 months ago #36435
by jean972
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 ..
display itineraries in hot maps was created 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.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 11 months ago #36447
by ivan.milic
Replied by ivan.milic on topic display itineraries in hot maps
Open:
\modules\mod_hot_maps\tmpl\default.php
form line ~43:
change to:
and put actual link instead of: [PUT YOUR LINK HERE]
\modules\mod_hot_maps\tmpl\default.php
form line ~43:
Code:
?>&<?php if($satellite) { ?>t=h&<?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 "+";
}
}
?>&ie=UTF8&view=map&f=a&saddr=<?php
for ($loop = 0; $loop < $keywords_number; $loop += 1) {
echo $keywords[$loop];
if($loop!=$keywords_number_1) {
echo ",+";
}
}
?>&<?php if($satellite) { ?>t=h&<?php } ?>output=embed" style="color:#0000FF;text-align:left"><?php echo $link_text; ?></a></small><?php } ?>
change to:
Code:
?>&<?php if($satellite) { ?>t=h&<?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