Removing the Sign in link from computer shopper theme

Hi all,

Currently have a demo licence of CS-Cart and loving it so far.



However I have a little dilema please see attached pic.



I really don’t want the Sign in - Register Link on the menu, I have added them as quick links at the top of the site.



Tried to remove code in top.tpl however this renders a blank page.



Any help would be appreciated!



Cheers



Ben

remove.png

Anyone?

Did you try

\skins\yourskin\customer\top.tpl

around line 31 just remove or comment out {$lang.sign_in}

{$lang.sign_in}



make sure you back up first

Check those instances also for {$lang.register}

[quote name=‘zeero6’]Did you try

\skins\yourskin\customer\top.tpl

around line 31 just remove or comment out {$lang.sign_in}

{$lang.sign_in}



make sure you back up first

Check those instances also for {$lang.register}[/QUOTE]

Hi Zeero6,

Thanks for this but it renders the page blank also. tried commenting out and also removing no dice.

Just makes the page blank still. I dont wont the sign in or register buttons listed on the home page, the other option I suppose is to change the colour to that of the background so they don't show or become invisible but this is a dirty trick.

Hi all,



another proposed idea instead of removing the ‘sign in or register’ block is there anyway to have the ‘sign in’ point to the actual physical ‘sign in’ page as the ‘register’ link does?



This would save me a whole lot of trouble!!!



Look forward to hearing from you.



Regards



ben

Open \skins\yourskin\customer\top.tpl file



comment out or remove the following code, it might look slightly different by you but you should get the general idea.



{assign var="escaped_current_url" value=$config.current_url|escape:url}
{if !$auth.user_id}
{$lang.sign_in}
{$lang.or}
{$lang.register}
{else}
{$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}

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


{$lang.sign_in}


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


{/if}

[quote name=‘hbtrading’]Open \skins\yourskin\customer\top.tpl file



comment out or remove the following code, it might look slightly different by you but you should get the general idea.



{assign var="escaped_current_url" value=$config.current_url|escape:url}
{if !$auth.user_id}
{$lang.sign_in}
{$lang.or}
{$lang.register}
{else}
{$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}

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


{$lang.sign_in}


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


{/if}
[/QUOTE]

You sir are a shining star of help. Worked a treat greatly appreciated!!!!

Regards

Ben