Remove Things of the Left bar

pauschpageDOTcom

Joined: 2004-03-20
Posts: 118
Posted: Thu, 2005-02-17 09:49

Hello!!

Id like to remove some options of the left bar.
- Login
- Ihren Warenkorb (i don't know the english word for it - maybe shop)

how can i do that?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-02-17 11:10

- Depends on what you want. But if you don't need the "Warenkorb" at all, just deactivate the Cart module in site admin->modules->commerce: Cart.

 
pauschpageDOTcom

Joined: 2004-03-20
Posts: 118
Posted: Thu, 2005-02-17 12:53

oh - fine!

and can I also remove the two fields "login"
(name and password)

 
Einstein
Einstein's picture

Joined: 2003-10-13
Posts: 105
Posted: Thu, 2005-02-17 13:23

try to find a file templates/sidebar.tpl .. I think that's the files for the sidebar.

 
pauschpageDOTcom

Joined: 2004-03-20
Posts: 118
Posted: Thu, 2005-02-17 13:48

okay - and what do i have do delete of this file?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-02-17 13:51

as the instructions at the top of the file say:
1. create a directory "local" in templates/
2. copy sidebar.tpl to the local directory
3. edit the file templates/local/sidebar.tpl

remove:

{if isset($layout.systemContent.core.login)}
  {assign var=moduleFile value=$layout.systemContent.core.login}
  {include file="gallery:$moduleFile" l10Domain="modules_core"} 
  {/if}

-> But you will not be able login if this is removed! How do you want to login as admin?

 
pauschpageDOTcom

Joined: 2004-03-20
Posts: 118
Posted: Thu, 2005-02-17 13:57

fine! it works

i log in with the button on the right "anmelden".

thx

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2005-02-17 14:12

site admin / general also lets you turn off the login form in the sidebar.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-02-17 14:18

lol, sorry, didn't know about that.