Jump to content

 

pantamf

Member Since 18 Feb 2015
Offline Last Active Jun 01 2015 01:53 PM
-----

Topics I've Started

How To Make Giveaway On Cs-Cart V 4.2.4.

01 June 2015 - 01:53 PM

How to make giveaway on CS-CART v 4.2.4.?

Admin Allow User Registration

12 May 2015 - 12:08 PM

How to do that has admin to allow registration customers. CsCart 2.2.5. professional?

Move To Subdomain

11 May 2015 - 12:01 PM

How move cs-cart from root to subdomain? version 2.2.5 professional

Add New Location On Layouts

04 May 2015 - 02:02 PM

On CS-cart 4.2.4 admin panel: Design/Layouts/More/Add Location...

Where is this on Cs-cart 2.2.5?

I want to add one more location on Version 2.2.5

Posted Image

How To Remove This?

22 April 2015 - 04:27 PM

In /skins/fresh_pick/customer/top.tpl how remove search, sign in or regsiter, cart (button, cart is empty,all)? CS-CART: version 2.2.5 PROFESSIONAL skin: Fresh Pick

This is top.tpl:


{* $Id$ *}

<div class="header-helper-container">
<div class="logo-image">
<a href="{""|fn_url}"><img src="{$images_dir}/{$manifest.Customer_logo.filename}" width="{$manifest.Customer_logo.width}" height="{$manifest.Customer_logo.height}" border="0" alt="{$manifest.Customer_logo.alt}" /></a>
</div>

{include file="top_quick_links.tpl"}

{include file="top_menu.tpl"}
</div>

<div class="top-tools-container">
<span class="float-left"> </span>
<span class="float-right"> </span>
<div class="top-tools-helper">
<div class="float-right" id="sign_io">
{hook name="index:user_info"}
{assign var="escaped_current_url" value=$config.current_url|escape:url}
{if !$auth.user_id}
<a id="sw_login" {if $settings.General.secure_auth == "Y"} rel="nofollow" href="{if $controller == "auth" && $mode == "login_form"}{$config.current_url|fn_url}{else}{"auth.login_form?return_url=`$escaped_current_url`"|fn_url}{/if}"{else}class="cm-combination"{/if}>{$lang.sign_in}</a>
{$lang.or}
<a href="{"profiles.add"|fn_url}" rel="nofollow">{$lang.register}</a>
{else}
<a href="{"profiles.update"|fn_url}" class="strong">{if $user_info.firstname && $user_info.lastname}{$user_info.firstname} {$user_info.lastname}{else}{$user_info.email}{/if}</a>
({include file="buttons/button.tpl" but_role="text" but_href="auth.logout?redirect_url=`$escaped_current_url`" but_text=$lang.sign_out})
{/if}

{if $settings.General.secure_auth != "Y"}
<div id="login" class="cm-popup-box hidden">
<div class="login-popup">
<div class="header">{$lang.sign_in}</div>
{include file="views/auth/login_form.tpl" style="popup" form_name="login_popup_form" id="popup"}
</div>
</div>
{/if}
{/hook}
<!--sign_io--></div>
<div class="top-search">
{include file="common_templates/search.tpl"}
</div>
</div>
</div>

<div class="content-tools">
<span class="float-left"> </span>
<span class="float-right"> </span>
<div class="content-tools-helper clear">
{include file="views/checkout/components/cart_status.tpl"}

<div class="float-right">
{if $localizations|sizeof > 1}
<div class="select-wrap localization">{include file="common_templates/select_object.tpl" style="graphic" suffix="localization" link_tpl=$config.current_url|fn_link_attach:"lc=" items=$localizations selected_id=$smarty.const.CART_LOCALIZATION display_icons=false key_name="localization" text=$lang.localization}</div>
{/if}

{if $languages|sizeof > 1}
<div class="select-wrap">{include file="common_templates/select_object.tpl" style="graphic" suffix="language" link_tpl=$config.current_url|fn_link_attach:"sl=" items=$languages selected_id=$smarty.const.CART_LANGUAGE display_icons=true key_name="name" language_var_name="sl"}</div>
{/if}

{if $currencies|sizeof > 1}
<div class="select-wrap">{include file="common_templates/select_object.tpl" style="graphic" suffix="currency" link_tpl=$config.current_url|fn_link_attach:"currency=" items=$currencies selected_id=$secondary_currency display_icons=false key_name="description"}</div>
{/if}
</div>
</div>
</div>

When i delete this code. That's what i need but site move left:
<div class="top-tools-container">
<span class="float-left"> </span>
<span class="float-right"> </span>
<div class="top-tools-helper">
<div class="float-right" id="sign_io">
{hook name="index:user_info"}
{assign var="escaped_current_url" value=$config.current_url|escape:url}
{if !$auth.user_id}
<a id="sw_login" {if $settings.General.secure_auth == "Y"} rel="nofollow" href="{if $controller == "auth" && $mode == "login_form"}{$config.current_url|fn_url}{else}{"auth.login_form?return_url=`$escaped_current_url`"|fn_url}{/if}"{else}class="cm-combination"{/if}>{$lang.sign_in}</a>
{$lang.or}
<a href="{"profiles.add"|fn_url}" rel="nofollow">{$lang.register}</a>
{else}
<a href="{"profiles.update"|fn_url}" class="strong">{if $user_info.firstname && $user_info.lastname}{$user_info.firstname} {$user_info.lastname}{else}{$user_info.email}{/if}</a>
({include file="buttons/button.tpl" but_role="text" but_href="auth.logout?redirect_url=`$escaped_current_url`" but_text=$lang.sign_out})
{/if}
{if $settings.General.secure_auth != "Y"}
<div id="login" class="cm-popup-box hidden">
<div class="login-popup">
<div class="header">{$lang.sign_in}</div>
{include file="views/auth/login_form.tpl" style="popup" form_name="login_popup_form" id="popup"}
</div>
</div>
{/if}
{/hook}
<!--sign_io--></div>
<div class="top-search">
{include file="common_templates/search.tpl"}
</div>
</div>
</div>
<div class="content-tools">
<span class="float-left"> </span>
<span class="float-right"> </span>
<div class="content-tools-helper clear">
{include file="views/checkout/components/cart_status.tpl"}