Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

[SOLVED] How to show fax number
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: [SOLVED] How to show fax number

[SOLVED] How to show fax number 10 years, 4 months ago #14958

Even though I have it to display the fax number in Contacts component, it doesn't get displayed in the module.
Last Edit: 10 years, 4 months ago by officezen.

Re: How to show fax number 10 years, 4 months ago #15046

Please provide a pointer on this. Thanks.

Re: How to show fax number 10 years, 4 months ago #15108

Dear zen,

We're sorry about the lateness. This module isn't support about this. so, you can custom following the steps:
1. go to your_site\modules\mod_sj_contact_ajax\tmpl\default.php and find:
$mobile = trim($list->telephone);
					if($mobile != '' ){		
					?>
					<div class="info-mobie cf">
						<i class="icon-mobile-phone"></i>
						<span class="info-label" data-label="<?php echo JText::_('TEL_LABEL') ?>">: <?php echo $mobile; ?></span>
					</div>
					<?php }

=>

$mobile = trim($list->telephone);
					if($mobile != '' ){		
					?>
					<div class="info-mobie cf">
						<i class="icon-mobile-phone"></i>
						<span class="info-label" data-label="<?php echo JText::_('TEL_LABEL') ?>">: <?php echo $mobile; ?></span>
					</div>
					<?php }
					$fax = trim($list->fax);
					if($fax != '' ){		
					?>
					<div class="info-fax cf">
						<i class="icon-print"></i>
						<span class="info-label" data-label="<?php echo JText::_('FAX_LABEL') ?>">: <?php echo $fax; ?></span>
					</div>
					<?php }


2. go to your_site\modules\mod_sj_contact_ajax\assets\css\styles.css and add the code at the end of this file:
.info-fax{margin:15px 0 0;}
.info-fax i{font-size:20px;}


3. go to your_site\modules\mod_sj_contact_ajax\language\en-GB\en-GB.mod_sj_contact_ajax.ini and add the code at the end of this file:
FAX_LABEL="Fax"


Thanks!

Re: How to show fax number 10 years, 4 months ago #15110

Thanks for the info.

You will also need to add the following to the module CSS:

.contact-ajax  .ctajax-element .el-info-contact .info-fax i {
	font-size:20px;
	float: left;
    margin-right: 25px;
} 


Please considering adding this into the next release if you think it will be a good addition to have as a default setting.
Last Edit: 10 years, 4 months ago by officezen.
The following user(s) said Thank You: anhqn
  • Page:
  • 1
Time to create page: 0.21 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes