display manufacturer content as additional tab on article details page
Cette révision appartient à :
Parent
4cc8391a0a
révision
2ea2b0f09f
12
Application/views/blocks/page/details/inc/details_tabs_invite.html.tpl
Fichier normal
12
Application/views/blocks/page/details/inc/details_tabs_invite.html.tpl
Fichier normal
@ -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}]
|
@ -61,5 +61,10 @@ $aModule = [
|
||||
'block' => 'details_productmain_manufacturersicon',
|
||||
'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',
|
||||
],
|
||||
]
|
||||
];
|
||||
|
Chargement…
x
Référencer dans un nouveau ticket
Bloquer un utilisateur