Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

How to remove buttons

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-18-2014, 01:16 PM
 
Milly4554 Milly4554 is offline
 

Advanced Member
  
Join Date: Feb 2014
Posts: 75
 

Default How to remove buttons

I want to remove the social Face Book buttons from the Left header section of my website ...http://kjbeautystore.com/

I thought that I could just * out the line of code but when I did that other things moved so I just don't know what to do ...

This is the code from my ideal_responsive/customer/head.tpl

I want to keep all the other face book buttons just remove the two that are running into the search window ...

Thanks ... Gene
--------------------------------------------------------------------------------
<div class="line2">
{if ($main ne 'cart' or $cart_empty) and $main ne 'checkout'}

{include file="customer/search.tpl"}

{include file="customer/language_selector.tpl"}

{/if}
<div class="fb-like" data-href="http://kjbeautystore.com/" data-width="38" data-layout="button" data-action="like" data-show-faces="false" data-share="true">
</div>
<a href="https://www.facebook.com/kjbeautystore"target="_blank"><img src="http://kjbeautystore.com/skin/common_files/modules/Socialize/images/facebook.gif" width="104px" height="38px" align="right" alt="Facebook Link" /> </a>
<a href="http://lesleyonline.kjbeautystore.com/wp/" target="_blank" ><img src="http://kjbeautystore.com/skin/common_files/modules/Socialize/images/LOL.png" width="104px" height="38px" align="right" alt="Lesley on Line Link" /> </a>
</div>

{include file="customer/noscript.tpl"}
--------------------------------------------------------------
this is what I did in RED...
in blue are the two buttons I made that I want to keep...
-----------------------------------------------
<div class="line2">
{if ($main ne 'cart' or $cart_empty) and $main ne 'checkout'}

{include file="customer/search.tpl"}

{include file="customer/language_selector.tpl"}

{/if}
*<div class="fb-like" data-href="http://kjbeautystore.com/" data-width="38" data-layout="button" data-action="like" data-show-faces="false" data-share="true">
</div>*

<a href="https://www.facebook.com/kjbeautystore"target="_blank"><img src="http://kjbeautystore.com/skin/common_files/modules/Socialize/images/facebook.gif" width="104px" height="38px" align="right" alt="Facebook Link" /> </a>
<a href="http://lesleyonline.kjbeautystore.com/wp/" target="_blank" ><img src="http://kjbeautystore.com/skin/common_files/modules/Socialize/images/LOL.png" width="104px" height="38px" align="right" alt="Lesley on Line Link"
/> </a>
</div>

{include file="customer/noscript.tpl"}
__________________
http://kjbeautystore.com/

X CART Gold v 4.6.6
CDSEO Pro 2.0 w/Rich Snippets
Reboot Responsive Template
alteredCart On-Sale Module
alteredCart Call For Price Plus
Reply With Quote
  #2  
Old 06-18-2014, 01:57 PM
  drheath's Avatar 
drheath drheath is offline
 

Advanced Member
  
Join Date: Nov 2010
Location: Wisconsin
Posts: 53
 

Default Re: How to remove buttons

close.. try
Code:
{* and *}
instead of the lone asterisks
__________________
Business Edition 5.2.10
Gold Plus 4.6.1
Reply With Quote

The following user thanks drheath for this useful post:
Milly4554 (06-19-2014)
  #3  
Old 06-19-2014, 05:08 AM
 
Milly4554 Milly4554 is offline
 

Advanced Member
  
Join Date: Feb 2014
Posts: 75
 

Default Re: How to remove buttons

Thanks drheath worked like a charm ... Gene
__________________
http://kjbeautystore.com/

X CART Gold v 4.6.6
CDSEO Pro 2.0 w/Rich Snippets
Reboot Responsive Template
alteredCart On-Sale Module
alteredCart Call For Price Plus
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:28 AM.

   

 
X-Cart forums © 2001-2020