# \[gelöst\] smarty.block.parent spinnt an einer Stelle

**URL:** <https://forum.shopware.com/t/gelost-smarty-block-parent-spinnt-an-einer-stelle/65208>\
**Category:** Themes & Design\
**Created:** [4. März 2020 um 10:13 UTC](https://forum.shopware.com/t/gelost-smarty-block-parent-spinnt-an-einer-stelle/65208 "2020-03-04T10:13:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sonic](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sonic/32/25728_2.png) [@sonic](https://forum.shopware.com/u/sonic)\
**Post date:** [4. März 2020 um 10:13 UTC](https://forum.shopware.com/t/gelost-smarty-block-parent-spinnt-an-einer-stelle/65208/1 "2020-03-04T10:13:30Z")

</div>

Letzter Versuch, hier mal eine Antwort auf eine Frage zu bekommen…

Problem: In einem speziellen Fall liefert smarty.block.parent in einem Plugin \*Müll\* - auch mit Responsive-Theme

Zu überschreibender Block:&nbsp;frontend\_index\_header\_meta\_robots  
[https://github.com/shopware/shopware/blob/5.6/themes/Frontend/Bare/frontend/index/header.tpl#L11](https://github.com/shopware/shopware/blob/5.6/themes/Frontend/Bare/frontend/index/header.tpl#L11)

Mein Testcode: frontend/detail/header.tpl (da im Bare je ebenfalls die detail/header.tpl vorhanden ist)  
&nbsp;

```
{extends file="parent:frontend/detail/header.tpl"}

{block name="frontend_index_header_meta_robots"}
{$smarty.block.parent}
{/block}

```

Also sollte eigentlich wieder „index,follow“ im meta-tag stehen.

Tatsächlich erhalte ich aber wenn ich den Parent einbinde:

Hat wer eine Idee, warum smarty.block.parent hier tillt? Stört sich hier smarty daran, das gleich vor dem Block im Bare ein **"** steht?  
SW 5.6.6

---

<div class="post-metadata">

**Author:** ![EikeBrandtWarneke](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@EikeBrandtWarneke](https://forum.shopware.com/u/EikeBrandtWarneke)\
**Post date:** [4. März 2020 um 10:16 UTC](https://forum.shopware.com/t/gelost-smarty-block-parent-spinnt-an-einer-stelle/65208/2 "2020-03-04T10:16:02Z")

</div>

Was „tilltet“ denn da?! Was erwartest du denn? Ich verstehe die Frage nicht.

Viele Grüße

---

<div class="post-metadata">

**Author:** ![h\_lohaus](https://avatars.discourse-cdn.com/v4/letter/h/a587f6/32.png) [@h\_lohaus](https://forum.shopware.com/u/h_lohaus)\
**Post date:** [4. März 2020 um 10:17 UTC](https://forum.shopware.com/t/gelost-smarty-block-parent-spinnt-an-einer-stelle/65208/3 "2020-03-04T10:17:07Z")

</div>

Vielleicht Profiler deaktivieren?

---

<div class="post-metadata">

**Author:** ![sonic](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sonic/32/25728_2.png) [@sonic](https://forum.shopware.com/u/sonic)\
**Post date:** [4. März 2020 um 10:32 UTC](https://forum.shopware.com/t/gelost-smarty-block-parent-spinnt-an-einer-stelle/65208/4 "2020-03-04T10:32:54Z")

</div>

@h\_lohaus‍ THX - der war es, obwohl er es hätte gar nicht sein dürfen&nbsp; ![Halo](https://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/halo.png "Halo")  
Zunächst hatte ich den FROSH-Profiler auch im Verdacht, darum hatte ich ihn nur deaktiviert.  
Ich musste den aber ganz deinstalliern, dann ist der Comment auch weg. Seltsam - deaktivieren (und alle cache leeren) hätte ja reichen sollen.

THX&nbsp; ![Thumb-Up](https://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/thumb-up.png "Thumb-Up")
