Skip to content

Instantly share code, notes, and snippets.

@ronnyhartenstein
Created March 6, 2015 20:06
Show Gist options
  • Save ronnyhartenstein/a9581017121f88389612 to your computer and use it in GitHub Desktop.
Save ronnyhartenstein/a9581017121f88389612 to your computer and use it in GitHub Desktop.
OXID Bootstrap Responsive: Flechtie layout/page.tpl
[{capture append="oxidBlock_pageBody"}]
[{assign var="class" value=$oView->getClassName()}]
[{if $oView->showRDFa()}]
[{ include file="rdfa/rdfa.tpl" }]
[{/if}]
[{include file="layout/header.tpl"}]
<div class="container" data-oxidclass="[{$oView->getClassName()}]" role="main">
[{if $class ne "start" && !$blHideBreadcrumb}]
[{ include file="widget/breadcrumb.tpl"}]
[{/if}]
[{if $sidebar && $class != 'details'}]
<div class="sidebar-top pull-[{$sidebar}] col-xs-12 col-sm-3 col-md-2 col-lg-2">
[{include file="layout/sidebar.tpl"}]
</div>
[{/if}]
<div id="content">
[{include file="message/errors.tpl"}]
[{foreach from=$oxidBlock_content item="_block"}]
[{$_block}]
[{/foreach}]
</div>
[{if $sidebar && $class == 'details'}]
<div class="sidebar-bottom col-xs-12 col-sm-6 col-md-4 col-lg-3">
[{include file="layout/sidebar.tpl"}]
</div>
[{/if}]
</div>
[{include file="layout/footer.tpl"}]
[{include file="widget/facebook/init.tpl"}]
[{/capture}]
[{include file="layout/base.tpl"}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment