-
AuthorPosts
-
mulmulovich Friend
mulmulovich
- Join date:
- June 2011
- Posts:
- 24
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 7
- Thanked:
- 2 times in 1 posts
August 3, 2013 at 9:37 am #189447Hello,
i cant find a way to change the default option “Choose office location”
plz helpregards,
muli
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
August 3, 2013 at 9:45 am #501147Hi
In this file templatesja_beranishtmlmod_jaimagehotspotdefault.php at line 17
<div class="btn-group">
<a href="javascript:void(0)" class="btn">Choose Office Location</a>
<a href="javascript:void(0)" data-toggle="dropdown" class="btn btn-primary dropdown-toggle"><span class="caret"></span></a>
<ul class="dropdown-menu">
<?php foreach($description AS $des){
echo '<li><a href="javascript:void(0)" data-placement="#point-'.$des->imgid.'">'.$des->title.'</a></li>';
}?>
</ul>
</div>Change the text in RED
mulmulovich Friendmulmulovich
- Join date:
- June 2011
- Posts:
- 24
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 7
- Thanked:
- 2 times in 1 posts
August 3, 2013 at 9:52 am #501148thank u pavit, but my file looks like this (i dont know php so plz tell me what to change…)
<?php
/**
* ————————————————————————
* JA Beranis Template
* ————————————————————————
* Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
* @license – Copyrighted Commercial Software
* Author: J.O.O.M Solutions Co., Ltd
* Websites: http://www.joomlart.com – http://www.joomlancers.com
* This file may not be redistributed in whole or significant part.
* ————————————————————————
*/
defined(‘_JEXEC’) or die(‘Restricted access’);
?>
<div class=”jai-map-wrap<?php echo $params->get( ‘moduleclass_sfx’ );?>” id=”ja-imagesmap<?php echo $module->id;?>”>
<?php if($modules_des):?>
<div class=”jai-map-description”>
<?php echo $modules_des;?>
</div>
<?php endif;?>
<?php if($positionchoiseoffice == 1 && ($positionoffice == ‘top-left’ || $positionoffice == ‘top-right’ || $positionoffice == ‘middle-left’ || $positionoffice == ‘middle-right’)): ?>
<div class=”<?php echo $positionoffice;?>”>
<select id=”cd-dropdown” name=”cd-dropdown” class=”cd-select”>
<option value=”-1″ selected><?php echo JText::_(‘JAI_CHOOSE_OFFICE_LOCATION’);?></option>
<?php foreach($description AS $des){
if(!$des->title) $des->title = JText::_(‘JAI_TITLE_DEFAULT’);
echo ‘<option value=”point-‘.$des->imgid.'”>’.$des->title.'</option>’;
}?>
</select>
</div>
<?php endif; ?>
<div class=”jai-map-container”>
<?php
$i = 1;
foreach($description AS $des){
$classpoint = isset($des->classpoint)?$des->classpoint:”;
echo ‘<a style=”top:’.$des->offsety.’%;left:’.$des->offsetx.’%” class=”point ‘.$classpoint.’ point’.$i.'” href=”javascript:void(0)” id=”point-‘.$des->imgid.'” data-toggle=”popover” data-placement=”top” title=”‘.$des->title.'” data-content=”‘.$des->details.'”><span class=”hidden”>Point</span></a>’;
$i++;
}?>
<img src=”<?php echo $imgpath;?>” alt=””/>
</div><?php if($positionchoiseoffice == 1 && ($positionoffice == ‘bottom-left’ || $positionoffice == ‘bottom-right’)): ?>
<div class=”<?php echo $positionoffice;?>”>
<select id=”cd-dropdown” name=”cd-dropdown” class=”cd-select”>
<option value=”-1″ selected><?php echo JText::_(‘JAI_CHOOSE_OFFICE_LOCATION’);?></option>
<?php foreach($description AS $des){
if(!$des->title) $des->title = JText::_(‘JAI_TITLE_DEFAULT’);
echo ‘<option value=”point-‘.$des->imgid.'”>’.$des->title.'</option>’;
}?>
</select>
</div>
<?php endif; ?>
</div>pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
August 3, 2013 at 10:24 am #501149Hi
Sorry there was a misunderstanding about the version
anyway you can edit that <?php echo JText::_(‘JAI_CHOOSE_OFFICE_LOCATION’);?>
Going to the language file languageen-GBen-GB.mod_jaimagehotspot.ini
JAI_CHOOSE_OFFICE_LOCATION="Choose Office Location"
Change it with your desired text
1 user says Thank You to pavit for this useful post
-
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by pavit 11 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum