-
AuthorPosts
-
September 26, 2013 at 1:33 pm #190948
hi,
how do i change the text under mobile (see image)?
i tried to locate in this, but no succes
/www/components/com_contact/views/contact/tmpl/default_form.php
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 27, 2013 at 5:04 am #507255You can find it here
+ Php code
Open templates/ja_beranis/html/com_contact/contact/default_address.php file
<?php if ($this->contact->mobile && $this->params->get('show_mobile')) :?>
<div class="contact-address ">
<div class="<?php echo $this->params->get('marker_class'); ?>" >
<?php echo $this->params->get('marker_mobile'); ?>
<span class="jicons-desc"><?php echo JText::_('TPL_CONTACT_MOBILE_DESC') ?></span>
</div>
<div class="contact-mobile">
<i class="icon-phone"> </i>
<?php echo nl2br($this->contact->mobile); ?>
</div>
</div>
<?php endif; ?>
+ JText language
Open language/en-GB/en-GB.tpl_ja_beranis.ini file
TPL_CONTACT_MOBILE_DESC ="Buy Online or call"
Let me know if it helps
woluweb Friendwoluweb
- Join date:
- October 2012
- Posts:
- 196
- Downloads:
- 18
- Uploads:
- 69
- Thanks:
- 68
- Thanked:
- 31 times in 3 posts
January 15, 2014 at 9:07 am #518526If I may add something : after having changed as mentioned above templates/ja_beranis/html/com_contact/contact/default_address.php and language/en-GB/en-GB.tpl_ja_beranis.ini, take some time to integrate the following corrections to default_adress.php
Indeed the default_adress.php file contains some errors in the icons. So here some corrections for some fields (sorry, the other fields I did not need, so I did not make a global check of the file. But adapt the same way I show here) :
Code was (excerpt) :
<?php if ($this->contact->telephone && $this->params->get('show_telephone')) : ?>
<div class="contact-address span4">
<div class="<?php echo $this->params->get('marker_class'); ?>" >
<?php echo $this->params->get('marker_telephone'); ?>
<span class="jicons-desc"><?php echo JText::_('TPL_CONTACT_TEL_DESC') ?></span>
</div>
<div class="contact-telephone">
<i class="icon-print"> </i>
<?php echo nl2br($this->contact->telephone); ?>
</div>
</div>
<?php endif; ?>
<?php if ($this->contact->fax && $this->params->get('show_fax')) : ?>
<div class="contact-address span4">
<div class="<?php echo $this->params->get('marker_class'); ?>" >
<i class="icon-mobile-phone"> </i>
<?php echo $this->params->get('marker_fax'); ?>
<span class="jicons-desc"><?php echo JText::_('TPL_CONTACT_FAX_DESC') ?></span>
</div>
<div class="contact-fax">
<i class="icon-phone"> </i>
<?php echo nl2br($this->contact->fax); ?>
</div>
</div>
<?php endif; ?>and this code should have been
<?php if ($this->contact->telephone && $this->params->get('show_telephone')) : ?>
<div class="contact-address span4">
<div class="<?php echo $this->params->get('marker_class'); ?>" >
<?php echo $this->params->get('marker_telephone'); ?>
<span class="jicons-desc"><?php echo JText::_('TPL_CONTACT_TEL_DESC') ?></span>
</div>
<div class="contact-telephone">
<i class="icon-phone"> </i>
<?php echo nl2br($this->contact->telephone); ?>
</div>
</div>
<?php endif; ?>
<?php if ($this->contact->fax && $this->params->get('show_fax')) : ?>
<div class="contact-address span4">
<div class="<?php echo $this->params->get('marker_class'); ?>" >
<?php echo $this->params->get('marker_fax'); ?>
<span class="jicons-desc"><?php echo JText::_('TPL_CONTACT_FAX_DESC') ?></span>
</div>
<div class="contact-fax">
<i class="icon-print"> </i>
<?php echo nl2br($this->contact->fax); ?>
</div>
</div>
<?php endif; ?>woluweb Friendwoluweb
- Join date:
- October 2012
- Posts:
- 196
- Downloads:
- 18
- Uploads:
- 69
- Thanks:
- 68
- Thanked:
- 31 times in 3 posts
April 11, 2014 at 6:08 am #530499mmmh, still not corrected in the latest version of the template.
Could you please Joomlart take 5 minutes to correct the source files ?
(different icons templates/ja_beranis/html/com_contact/contact/default_address.php are *not* correct, like phone for fax, fax for phone etc !)txs
Marc
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
April 14, 2014 at 3:51 am #530750Hi Marc,
We use these icons for demo only, you can change to another icons as you wish. Here is the icon list: http://fortawesome.github.io/Font-Awesome/3.2.1/icons/
Best,
AuthorPostsViewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 4 voices, and was last updated by Saguaros 10 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
contact form: change text
Viewing 5 posts - 1 through 5 (of 5 total)