Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
To whom it may concern,
Thanks for the contribution with this module.
Not sure how difficult this request is, but it would be great to be able to indicate by path where you want the block to be displayed directly when creating the node.
It would also be useful to be able to restrict in which region the block could placed in by role. For example, staff can only put node as block nodes in the right sidebar.
Sincerely,
Rene
Comments
Comment #1
dropcube CreditAttribution: dropcube commentedI think this is a very specific feature that is out of the scope of the module. What you can do is to implement a custom module that alters the node form and set the value of the region accordingly with your requirements.
This may be a valuable feature for real use cases. One question, if a user have more than one role, how can we handle this, including the union of all the regions available for each of its roles? thoughts ???
Comment #2
dropcube CreditAttribution: dropcube commentedComment #3
cmseasy CreditAttribution: cmseasy commentedFollowing this issue: maybe module "role weights" gives a part of the answer: http://drupal.org/project/role_weights
Comment #4
dropcube CreditAttribution: dropcube commentedSuppose a user have role A and role B. Users with role A can place blocks on region "left" and region "header", while role B can place blocks on region "left" and "right". So, as the result, the user can place blocks on regions "left", "header", and "right". I think it could work this way.