# Abmelde Button in der Index.tpl

**URL:** <https://forum.shopware.com/t/abmelde-button-in-der-index-tpl/2515>\
**Category:** Shopware 3.5\
**Tags:** templates--design\
**Created:** [19. April 2011 um 07:34 UTC](https://forum.shopware.com/t/abmelde-button-in-der-index-tpl/2515 "2011-04-19T07:34:59Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![artep](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@artep](https://forum.shopware.com/u/artep)\
**Post date:** [30. Juli 2012 um 17:20 UTC](https://forum.shopware.com/t/abmelde-button-in-der-index-tpl/2515/18 "2012-07-30T17:20:49Z")

</div>

Versuche es mal so: In Deinem Template in der index.tpl. folgendes einfügen. Dann ist es auf jeder Seite. [code] {if !$sUserLoggedIn}

[![Login](https://dub1.discourse-cdn.com/flex013/templates/XXXXXXXXXX/frontend/_resources/images/button-login.png "Login")]({url controller=‚account‘} „{s name=‚IndexLinkAccount‘}{/s}“)  
{else}  
[![Logout](https://dub1.discourse-cdn.com/flex013/templates/XXXXXXXXXX/frontend/_resources/images/button-logout.png "Logout")]({url controller=‚account‘ action=‚logout‘})  
{/if} [/code] Kleines Login und Logout icon anlegen und in der css an richtiger Stelle positionieren! 😉

---

_[View the full topic](https://forum.shopware.com/t/abmelde-button-in-der-index-tpl/2515)._
