Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
OXID Bootstrap Responsive: Flechtie layout/header.tpl
[{if $oView->showBetaNote()}]
[{oxid_include_widget cl="oxwBetaNote" noscript=1 nocookie=1}]
[{/if}]
[{if $oViewConf->getTopActionClassName() != 'clearcookies' && $oViewConf->getTopActionClassName() != 'mallstart'}]
[{oxid_include_widget cl="oxwCookieNote" _parent=$oView->getClassName() nocookie=1}]
[{/if}]
<header>
<div class="container">
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-5 col-xs-4">
<div class="well logo">
<a href="[{$oViewConf->getHomeLink()}]" title="Flechtie: Geflochtene Halsbänder und Leinen für Hunde">
<img src="/shop/out/flechtie/src/bg/Logo-250px.png" alt="Flechtie" title="Flechtie" /></a>
<div class="hidden-sm hidden-xs">Geflochtene Halsbänder und Leinen für Hunde</div>
</div>
</div>
<div class="col-lg-5 col-md-5 col-sm-5 col-xs-6">
<div class="well">
[{if $oxcmp_user || $oView->getCompareItemCount() || $Errors.loginBoxErrors}]
[{assign var="blAnon" value=0}]
[{assign var="force_sid" value=$oViewConf->getSessionId()}]
[{assign var="force_sid" value=$oView->getSidForWidget()}]
[{else}]
[{assign var="blAnon" value=1}]
[{/if}]
<div class="servicemenu_container pull-right">
[{oxid_include_widget cl="oxwServiceMenu" _parent=$oView->getClassName() force_sid=$force_sid nocookie=$blAnon _navurlparams=$oViewConf->getNavUrlParams() anid=$oViewConf->getActArticleId()}]
</div>
</div>
</div>
<div class="col-lg-1 col-md-1 col-sm-2 col-xs-2">
<div class="well pull-right" id="minibasket_container">
[{if $oxcmp_basket->getProductsCount()}]
[{assign var="blAnon" value=0}]
[{assign var="force_sid" value=$oViewConf->getSessionId()}]
[{else}]
[{assign var="blAnon" value=1}]
[{/if}]
[{oxid_include_widget cl="oxwMiniBasket" nocookie=$blAnon force_sid=$force_sid}]
</div>
</div>
</div>
</div>
</header>
<nav class="navbar navbar-inverse" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Menü zeigen</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand visible-xs-inline" href="[{$oViewConf->getHomeLink()}]" title="Flechtie: Geflochtene Halsbänder und Leinen für Hunde">
Halsbänder und Leinen für Hunde</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
[{oxid_include_widget cl="oxwCategoryTree" cnid=$oView->getCategoryId() sWidgetType="header" _parent=$oView->getClassName() nocookie=1}]
</div>
</div>
</nav>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment