Jump to content

Tm mega layout and hook_footer


Recommended Posts

Hi,
i have one question about tm mega layout module and hook replace.
If in footer.tpl add this code but i have some  module that call {$HOOK_FOOTER} how can i solve?

{assign var='displayMegaFooter' value={hook h='tmMegaLayoutFooter'}}
{if isset($HOOK_FOOTER) || $displayMegaFooter}
    <div class="footer-container">
    {if $displayMegaFooter}
         <div id="footer">
              {$displayMegaFooter}
         </div>
    {else}
        <div id="footer" class="container">
            <div class="row">{$HOOK_FOOTER}</div>
        </div>
    {/if}

Thanks in advance

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...