X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How to remove buttons (https://forum.x-cart.com/showthread.php?t=69404)

Milly4554 06-18-2014 01:16 PM

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"}

drheath 06-18-2014 01:57 PM

Re: How to remove buttons
 
close.. try
Code:

{* and *}
instead of the lone asterisks

Milly4554 06-19-2014 05:08 AM

Re: How to remove buttons
 
Thanks drheath worked like a charm ... Gene


All times are GMT -8. The time now is 01:20 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.