Open in new window

More
11 years 10 months ago #18317 by marknissan@gmail.com
Can I set the hot map module to open in a new window with something like target="_blank" ?

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
11 years 10 months ago #18321 by milos
Replied by milos on topic Re: Open in new window
How do you mean to open module in a new window? If you meant to change link "View Larger Map" to open in a new window, then edit file /modules/mod_hot_maps/tmpl/default.php and find this part:
Code:
.....<?php if($link) { ?><br /><small><a href="http://maps.google.....

change it to
Code:
.....<?php if($link) { ?><br /><small><a target="_blank" href="http://maps.google.....

Please Log in to join the conversation.

More
11 years 10 months ago #18325 by marknissan@gmail.com
Thanks for that, I've done that, but still no new window on clicking "View Larger Map" refreshed cache etc Safari and Firefox are the same.


?>&amp;<?php if($satellite) { ?>t=h&amp;<?php } ?>output=embed"></iframe><?php if($link) { ?><br /><small><a target="_blank" href=" maps.google.com/maps?q=
for ($loop = 0; $loop < $keywords_number; $loop += 1) {
echo $keywords[$loop];
if($loop!=$keywords_number_1) {
echo "+";
}
}

am I missing something?

Cheers

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
11 years 10 months ago #18326 by milos
Replied by milos on topic Re: Open in new window
Are you using module or plugin? This was for module. If you are using the plugin, then the file to edit is /plugins/content/hotmaps/hotmaps.php

Please Log in to join the conversation.

More
11 years 10 months ago #18327 by marknissan@gmail.com
Using the Module, I checked and there's no Hot Maps content in the directory for /plugins/content/hotmaps/hotmaps.php

see this page

greendiscovery.cloudaccess.net/install-destination/

map at bottom right

cheers

Please Log in to join the conversation.

More
11 years 10 months ago #18331 by marknissan@gmail.com
link is now

greendiscovery.cloudaccess.net/

Please Log in to join the conversation.

Time to create page: 0.370 seconds
Powered by Kunena Forum