Double "Search" / "Sign in" tool on Homepage


Can anyone tell me where/how in CS I can remove an extra Search/Sign in tool as seen on this homepage (and the rest of the site):

Thank you!

Somewhere in your template (probably 'top.tpl) is a duplicate entry of:


{assign var="escaped_current_url" value=$config.current_url|escape:url}
{if !$auth.user_id}
{assign var="seosave_current_url" value=`$config.current_url`}
{* the sign ` using here to prevent processing and replacing $config.current_url by seo addon *}
{$user_info.firstname} {$user_info.lastname}
({include file="buttons/button.tpl" but_role="text" but_href="$index_script?dispatch=auth.logout&redirect_url=`$escaped_current_url`" but_text=$lang.sign_out})

{if $settings.General.secure_auth != "Y"}


{include file="views/auth/login_form.tpl" style="popup" form_name="login_popup_form" id="popup"}


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

[/QUOTE]Just delete it from the template.

indy0077- thank you for your reply.

I am looking for the code using the “Search” tool in all the .tpl files.

Here the code I found in top.tpl:

{* $Id: top.tpl 7764 2009-07-30 08:03:31Z angel $ *}


{if $auth.user_id}

{hook name="index:top"}
{$lang.users_online}: {$users_online}

{if $languages|sizeof > 1}
{include file="common_templates/select_object.tpl" style="graphic" 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" class="languages"}
{if $languages|sizeof > 1 && $currencies|sizeof > 1} | {/if}
{if $currencies|sizeof > 1}
{include file="common_templates/select_object.tpl" style="graphic" link_tpl=$config.current_url|fn_link_attach:"currency=" items=$currencies selected_id=$secondary_currency display_icons=false key_name="description"}

{include file="top_quick_links.tpl"}


{if $auth.user_id}

  • {foreach from=$navigation.static key=title item=m}
  • {$lang.$title}

  • {/foreach}


{if $auth.user_id}
{foreach from=$navigation.static key=title item=m}

    {foreach from=$m key=_title item=_m name=sec_level}
  • {$lang.$_title}

  • {/foreach}




PM me your admin access, I will have a look into this.

Sent you the details. Thanks