
how to move "home" hook below the tabs?
this requires modification of index.tpl file located in theme directorythere is a code like:
{if isset($HOOK_HOME_TAB_CONTENT) && $HOOK_HOME_TAB_CONTENT|trim}
{if isset($HOOK_HOME_TAB) && $HOOK_HOME_TAB|trim}
<ul id="home-page-tabs" class="nav nav-tabs clearfix">
{$HOOK_HOME_TAB}
</ul>
{/if}
<div class="tab-content">{$HOOK_HOME_TAB_CONTENT}</div>
{/if}
{if isset($HOOK_HOME) && $HOOK_HOME|trim}
<div class="clearfix">{$HOOK_HOME}</div>
{/if}
change it to:{if isset($HOOK_HOME) && $HOOK_HOME|trim}
<div class="clearfix">{$HOOK_HOME}</div>
{/if}
{if isset($HOOK_HOME_TAB_CONTENT) && $HOOK_HOME_TAB_CONTENT|trim} {if isset($HOOK_HOME_TAB) && $HOOK_HOME_TAB|trim}
<ul id="home-page-tabs" class="nav nav-tabs clearfix">
{$HOOK_HOME_TAB}
</ul>
{/if}
<div class="tab-content">{$HOOK_HOME_TAB_CONTENT}</div>
{/if}
Hi, I need to to the same in P.S 1.7. The index.tpl is a bit different, could you help me? Thanks
ReplyDeletethe main problem is fact, that prestashop 1.7 does not have a "homepage tabs" feature. If you've got it - this means that you use some non-default theme and it will be hard to say what you have to alter because i just dont know what theme you use and what code this theme uses.
DeleteI use the default theme of PS 1.7 but I installed that https://mypresta.eu/prestashop-17/enable-homepage-tabs.html
Deletecan I send you the code from index.tpl?
Delete