Hide "all available tabs" in extra tabs pro module for PrestaShop

I use your product extra tab addon. When enter to "Extra Tabs" shows "ALL AVAILABLE TABS". I have to many tabs. I Would like hide the "all available tabs" and shows only the tabs for each product. 
Is possible? See screenshot:


Remove "all available tabs" from extra tabs pro module

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 class="tagify-container">
            {foreach Extratabpro::getAllTabs() AS $tab}
                <span id="productExtratab_{$tab.id_tab}">{$tab.internal_name} ({$tab.name})</span>
            <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>
Share on Google Plus


This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment


Post a Comment