Zdravím zasílám celou chybu, vypadá to jako by to bylo omezené počtem příkazů {if $node.id != 64 && $node.id != 69}, pokud jakýkoliv odstraním tak stránka jede.
Toto zobrazí prohlížeč
Kód:
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/data/www/rede.cz/webovastranka.cz/modules/blokkategoriesamosbery/category-tree-branch.tpl" on line 26 "{if $node.id != 64 && $node.id != 69 && $node.id != 80 && $node.id != 63 && $node.id != 205 && $node.id != 68 && $node.id != 65 && $node.id != 60 && $node.id != 133 && $node.id != 69 && $node.id != 176 && $node.id != 263 && $node.id != 276 && $node.id != 277 && $node.id != 217 && $node.id != 84 && $node.id != 280 && $node.id != 281 && $node.id != 283 && $node.id != 284 && $node.id != 285 && $node.id != 67 && $node.id != 165 && $node.id != 288 &am in /data/www/rede.cz/webovastranka.rede.cz/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 1329
Toto mám v category-tree-branch.tpl
Kód:
{if $node.id != 64 && $node.id != 69 && $node.id != 80 && $node.id != 63 && $node.id != 205 && $node.id != 68 && $node.id != 65 && $node.id != 60 && $node.id != 133 && $node.id != 69 && $node.id != 176 && $node.id != 263 && $node.id != 276 && $node.id != 277 && $node.id != 217 && $node.id != 84 && $node.id != 280 && $node.id != 281 && $node.id != 283 && $node.id != 284 && $node.id != 285 && $node.id != 67 && $node.id != 165 && $node.id != 288 && $node.id != 215}
<li {if isset($last) && $last == 'true'}class="last"{/if}>
<a href="{$node.link|escape:'htmlall':'UTF-8'}" {if isset($currentCategoryId) && $node.id == $currentCategoryId}class="selected"{/if} title="{$node.desc|escape:'htmlall':'UTF-8'}">{$node.name|escape:'htmlall':'UTF-8'}</a>
{if $node.children|@count > 0}
<ul>
{foreach from=$node.children item=child name=categoryTreeBranch}
{if $smarty.foreach.categoryTreeBranch.last}
{include file="$branche_tpl_path" node=$child last='true'}
{else}
{include file="$branche_tpl_path" node=$child last='false'}
{/if}
{/foreach}
</ul>
{/if}
</li>
{/if}