Jump to content

show modulein different column according to different pages


Recommended Posts

you can do it with if conditions in module template files.

i don't know exactly what and where you wan to to displa but for example:

 

if you want to display contents of .tpl file only on product page, you can use this:

 

{if $page_name=="product"}

Contents here

{/if}

Link to comment
Share on other sites

you can do it with if conditions in module template files.

i don't know exactly what and where you wan to to displa but for example:

 

if you want to display contents of .tpl file only on product page, you can use this:

 

{if $page_name=="product"}

Contents here

{/if}

 

@Vekia..yes  I know but I want to hook into different columns as per different page name. Means lets say I will show a block in left column in home page, in product page the block will be shown in right side, in category page the block will be shown in before the middle content section. Hope you will understand my requirement.  So can you tell me how to do that?

Edited by prestashop_newuser (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...