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

[SOLVED]print and email icons not showing
(1 viewing) (1) Guest

TOPIC: [SOLVED]print and email icons not showing

Re: print and email icons not showing 10 years, 6 months ago #15885

Attachment printicon.jpg not found



here what i got ..as i mentionned .i dont want to change the look of the template . i just need the icons
Last Edit: 10 years, 6 months ago by walkys.
The topic has been locked.

Re: print and email icons not showing 10 years, 6 months ago #15997

  • SA Thuy
Dear Walkys lemaine,

Please send your URL + site account (admin + FTP) for us to check?
For the security reason, please enter your site account in
Require Help
From Staff + Mod/Admin?

when you reply this answer.



Thanks
The topic has been locked.

Re: print and email icons not showing 10 years, 6 months ago #16008

infos sent ...thanks
The topic has been locked.

Re: print and email icons not showing 10 years, 6 months ago #16123

Dear Walkys lemaine,

We added the icon print, email in your_site\templates\sj_vinda\html\com_k2\templates\sj-template\item.php

<!--add print email -->

<?php if(
			$this->item->params->get('itemPrintButton') ||
			$this->item->params->get('itemEmailButton')
			
		): ?>
  	<div class="itemToolbar">
		<ul>
		

			<?php if($this->item->params->get('itemPrintButton') && !JRequest::getInt('print')): ?>
			<!-- Print Button -->
			<li>
				<a class="itemPrintLink" rel="nofollow" href="<?php echo $this->item->printLink; ?>" onclick="window.open(this.href,'printWindow','width=900,height=600,location=no,menubar=no,resizable=yes,scrollbars=yes'); return false;">
					<i class="icon-print"></i><span><?php echo JText::_('K2_PRINT'); ?></span>
				</a>
			</li>
			<?php endif; ?>

			<?php if($this->item->params->get('itemEmailButton') && !JRequest::getInt('print')): ?>
			<!-- Email Button -->
			<li>
				<a class="itemEmailLink" rel="nofollow" href="<?php echo $this->item->emailLink; ?>" onclick="window.open(this.href,'emailWindow','width=400,height=350,location=no,menubar=no,resizable=no,scrollbars=no'); return false;">
					<i class="icon-envelope-alt"></i><span><?php echo JText::_('K2_EMAIL'); ?></span>
				</a>
			</li>
			<?php endif; ?>						
		</ul>
		<div class="clr"></div>
  </div>
		<?php endif; ?>

<!--end print email -->




Please check your site agian

Thanks!
The topic has been locked.
The following user(s) said Thank You: walkys

Re: print and email icons not showing 10 years, 6 months ago #16157

hi can i have the code to add it to the top and without the background.......Like the flat-news Template??

Thanks
The topic has been locked.

Re: print and email icons not showing 10 years, 6 months ago #16221

Dear Walkys lemaine,

We changed it for you.

1. go to your_site\templates\sj_vinda\html\com_k2\templates\sj-template\item.php

<?php if($this->item->params->get('itemCommentsAnchor') && $this->item->params->get('itemComments') && ( ($this->item->params->get('comments') == '2' && !$this->user->guest) || ($this->item->params->get('comments') == '1')) ): ?>
				<?php endif; ?>


<?php if($this->item->params->get('itemCommentsAnchor') &&   $this->item->params->get('itemComments') && ( ($this->item->params->get('comments') == '2' && !$this->user->guest) || ($this->item->params->get('comments') == '1')) ): ?>
<?php endif; ?>
				
                                <!--add print email -->

<?php if(
			$this->item->params->get('itemPrintButton') ||
			$this->item->params->get('itemEmailButton')
			
		): ?>
  	<div class="itemToolbar">
		<ul>
		

			<?php if($this->item->params->get('itemPrintButton') && !JRequest::getInt('print')): ?>
			<!-- Print Button -->
			<li>
				<a class="itemPrintLink" rel="nofollow" href="<?php echo $this->item->printLink; ?>" onclick="window.open(this.href,'printWindow','width=900,height=600,location=no,menubar=no,resizable=yes,scrollbars=yes'); return false;">
					<i class="icon-print"></i><span><?php echo JText::_('K2_PRINT'); ?></span>
				</a>
			</li>
			<?php endif; ?>

			<?php if($this->item->params->get('itemEmailButton') && !JRequest::getInt('print')): ?>
			<!-- Email Button -->
			<li>
				<a class="itemEmailLink" rel="nofollow" href="<?php echo $this->item->emailLink; ?>" onclick="window.open(this.href,'emailWindow','width=400,height=350,location=no,menubar=no,resizable=no,scrollbars=no'); return false;">
					<i class="icon-envelope-alt"></i><span><?php echo JText::_('K2_EMAIL'); ?></span>
				</a>
			</li>
			<?php endif; ?>						
		</ul>
		<div class="clr"></div>
  </div>
		<?php endif; ?>

<!--end print email -->


2. go to your_site/templates/sj_vinda/css/your_css.css and find:

div.itemToolbar {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border-bottom: 0 dotted #CCCCCC;
    border-radius: 45px;
    border-top: 0 dotted #CCCCCC;
    margin: 16px 0 0;
    padding: 2px 0;
}

=>

div.itemToolbar {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border-bottom: 0 dotted #CCCCCC;
    border-radius: 45px;
    border-top: 0 dotted #CCCCCC;
    display: inline-block;
    float: right;
    margin: 0;
    padding: 2px 0;
}


Please check your site again.

Thanks!
The topic has been locked.
The following user(s) said Thank You: walkys
Time to create page: 0.28 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