Jump to content

Display modules only on cms pages.


player.c64

Recommended Posts

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

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

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...