# Fehler beim Template vererben

**URL:** https://forum.shopware.com/t/fehler-beim-template-vererben/25338
**Category:** Shopware 3.5
**Tags:** themes--design
**Created:** [27. Februar 2015 um 20:55 UTC](https://forum.shopware.com/t/fehler-beim-template-vererben/25338 "2015-02-27T20:55:10Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![shopwarebob](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@shopwarebob](https://forum.shopware.com/u/shopwarebob)
#### Post date: [27. Februar 2015 um 20:55 UTC](https://forum.shopware.com/t/fehler-beim-template-vererben/25338/1 "2015-02-27T20:55:10Z")

</div>

Hallo zusammen, ich versuche in einem Plugin das detail index Template zu überschreiben. Funktioniert auch, solange ich nicht das Kommentar Formular abschicke, denn da tritt dieser Fehler auf: ` core.ERROR: exception 'SmartyCompilerException' with message 'Syntax Error in template "/var/www/shopware/engine/Shopware/Plugins/Community/Frontend/MyPlugin/views/frontend/detail/index.tpl" on line 2 "" illegal recursive call of "frontend/detail/index.tpl"' in /var/www/shopware/engine/Library/Smarty/sysplugins/smarty\_internal\_templatecompilerbase.php:657 ` In der besagten Zeile befindet sich die Vererbung genau wie im emotion Template: ` {extends file='parent:frontend/detail/index.tpl'} ` Kann mir jemand erklären was sich an der Vererbung ändert wenn das Form abgeschickt wird oder wie ich das Problem löse?

---

<div class="post-metadata">

### Author: ![zwilla](https://avatars.discourse-cdn.com/v4/letter/z/74df32/32.png) [@zwilla](https://forum.shopware.com/u/zwilla)
#### Post date: [27. Februar 2015 um 22:00 UTC](https://forum.shopware.com/t/fehler-beim-template-vererben/25338/2 "2015-02-27T22:00:26Z")

</div>

sende doch mal den ganzen Quelltext, keine Angst, wer lacht ist selber dumm.
