简体   繁体   中英

Create a block for a specific page in Drupal

I want to have a sidebar for certain pages, each sidebar would contain different information. The problem is that I don't seem to be able to add blocks for a specific page but for all of them.

You can set this in /admin/structure/block

  1. go to admin/structure/block
  2. search for the desired block and click in 'edit'.
  3. Scroll down until you see the below panel and click in 'Pages'.

Now you can show/hide blocks per page.

阻止可见性设置

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM