Hallo liebe Community, ich habe das Standardtemplate bearbeitet und nun fehlt ein Teil der Topbar. Ich kann nun die Sprachänderung nicht mehr benutzen. Ich hoffe hier hat jemand eine Lösung. Screenshots anbei: Standard und einmal das bearbeitete Template: Bearbeitet
Zeig mal deinen Code
Hallo Alex, von welcher Datei willst Du den Code?
erstmal index/index.tpl
{** * Shopware 3.5 Template * * @category Shopware * @package Shopware_Template * @subpackage Shopware_Template_Frontend * @copyright Copyright © 2010 shopware AG (http://www.shopware.de) * @author hl/shopware AG * @author stp/shopware AG *} {block name=„frontend_index_start“}{/block}<?xml version="1.0" ?>{block name=„frontend_index_doctype“} {/block} {block name=‚frontend_index_header‘} {include file=’./frontend/index/header.tpl’} {/block}
{* Message if javascript is disabled *} {block name=„frontend_index_no_script_message“}
{s name=„IndexNoscriptNotice“}{/s}
{/block} {block name=‚frontend_index_before_page‘}{/block}
{* Shop header *} {block name=‚frontend_index_navigation‘}
{* Language and Currency bar *} {block name=‚frontend_index_actions‘} {include file=‚frontend/index/actions.tpl‘} {/block} {* Shop logo *} {block name=‚frontend_index_logo‘}
[{$sShopname}]({url controller=‚index‘} „{$sShopname} - {s name=‚IndexLinkDefault‘}{/s}“)
{/block} {* Shop navigation *} {block name=‚frontend_index_checkout_actions‘} {include file=‚frontend/index/checkout_actions.tpl‘} {/block} {block name=‚frontend_index_navigation_inline‘}{/block}
{/block} {* Maincategories navigation top *} {block name=‚frontend_index_navigation_categories_top‘} {include file=‚frontend/index/categories_top.tpl‘} {/block} {* Search *} {block name=‚frontend_index_search‘} {include file=„frontend/index/search.tpl“} {/block} {* Breadcrumb *} {block name=‚frontend_index_breadcrumb‘} {include file=‚frontend/index/breadcrumb.tpl‘} {/block} {* Content section *}
{* Content top container *} {block name=„frontend_index_content_top“}{/block} {* Sidebar left *} {block name=‚frontend_index_content_left‘} {include file=‚frontend/index/left.tpl‘} {/block} {* Main content *} {block name=‚frontend_index_content‘}{/block} {* Sidebar right *} {block name=‚frontend_index_content_right‘}{/block}
{* Footer *} {block name=„frontend_index_footer“} {include file=‚frontend/index/footer.tpl‘} {/block}
{block name=„frontend_index_shopware_footer“}
{s name=„IndexRealizedWith“}Realisiert mit{/s} {s name=„IndexRealizedShopsystem“}Shopware{/s}
{/block} {block name=‚frontend_index_body_inline‘}{/block} {* Language and Currency bar *} {block name=‚frontend_index_actions‘}{/block}
Versuch mal das hier [code]{** * Shopware 3.5 Template * * @category Shopware * @package Shopware_Template * @subpackage Shopware_Template_Frontend * @copyright Copyright © 2010 shopware AG (http://www.shopware.de) * @author hl/shopware AG * @author stp/shopware AG *} {block name=“frontend_index_start”}{/block}<?xml version="1.0" ?>{block name=“frontend_index_doctype”} {/block} {block name=‘frontend_index_header’} {include file=’./frontend/index/header.tpl’} {/block}
{* Message if javascript is disabled *} {block name=“frontend_index_no_script_message”}
{s name=“IndexNoscriptNotice”}{/s}
{/block} {block name=‘frontend_index_before_page’}{/block}
{* Shop header *} {block name=‘frontend_index_navigation’}
{* Language and Currency bar *} {block name=‘frontend_index_actions’}{/block} {* Shop logo *} {block name=‘frontend_index_logo’}
[{$sShopname}]({url controller=‘index’} “{$sShopname} - {s name=‘IndexLinkDefault’}{/s}”)
{/block} {* Shop navigation *} {block name=‘frontend_index_checkout_actions’} {include file=‘frontend/index/checkout_actions.tpl’} {/block} {block name=‘frontend_index_navigation_inline’}{/block}
{/block} {* Maincategories navigation top *} {block name=‘frontend_index_navigation_categories_top’} {include file=‘frontend/index/categories_top.tpl’} {/block} {* Search *} {block name=‘frontend_index_search’} {include file=“frontend/index/search.tpl”} {/block} {* Breadcrumb *} {block name=‘frontend_index_breadcrumb’} {include file=‘frontend/index/breadcrumb.tpl’} {/block} {* Content section *}
{* Content top container *} {block name=“frontend_index_content_top”}{/block} {* Sidebar left *} {block name=‘frontend_index_content_left’} {include file=‘frontend/index/left.tpl’} {/block} {* Main content *} {block name=‘frontend_index_content’}{/block} {* Sidebar right *} {block name=‘frontend_index_content_right’}{/block}
{* Footer *} {block name=“frontend_index_footer”} {include file=‘frontend/index/footer.tpl’} {/block}
{block name=“frontend_index_shopware_footer”}
{s name=“IndexRealizedWith”}Realisiert mit{/s} {s name=“IndexRealizedShopsystem”}Shopware{/s}
{/block} {block name=‘frontend_index_body_inline’}{/block} [/code] und Zeig mal deine index/actions.tpl
Hallo Alex, das Anpassen der Index.tpl war leider ohne Erfolg. Anbei die aktion.tpl:
{* Currency changer *} {block name=‘frontend_index_actions_currency’} {if $sCurrencies && $sCurrencies|@count > 1} {foreach from=$sCurrencies item=sCurrency}
{/foreach} {/if} {/block} {* Active language *} {block name=‘frontend_index_actions_active_shop’} {if $Shop && $sLanguages && $sLanguages|count > 1}
{$Shop->getTitle()|default:$Shop->getName()}
{/if} {/block} {* Language changer *} {block name=‘frontend_index_actions_shop’} {if $sLanguages && $sLanguages|@count > 1}
{/if} {/block}