display manufacturer content as additional tab on article details page
This commit is contained in:
parent
2ef3223e86
commit
8eaa97d889
@ -0,0 +1,12 @@
|
|||||||
|
[{$smarty.block.parent}]
|
||||||
|
|
||||||
|
[{assign var="oManufacturer" value=$oView->getManufacturer()}]
|
||||||
|
[{if $oManufacturer && $oManufacturer->d3GetLongdesc()}]
|
||||||
|
[{capture append="tabs"}]<a href="#manufacturertab" data-toggle="tab">[{oxmultilang ident="MANUFACTURER"}]</a>[{/capture}]
|
||||||
|
[{capture append="tabsContent"}]
|
||||||
|
<div id="manufacturertab" class="tab-pane[{if $blFirstTab}] active[{/if}]">
|
||||||
|
[{oxeval var=$oManufacturer->d3GetLongdesc()}]
|
||||||
|
</div>
|
||||||
|
[{assign var="blFirstTab" value=false}]
|
||||||
|
[{/capture}]
|
||||||
|
[{/if}]
|
@ -56,5 +56,10 @@ $aModule = [
|
|||||||
'block' => 'details_productmain_manufacturersicon',
|
'block' => 'details_productmain_manufacturersicon',
|
||||||
'file' => 'Application/views/blocks/page/details/inc/details_productmain_manufacturersicon.html.tpl',
|
'file' => 'Application/views/blocks/page/details/inc/details_productmain_manufacturersicon.html.tpl',
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
'template' => 'page/details/inc/tabs.tpl',
|
||||||
|
'block' => 'details_tabs_invite',
|
||||||
|
'file' => 'Application/views/blocks/page/details/inc/details_tabs_invite.html.tpl',
|
||||||
|
],
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user