Hi There,

I have created a block and would like to place it only on the homepage ( "/node/1"), tried using different types of code but not able to display the block on single page. either it is coming on all the pages or else on none of the pages.

Please suggest me the code to be placed under "Show block on specific pages:", so that the block get displayed only on the home page.

Waiting for reply,

Thanks
Raj

Comments

nevets’s picture

You want to use <front>

rajesh_o12’s picture

Thanks for your reply friend,

using "front" will display the block on the front page, but i want to use that block only on the "node/1" as i have set this as my home page of the site.
How i can add that block on the page "node/1"?.

Thanks
Raj

CMS’s picture

1- go to admin>sitebuilding>blocks
2- click on configure for the block which u want to set specific visibility
3- use the "Show on only the listed pages." option and type "node/1" in the box below.
this should fix it.
P.S be sure to clear your cached data after u have done the above!!

rajesh_o12’s picture

I was trying putting different code, but not even tried to place the common one... its working now :) .

Thanks a lot.. :)