player.c64 Posted August 8, 2012 Share Posted August 8, 2012 Hi everybody, I'm trying optimize my layout. I'd like place one module on home page which is simple: {if $page_name == 'index'} <div id="BottomHeader"> {$HOOK_BottomHeader} </div> {/if} but also I want this on all cms pages how to do it? I was trying this statement, but doesn't work : {if $cms->id == 4} <div id="BottomHeader"> {$HOOK_BottomHeader} </div> {/if} Thanks. Link to comment Share on other sites More sharing options...
fernandokerber Posted August 8, 2012 Share Posted August 8, 2012 Hi everybody, I'm trying optimize my layout. I'd like place one module on home page which is simple: {if $page_name == 'index'} <div id="BottomHeader"> {$HOOK_BottomHeader} </div> {/if} but also I want this on all cms pages how to do it? I was trying this statement, but doesn't work : {if $cms->id == 4} <div id="BottomHeader"> {$HOOK_BottomHeader} </div> {/if} Thanks. Hi! Take a look at this pages: http://www.prestashop.com/forums/topic/129386-display-newsletter-block-in-a-cms-page/ http://www.prestashop.com/forums/topic/150575-solved-exclude-module-from-only-one-cms-page/ 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