See this picture i want also the status message or error message to display on header region not only on content region.

enter image description here

closed as unclear what you're asking by Adrian Cid Almaguer, Pierre.Vriens, Krishna Mohan, Beebee, AjitS Aug 22 '16 at 10:25

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • I don't quite understand the second part of your question; I'm guessing you want to change the messages as well? That's a more difficult thing to change. Which messages in particular? How do you want to change them? – hampercm Aug 17 '16 at 13:22
  • sorry i already change my description and i add picture to make it clearly – Drupal Relax Aug 17 '16 at 13:36

These status messages are displayed in the "Status messages" block (good name, huh? ;) You can go to /admin/structure/block and move that block to whatever region you'd like it to be displayed in, instead.

  • i see i going to try this – Drupal Relax Aug 17 '16 at 13:37
  • this is the exact answer but how i can make this only for the header and not for content? – Drupal Relax Aug 18 '16 at 7:06
  • No, there isn't an easy way of making only some messages appear there. The status messages can come from Drupal core and any other modules installed on the site, and are all displayed in the same block. I'm not aware of any contributed modules that would move certain messages to a different block. It might be possible to write a custom module to do so, but I don't know of an approach to take for doing so. – hampercm Aug 20 '16 at 14:50
  • @DrupalRelax: I figure the least resistance way to achieve what you're trying to, is to move messages based on their status to where you want aftter they've been rendered with JS. – Alari Truuts Sep 6 '16 at 19:04
  • Yes that is right. Did you already know how? Still i have this issue they are conflicting each other regions. I want to make each region have status not only showing this status on on region only. – Drupal Relax Sep 6 '16 at 22:50

Generally I wouldn't use the system's status-messages for that and would create something custom and then add behavior:

Try creating a block with the message text and present it with some block-overlay module as a popup (if you don't want a popup just show it anywhere and style with CSS).

You could set a content-type and/or specific nodes to show it under the block settings.

You could further change the behavior of the pop up or block with JS or block-effect modules.

  • is this possible on formbase? – Drupal Relax Aug 18 '16 at 6:46
  • I didn't work with Formbase; This is totally unaltered to any theme or module though so there shouldn't be any problem. – JohnDoea Aug 18 '16 at 6:59

Not the answer you're looking for? Browse other questions tagged or ask your own question.