mcluca_1982 Posted November 27, 2018 Share Posted November 27, 2018 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 More sharing options...
Rolige Posted November 28, 2018 Share Posted November 28, 2018 Hello: Default front controller render the content of this hook and pass it to smarty template. Regards Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now