ricky
Results 1 - 1 of 1
byricky, May 19, 2009
really easy to install and to use, allows to add locations very easily and really enjoyed the directions option :)
just missing, in my opinion, 2 things:
- editor bt to put the {code} in the content, so users don't have to memorize it
- option to use tooltips when clicking in the icon instead of opening a new page
For the first one, it is possible to use other extensions to put custom code, but it would be nice to have an interface that would allow us to choose all the options to go with {svmap}
As for the second, I found a way to do it. It is a small change in fact:
FILE: \components\com_svmap\models\svmap.php
LINE: 384
FIND:
window.location.href = "'.JURI::base().'index.php?option=com_svmap&svmap_id='.$business->id.'&svmap_user_id='.$business->user_id.'&svmap_type='.$business->type.$Itemid.'";
REPLACE:
//window.location.href = "'.JURI::base().'index.php?option=com_svmap&svmap_id='.$business->id.'&svmap_user_id='.$business->user_id.'&svmap_type='.$business->type.$Itemid.'";
var myHtml = "'.$business->name.''.$business->description.'";
map.openInfoWindowHtml(point'.$cnt.', myHtml);
just missing, in my opinion, 2 things:
- editor bt to put the {code} in the content, so users don't have to memorize it
- option to use tooltips when clicking in the icon instead of opening a new page
For the first one, it is possible to use other extensions to put custom code, but it would be nice to have an interface that would allow us to choose all the options to go with {svmap}
As for the second, I found a way to do it. It is a small change in fact:
FILE: \components\com_svmap\models\svmap.php
LINE: 384
FIND:
window.location.href = "'.JURI::base().'index.php?option=com_svmap&svmap_id='.$business->id.'&svmap_user_id='.$business->user_id.'&svmap_type='.$business->type.$Itemid.'";
REPLACE:
//window.location.href = "'.JURI::base().'index.php?option=com_svmap&svmap_id='.$business->id.'&svmap_user_id='.$business->user_id.'&svmap_type='.$business->type.$Itemid.'";
var myHtml = "'.$business->name.''.$business->description.'";
map.openInfoWindowHtml(point'.$cnt.', myHtml);

