# Suchfeld wird verschoben beim ändern der frontend/index

**URL:** https://forum.shopware.com/t/suchfeld-wird-verschoben-beim-andern-der-frontend-index/18222
**Category:** Shopware 3.5
**Tags:** themes--design
**Created:** [5. Februar 2014 um 21:00 UTC](https://forum.shopware.com/t/suchfeld-wird-verschoben-beim-andern-der-frontend-index/18222 "2014-02-05T21:00:32Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![sakura13](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@sakura13](https://forum.shopware.com/u/sakura13)
#### Post date: [5. Februar 2014 um 21:00 UTC](https://forum.shopware.com/t/suchfeld-wird-verschoben-beim-andern-der-frontend-index/18222/1 "2014-02-05T21:00:32Z")

</div>

Hi Leute, ich bin gerade echt verwirrt, wollte das Shopware realisiert entfernen, so wie es hier beschrieben wird [templates-und-design-f57/realisiert-mit-shopware-t9457-10.html](http://forum.shopware.de/templates-und-design-f57/realisiert-mit-shopware-t9457-10.html) letzer Beitrag… Allerdings nach dem ich die Datei von der \_default in mein Template rüberkopiert habe verschiebt er das Suchfeld und ich weiß nicht warum. Edit: Oder kann mir wer dabei helfen, dieses Shopware realisiert zu entfernen, lieb fragt 🙂 [code]{block name=„frontend\_index\_start“}{/block}\<?xml version="1.0" ?\>{block name=„frontend\_index\_doctype“} {/block} {block name=‚frontend\_index\_html‘} {/block} {block name=‚frontend\_index\_header‘} {include file=’./frontend/index/header.tpl’} {/block}

{\* Message if javascript is disabled \*} {block name=„frontend\_index\_no\_script\_message“}

  
{s name=„IndexNoscriptNotice“}{/s}  

  
{/block} {block name=‚frontend\_index\_before\_page‘}{/block}

{\* Shop header \*} {block name=‚frontend\_index\_navigation‘}  
{\* Language and Currency bar \*} {block name=‚frontend\_index\_actions‘} {include file=‚frontend/index/actions.tpl‘} {/block} {\* Shop logo \*} {block name=‚frontend\_index\_logo‘}  
[{$sShopname}]({url controller=‚index‘} „{$sShopname} - {s name=‚IndexLinkDefault‘}{/s}“)  
{/block} {\* Shop navigation \*} {block name=‚frontend\_index\_checkout\_actions‘} {include file=‚frontend/index/checkout\_actions.tpl‘} {/block} {block name=‚frontend\_index\_navigation\_inline‘}{/block}  
{/block} {\* Maincategories navigation top \*} {block name=‚frontend\_index\_navigation\_categories\_top‘} {include file=‚frontend/index/categories\_top.tpl‘} {/block} {\* Search \*} {block name=‚frontend\_index\_search‘} {include file=„frontend/index/search.tpl“} {/block} {\* Breadcrumb \*} {block name=‚frontend\_index\_breadcrumb‘} {include file=‚frontend/index/breadcrumb.tpl‘} {/block} {\* Content section \*}

{\* Content top container \*} {block name=„frontend\_index\_content\_top“}{/block} {\* Sidebar left \*} {block name=‚frontend\_index\_content\_left‘} {include file=‚frontend/index/left.tpl‘} {/block} {\* Main content \*} {block name=‚frontend\_index\_content‘}{/block} {\* Sidebar right \*} {block name=‚frontend\_index\_content\_right‘}{/block}  
&nbsp;

{\* Footer \*} {block name=„frontend\_index\_footer“} {include file=‚frontend/index/footer.tpl‘} {/block}  
{block name=„frontend\_index\_shopware\_footer“}

{\* FOOTER \*}

{include file=‚frontend/index/footer.tpl‘}

title="{s name=‚IndexRealizedShopsystem‘}Shopware{/s}"\>{s name=„IndexRealizedShopsystem“}Shopware{/s}

{/block} {block name=‚frontend\_index\_body\_inline‘}{/block} [/code]

---

<div class="post-metadata">

### Author: ![Philipp\_Schuch](https://avatars.discourse-cdn.com/v4/letter/p/8797f3/32.png) [@Philipp\_Schuch](https://forum.shopware.com/u/Philipp_Schuch)
#### Post date: [6. Februar 2014 um 09:25 UTC](https://forum.shopware.com/t/suchfeld-wird-verschoben-beim-andern-der-frontend-index/18222/2 "2014-02-06T09:25:43Z")

</div>

Hallo, um den „Realisiert …“ Bereich im Footer zu entfernen ist es nicht nötig die komplette Datei zu überschreiben. Es reicht aus, wenn man in der frontend/index/index.tpl des eigenen Templates den Block frontend\_index\_shopware\_footer überschreibt und dort die [i][b]

[/b][/i] entfernt. Eventuell muss dann nur das Padding des Footers in der CSS etwas angepasst werden, damit der Abstand zum unteren Rand wieder passt. Liebe Grüße, Phil

---

<div class="post-metadata">

### Author: ![sakura13](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@sakura13](https://forum.shopware.com/u/sakura13)
#### Post date: [6. Februar 2014 um 11:02 UTC](https://forum.shopware.com/t/suchfeld-wird-verschoben-beim-andern-der-frontend-index/18222/3 "2014-02-06T11:02:56Z")

</div>

Hatte ich zuerst gemacht gehabt, hatte folgendes eingefügt: [code]{block name=“frontend\_index\_shopware\_footer”}

{\* FOOTER \*}

{include file=‘frontend/index/footer.tpl’}

{s name=“IndexRealizedWith”}Realisiert mit{/s} [{s name=“IndexRealizedShopsystem”}Shopware{/s}](http://www.shopware.de "{s name='IndexRealizedShopsystem'}Shopware{/s}")

{/block}[/code] Und dann sieht meine Seite so aus ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/85c76fb58166cf4de3275b6c73773b974ad2b94e.gif) Dabb

---

<div class="post-metadata">

### Author: ![Philipp\_Schuch](https://avatars.discourse-cdn.com/v4/letter/p/8797f3/32.png) [@Philipp\_Schuch](https://forum.shopware.com/u/Philipp_Schuch)
#### Post date: [6. Februar 2014 um 12:00 UTC](https://forum.shopware.com/t/suchfeld-wird-verschoben-beim-andern-der-frontend-index/18222/4 "2014-02-06T12:00:16Z")

</div>

Hallo, wie genau hast Du den Block denn eingebunden? Es scheint Du hast Dein komplettes Template überschrieben. Wichtig ist, dass Du mit dem extends Befehl von Smarty arbeitest um auf das Vererbungssystem zuzugreifen. Dies ermöglicht Dir das Überschreiben von nur einzelnen Blöcken in Deinem Template. Änderungen über das Vererbungssystem von Shopware kannst Du in einem eigenen Template oder im \_emotion\_local Ordner durchführen. Wenn Du noch mehr Infos zum Template-System von Shopware benötigst empfehle ich Dir folgenden Artikel: [http://wiki.shopware.de/Templatedokumen … l\_916.html](http://wiki.shopware.de/Templatedokumentation-fuer-Shopware-4.0%5C_detail%5C_916.html) Ich hoffe diese Infos helfen Dir weiter. Liebe Grüße, Phil

---

<div class="post-metadata">

### Author: ![sakura13](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@sakura13](https://forum.shopware.com/u/sakura13)
#### Post date: [6. Februar 2014 um 14:22 UTC](https://forum.shopware.com/t/suchfeld-wird-verschoben-beim-andern-der-frontend-index/18222/5 "2014-02-06T14:22:11Z")

</div>

Ahhh ist echt ein super geiles System, allein schon das es keine Probleme mehr gibt bei Updates bez. Templates find ich der Hammer. Hab es nun so eingebunden [code]{extends file=„parent:frontend/index/index.tpl“} {block name=„frontend\_index\_shopware\_footer“}

{\* FOOTER \*}

{include file=‚frontend/index/footer.tpl‘}

{/block}[/code] Hoffe hab nix übersehen oder sonst was, vielen Dank nochmal

---

<div class="post-metadata">

### Author: ![chicksi](https://avatars.discourse-cdn.com/v4/letter/c/f0a364/32.png) [@chicksi](https://forum.shopware.com/u/chicksi)
#### Post date: [23. Juni 2014 um 17:04 UTC](https://forum.shopware.com/t/suchfeld-wird-verschoben-beim-andern-der-frontend-index/18222/6 "2014-06-23T17:04:00Z")

</div>

Hallo zusammen 🙂 Also ich habe eine index.tpl erstellt, mit obenstehendem Text befüllt und auf den Server geladen. Was passiert? Fatal Error :shock: Aber wo liegt der Fehler???

---

<div class="post-metadata">

### Author: ![Feanta](https://avatars.discourse-cdn.com/v4/letter/f/aca169/32.png) [@Feanta](https://forum.shopware.com/u/Feanta)
#### Post date: [25. Juni 2014 um 14:38 UTC](https://forum.shopware.com/t/suchfeld-wird-verschoben-beim-andern-der-frontend-index/18222/7 "2014-06-25T14:38:09Z")

</div>

Hi also ich hab es nochmals probiert und es funktioniert tadellos, du must folgende Ordnerstruktur erstellen templates/dein\_template/frontend/index und dort dann die index.tpl erstellen und dort fügst du den obenstehenden Code ein.
