Search code examples
drupal-7drupal-blocks

How to set a block for dynamic node in DRUPAL 7


I am new to Drupal. I have created a block that I want to show on some specific pages. Like if the url is "/node/2278" then I want to show the block for all the page under this "/node/2278". This may be /node/2278/1 or /node/2278/any-number.


Solution

  • Use "/node/2278/*" , I think it actually tells you that the star can be a wildcard under the textfield where you enter it. Don't forget you can set up url aliases so the path does not have to be "node/..." but can be whatever you want (admin/config/search/path/patterns)