# Änderungen am Template werden nicht übernommen

**URL:** https://forum.shopware.com/t/anderungen-am-template-werden-nicht-ubernommen/47403
**Category:** Programmierung
**Created:** [8. August 2017 um 13:59 UTC](https://forum.shopware.com/t/anderungen-am-template-werden-nicht-ubernommen/47403 "2017-08-08T13:59:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Doc](https://avatars.discourse-cdn.com/v4/letter/d/f07891/32.png) [@Doc](https://forum.shopware.com/u/Doc)
#### Post date: [8. August 2017 um 13:59 UTC](https://forum.shopware.com/t/anderungen-am-template-werden-nicht-ubernommen/47403/1 "2017-08-08T13:59:58Z")

</div>

Hallo,

ich komme an dieser Stelle nicht weiter. Ich bin wie in der [Anleitung](http://community.shopware.com/_detail_1963.html#.C4nderung_korrekt_ableiten)beschrieben vorgegangen aber die Änderungen werden nicht angezeigt.

Von dem Responsive Theme habe ich ein eigenes Theme abgeleitet und angelegt.  
Unter „`/themes/Frontend/MEINTHEME/documents/`“ habe ich meine Datei „`index.tpl`“ angelegt.

In der ersten Zeile habe ich micht {extends file=„parent:documents/index.tpl“} begonnen und den Block mit  
append erweitert.

Auch nach dem kompilieren des des Themes wird die Erweiterung nicht übernommen, sondern es wird nur der  
Standard-Text ausgegeben.

Jemand eine Idee ?

Gruß Doc

---

<div class="post-metadata">

### Author: ![AndreHerking](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/andreherking/32/7839_2.png) [@AndreHerking](https://forum.shopware.com/u/AndreHerking)
#### Post date: [8. August 2017 um 14:28 UTC](https://forum.shopware.com/t/anderungen-am-template-werden-nicht-ubernommen/47403/2 "2017-08-08T14:28:42Z")

</div>

Hast du auch unter Grundeinstellungen -\> Shops -\> Dokumententemplate deines hinterlegt?

---

<div class="post-metadata">

### Author: ![Doc](https://avatars.discourse-cdn.com/v4/letter/d/f07891/32.png) [@Doc](https://forum.shopware.com/u/Doc)
#### Post date: [8. August 2017 um 14:39 UTC](https://forum.shopware.com/t/anderungen-am-template-werden-nicht-ubernommen/47403/3 "2017-08-08T14:39:24Z")

</div>

Wenn ich das machen kommt folgender Fehler:  
&nbsp;

```
Ups! Ein Fehler ist aufgetreten!

Die nachfolgenden Hinweise sollten Ihnen weiterhelfen.
Syntax Error in template "/var/www/vhosts/patch-werk.com/httpdocs/patchwerk/themes/Frontend/Patch_werk/documents/index.tpl" on line 11 "$sISO == 'CY' || $sISO == 'AT' || $sISO == 'SE' ||" Stack overflow in template parser in engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 657
Stack trace:

#0 engine/Library/Smarty/sysplugins/smarty_internal_templateparser.php(1727): Smarty_Internal_TemplateCompilerBase->trigger_template_error('Stack overflow ...')
#1 engine/Library/Smarty/sysplugins/smarty_internal_templateparser.php(3193): Smarty_Internal_Templateparser->yy_shift(251, 19, 'sISO')
#2 engine/Library/Smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(19, 'sISO')
#3 engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(192): Smarty_Internal_SmartyTemplateCompiler->doCompile('\r\n\t{assign var=...')
#4 engine/Library/Smarty/sysplugins/smarty_internal_compile_block.php(195): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template))
#5 engine/Library/Smarty/sysplugins/smarty_internal_compile_block.php(255): Smarty_Internal_Compile_Block::compileChildBlock(Object(Smarty_Internal_SmartyTemplateCompiler), 'document_index_...')
#6 engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(465): Smarty_Internal_Compile_Blockclose->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL)
#7 engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(249): Smarty_Internal_TemplateCompilerBase->callTagCompiler('blockclose', Array, Array)
#8 engine/Library/Smarty/sysplugins/smarty_internal_templateparser.php(2493): Smarty_Internal_TemplateCompilerBase->compileTag('blockclose', Array)
#9 engine/Library/Smarty/sysplugins/smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r58()
#10 engine/Library/Smarty/sysplugins/smarty_internal_templateparser.php(3201): Smarty_Internal_Templateparser->yy_reduce(58)
#11 engine/Library/Smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(10, '\n ')
#12 engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(192): Smarty_Internal_SmartyTemplateCompiler->doCompile('..')
#13 engine/Library/Smarty/sysplugins/smarty_internal_template.php(187): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Enlight_Template_Default))
#14 engine/Library/Smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource()
#15 engine/Shopware/Components/Document.php(251): Smarty_Internal_TemplateBase->fetch('documents/index...', Object(Smarty_Data))
#16 engine/Shopware/Controllers/Backend/Order.php(1577): Shopware_Components_Document->render()
#17 engine/Shopware/Controllers/Backend/Order.php(907): Shopware_Controllers_Backend_Order->createDocument('21', '1')
#18 engine/Library/Enlight/Controller/Action.php(159): Shopware_Controllers_Backend_Order->createDocumentAction()
#19 engine/Library/Enlight/Controller/Dispatcher/Default.php(525): Enlight_Controller_Action->dispatch('createDocumentA...')
#20 engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#21 engine/Shopware/Kernel.php(184): Enlight_Controller_Front->dispatch()
#22 vendor/symfony/http-kernel/HttpCache/HttpCache.php(491): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#23 engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#24 vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#25 engine/Shopware/Components/HttpCache/AppCache.php(105): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true)
#26 shopware.php(118): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#27 {main}

```

Die betroffene Zeile habe ich schon überprüft auf Zeichenfehler oder Formatierungsfehler.
