Is possible? See screenshot:
Thanks
Remove "all available tabs" from extra tabs pro module
Hello,
this list displays all tabs you created in the module so you can easily drag and drop any kind of tab here to associate it with product - if you dont want this feature it will be necessary to alter module code (.tpl file)
i propose these changes:
orignal file: /modules/extratabspro/views/admin/tabs.tpl.bkp (backup)
modified file: /modules/extratabspro/views/admin/tabs.tpl
open tabs.tpl and comment out code that is responsible for this section:
{* {if Tools::getValue('editblock','false')=='false' && Tools::getValue('addtab','false')=='false'} <div class="panel " id="extraTabsProDivTemplates"> <h3 class="tab"><i class="icon-folder"></i> {l s='All available tabs' mod='extratabspro'}</h3> <div class="alert alert-info"> {l s='Drag and drop selected tabs to the list above - you will add dropped tab to this product' mod='extratabspro'} </div> <div class="tagify-container"> {foreach Extratabpro::getAllTabs() AS $tab} <span id="productExtratab_{$tab.id_tab}">{$tab.internal_name} ({$tab.name})</span> {/foreach} <div style="margin-top:5px;"> <a class="label label-info" style="cursor:pointer;" href="index.php?controller=AdminProducts&id_product={Tools::getValue('id_product')}&key_tab=ModuleExtratabspro&updateproduct&token={Tools::getValue('token')}&addtab=1&without_product=1"> <i style="font-size: 12px; padding: 4px;" class="icon-plus-sign"></i> </a> </div> </div> </div> {/if} *}
0 comments:
Post a Comment