# Banner ausserhalb des Shopwarelayouts

**URL:** <https://forum.shopware.com/t/banner-ausserhalb-des-shopwarelayouts/3652>\
**Category:** Shopware 3.5\
**Tags:** templates--design\
**Created:** [26. Juli 2011 um 16:00 UTC](https://forum.shopware.com/t/banner-ausserhalb-des-shopwarelayouts/3652 "2011-07-26T16:00:38Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Designbad24.de](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/designbad24.de/32/89_2.png) [@Designbad24.de](https://forum.shopware.com/u/Designbad24.de)\
**Post date:** [26. Juli 2011 um 16:00 UTC](https://forum.shopware.com/t/banner-ausserhalb-des-shopwarelayouts/3652/1 "2011-07-26T16:00:38Z")

</div>

Hallo, ich würde gerne einen Banner auserhalb des Shopwarelayouts plazieren. Für Leute, die wich ich einen riesigen Bildschirm haben. Dort ist rechts oder Links sehr viel Platz. Ich würde es gerne mit „Aktionen“ von Shopware plazieren. [http://www.designbad24.de/images/banner.jpg](http://www.designbad24.de/images/banner.jpg) ( Bildbeispiel ) Hier mal ein Beispiel. Hat einer eine Idee wie und wo ich eingreifen kann.

---

<div class="post-metadata">

**Author:** ![Sammy123](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@Sammy123](https://forum.shopware.com/u/Sammy123)\
**Post date:** [26. Juli 2011 um 17:31 UTC](https://forum.shopware.com/t/banner-ausserhalb-des-shopwarelayouts/3652/2 "2011-07-26T17:31:26Z")

</div>

Schließe mich an. Interessiert uns auch!

---

<div class="post-metadata">

**Author:** ![Designbad24.de](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/designbad24.de/32/89_2.png) [@Designbad24.de](https://forum.shopware.com/u/Designbad24.de)\
**Post date:** [29. Juli 2011 um 22:20 UTC](https://forum.shopware.com/t/banner-ausserhalb-des-shopwarelayouts/3652/3 "2011-07-29T22:20:50Z")

</div>

Tja Sammy, scheint keiner eine Idee zu haben. Ich wäre dafür bereit natürlich auch zu bezahlen. Gerne per PM. 🕶

---

<div class="post-metadata">

**Author:** ![master\_1](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@master\_1](https://forum.shopware.com/u/master_1)\
**Post date:** [29. Juli 2011 um 22:27 UTC](https://forum.shopware.com/t/banner-ausserhalb-des-shopwarelayouts/3652/4 "2011-07-29T22:27:02Z")

</div>

[quote=„christian“]Tja Sammy, scheint keiner eine Idee zu haben. Ich wäre dafür bereit natürlich auch zu bezahlen. Gerne per PM. 🕶[/quote] ich habe das in den body gepackt. wenn du das so jaben möchtest dann sag es. kostet natürlich nichts ! quasi als zweiten hintergrund ! lg

---

<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:** [29. Juli 2011 um 22:32 UTC](https://forum.shopware.com/t/banner-ausserhalb-des-shopwarelayouts/3652/5 "2011-07-29T22:32:16Z")

</div>

Was zahlst Du??? 🕶 Ist doch gar nicht so schwer: Folgende Code in die (deine) {extends file="…/\_default/frontend/index/index.tpl"} einfügen: [code] {/block} {block name=“frontend\_index\_no\_script\_message” prepend}

![](https://dub1.discourse-cdn.com/flex013/images/banner.png)  
{/block}[/code] in Deine css: #banner\_rechts { height: 111px; position: fixed; top: 44%; right: 0px; } Die Abstände bitte noch anpassen, diese hier kleben direkt rechts am Rand! PS: master\_1 Du lebst ja noch! 😉

---

<div class="post-metadata">

**Author:** ![master\_1](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@master\_1](https://forum.shopware.com/u/master_1)\
**Post date:** [29. Juli 2011 um 22:35 UTC](https://forum.shopware.com/t/banner-ausserhalb-des-shopwarelayouts/3652/6 "2011-07-29T22:35:16Z")

</div>

[quote=„artep“]Was zahlst Du??? 🕶 Ist doch gar nicht so schwer: Folgende Code in die (deine) {extends file="…/\_default/frontend/index/index.tpl"} einfügen: [code] {/block} {block name=„frontend\_index\_no\_script\_message“ prepend}

![](https://dub1.discourse-cdn.com/flex013/images/banner.png)  
{/block}[/code] in Deine css: #banner\_rechts { height: 111px; position: fixed; top: 44%; right: 0px; } Die Abstände bitte noch anpassen, diese hier kleben direkt rechts am Rand! PS: master\_1 Du lebst ja noch! ;)[/quote] sehr gut :thumbup:

---

<div class="post-metadata">

**Author:** ![Designbad24.de](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/designbad24.de/32/89_2.png) [@Designbad24.de](https://forum.shopware.com/u/Designbad24.de)\
**Post date:** [30. Juli 2011 um 10:37 UTC](https://forum.shopware.com/t/banner-ausserhalb-des-shopwarelayouts/3652/7 "2011-07-30T10:37:32Z")

</div>

Danke artep. Was möchtest denn haben 😉 ? Ich habe noch mehr so kleine Dingens, vielleicht kann man sich ja mal kontaktieren.

---

<div class="post-metadata">

**Author:** ![Designbad24.de](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/designbad24.de/32/89_2.png) [@Designbad24.de](https://forum.shopware.com/u/Designbad24.de)\
**Post date:** [30. Juli 2011 um 10:39 UTC](https://forum.shopware.com/t/banner-ausserhalb-des-shopwarelayouts/3652/8 "2011-07-30T10:39:21Z")

</div>

[quote=„master\_1“][quote=„artep“]Was zahlst Du??? 🕶 Ist doch gar nicht so schwer: Folgende Code in die (deine) {extends file="…/\_default/frontend/index/index.tpl"} einfügen: [code] {/block} {block name=„frontend\_index\_no\_script\_message“ prepend}

![](https://dub1.discourse-cdn.com/flex013/images/banner.png)  
{/block}[/code] in Deine css: #banner\_rechts { height: 111px; position: fixed; top: 44%; right: 0px; } Die Abstände bitte noch anpassen, diese hier kleben direkt rechts am Rand! PS: master\_1 Du lebst ja noch! ;)[/quote] sehr gut :thumbup:[/quote] Obwohl, damit bekomme ich nicht die „Aktionen“ von Shopware an die Seite. Ich würde gerne die Banner über die Shopware Aktionen einfügen. Dort hat man nur die möglichkeit in der rechten Spalte etwas zu setzen.

---

<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 2011 um 10:45 UTC](https://forum.shopware.com/t/banner-ausserhalb-des-shopwarelayouts/3652/9 "2011-07-30T10:45:16Z")

</div>

Ne, mit den Aktionen kannst Du so nicht arbeiten, die werden ja in der rechten Sidebar abgelegt. Du kannst das nur so manuell einpflegen, damit daneben ein Banner erscheint. Oder Du mußt bei Aktionen noch ein Positions-Feld einbauen, rechts außen. Das wäre die Beste Lösung. Nur da kann ich leider nicht helfen!

---

<div class="post-metadata">

**Author:** ![Sammy123](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@Sammy123](https://forum.shopware.com/u/Sammy123)\
**Post date:** [30. Juli 2011 um 11:19 UTC](https://forum.shopware.com/t/banner-ausserhalb-des-shopwarelayouts/3652/10 "2011-07-30T11:19:00Z")

</div>

[quote=“artep”]Was zahlst Du??? 🕶 Ist doch gar nicht so schwer: Folgende Code in die (deine) {extends file="…/\_default/frontend/index/index.tpl"} einfügen: [code] {/block} {block name=“frontend\_index\_no\_script\_message” prepend}

![](https://dub1.discourse-cdn.com/flex013/images/banner.png)  
{/block}[/code] in Deine css: #banner\_rechts { height: 111px; position: fixed; top: 44%; right: 0px; } Die Abstände bitte noch anpassen, diese hier kleben direkt rechts am Rand! PS: master\_1 Du lebst ja noch! ;)[/quote] Hallo Petra, vielen Dank für deine Antwort 🙂 das heisst ich solle in meinem eigenen Template /templates/meintemplate/frontend/index/index.tpl den Code einbauen ` {/block} {block name="frontend\_index\_no\_script\_message" prepend} 
 ![](/images/banner.png)
 {/block}` und anschließend in /templates/meintemplate/frontend/\_resources/styles/meine.css `#banner\_rechts { height: 111px; position: fixed; top: 44%; right: 0px; }`

---

<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 2011 um 11:34 UTC](https://forum.shopware.com/t/banner-ausserhalb-des-shopwarelayouts/3652/11 "2011-07-30T11:34:39Z")

</div>

Hi Sammy123, ja, nur die Positionierung im css ändern. Ich suche gerade nach einer besseren Lösung. In den Grundeinstellungen Aktionen kann man verschiedene Positionen eingeben. Ich hatte das vor langer Zeit mal gemacht und kann meine Aktionen auch links oben und unten ausgeben. Nur wie und wo ich das geändert hatte, weiß ich nicht mehr. Man kann ja eigentlich z. B. Rechts Mitte:rightmiddle; eingeben. Nur wo wird die Position im Template ausgegeben? Man muß das ja ausserhalb plazieren und die Werte irgendwo eingeben. Vielleicht hat von Euch jemand einen Denkanstoß! Bin ja kein Profi!

---

<div class="post-metadata">

**Author:** ![Sammy123](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@Sammy123](https://forum.shopware.com/u/Sammy123)\
**Post date:** [30. Juli 2011 um 12:18 UTC](https://forum.shopware.com/t/banner-ausserhalb-des-shopwarelayouts/3652/12 "2011-07-30T12:18:50Z")

</div>

Ich leider auch nicht :oops:

---

<div class="post-metadata">

**Author:** ![avenger](https://avatars.discourse-cdn.com/v4/letter/a/9de0a6/32.png) [@avenger](https://forum.shopware.com/u/avenger)\
**Post date:** [30. Juli 2011 um 12:27 UTC](https://forum.shopware.com/t/banner-ausserhalb-des-shopwarelayouts/3652/13 "2011-07-30T12:27:27Z")

</div>

[quote=“artep”]Ne, mit den Aktionen kannst Du so nicht arbeiten, die werden ja in der rechten Sidebar abgelegt. Du kannst das nur so manuell einpflegen, damit daneben ein Banner erscheint. Oder Du mußt bei Aktionen noch ein Positions-Feld einbauen, rechts außen. Das wäre die Beste Lösung. Nur da kann ich leider nicht helfen![/quote] Mit CSS müsste man die einfach da “raus schieben” können… (position;absolute, left, top).

---

<div class="post-metadata">

**Author:** ![Designbad24.de](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/designbad24.de/32/89_2.png) [@Designbad24.de](https://forum.shopware.com/u/Designbad24.de)\
**Post date:** [31. Juli 2011 um 18:23 UTC](https://forum.shopware.com/t/banner-ausserhalb-des-shopwarelayouts/3652/14 "2011-07-31T18:23:05Z")

</div>

Ja, ich dachte mir das so, das man so ein middle verunstaltet, das sich die Aktion in ausserhalb des rechten Rands bewegt. Im Moment ist man ja links Sidebar oder Rechts sidebar gebunden.

---

<div class="post-metadata">

**Author:** ![Designbad24.de](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/designbad24.de/32/89_2.png) [@Designbad24.de](https://forum.shopware.com/u/Designbad24.de)\
**Post date:** [7. August 2011 um 14:30 UTC](https://forum.shopware.com/t/banner-ausserhalb-des-shopwarelayouts/3652/15 "2011-08-07T14:30:37Z")

</div>

[quote=“artep”]Was zahlst Du??? 🕶 Ist doch gar nicht so schwer: Folgende Code in die (deine) {extends file="…/\_default/frontend/index/index.tpl"} einfügen: [code] {/block} {block name=“frontend\_index\_no\_script\_message” prepend}

![](https://dub1.discourse-cdn.com/flex013/images/banner.png)  
{/block}[/code] in Deine css: Hmm. Ich bin wohl zu doof. Hatte alles so gemacht und erhalte folgenden Error. Fatal error: Uncaught exception ‘SmartyCompilerException’ with message ‘Syntax Error in template “/var/www/web1/html/onlineshop/templates/\_default/frontend/index/index.tpl” on line 109 " " unexpected “prepend” attribute’ in /var/www/web1/html/onlineshop/engine/Enlight/Vendor/Smarty/libs/sysplugins/smarty\_internal\_templatecompilerbase.php:404 Stack trace: #0 /var/www/web1/html/onlineshop/engine/Enlight/Vendor/Smarty/libs/sysplugins/smarty\_internal\_compilebase.php(49): Smarty\_Internal\_TemplateCompilerBase-\>trigger\_template\_error(‘unexpected "pre…’) #1 /var/www/web1/html/onlineshop/engine/Enlight/Vendor/Smarty/libs/sysplugins/smarty\_internal\_compile\_block.php(29): Smarty\_Internal\_CompileBase-\>\_get\_attributes(Array) #2 /var/www/web1/html/onlineshop/engine/Enlight/Vendor/Smarty/libs/sysplugins/smarty\_internal\_templatecompilerbase.php(252): Smarty\_Internal\_Compile\_Block-\>compile(Array, Object(Smarty\_Internal\_SmartyTemplateCompiler), NULL, NULL, NULL) #3 /var/www/web1/html/onlineshop/engine/Enlight/Vendor/Smarty/libs/sysp in /var/www/web1/html/onlineshop/engine/Enlight/Vendor/Smarty/libs/sysplugins/smarty\_internal\_templatecompilerbase.php on line 404 muß das in eine bestimmte Zeile. #banner\_rechts { height: 111px; position: fixed; top: 44%; right: 0px; } Die Abstände bitte noch anpassen, diese hier kleben direkt rechts am Rand! PS: master\_1 Du lebst ja noch! ;)[/quote]

---

<div class="post-metadata">

**Author:** ![radox1](https://avatars.discourse-cdn.com/v4/letter/r/e19b73/32.png) [@radox1](https://forum.shopware.com/u/radox1)\
**Post date:** [8. August 2011 um 01:50 UTC](https://forum.shopware.com/t/banner-ausserhalb-des-shopwarelayouts/3652/16 "2011-08-08T01:50:57Z")

</div>

Hallo, die Aktionen (rechts/oben) rechts neben dem Layout ausgeben: [code] {extends file=’…/\_default/frontend/index/index.tpl’} {block name=‚frontend\_index\_body\_inline‘}

{include file=„frontend/campaign/box.tpl“ sCategoryCampaigns=$sCampaigns.rightTop}  
{/block} [/code] Und dann den Bereich in der rechten Spalte ausblenden: ` {extends file='../\_default/frontend/home/right.tpl'} {\* Campaign right top \*} {block name='frontend\_home\_right\_campaign\_top'}{/block} ` Evtl. hilft das weiter?
