Is it possible to set a region on a specific page? I've created a page and I only want it to display it there and not elsewhere.
3 Answers
Create View Block.
Go to Home » Administration » Structure » View
Add New View.
Create a Block with View (Not Create a Page)
Then, Select that block on the specific page.
If you have created that page with Panels or Node Template (By Adding New Variant) You can set View Rule.
- Add Visibility Rule in View Block
Select String: URL Path as an Option
Then, set path to your page where you wanted to display your block.
I hope this will help you..
You can use blocks and specify a specific page for it to display content.
-
Yes, indeed but in page.tpl.php I've added some text that belongs to that region. I see the text on every page now.– GregCommented Nov 3, 2014 at 18:34
-
Move that text to a block and change the show on pages only attribute to include the page you desire. Use css to customize the text layout. Commented Nov 3, 2014 at 18:56
You can restrict the display of the blocks to pages, content types, roles, languages.