0

I'm having a problem where my system help block is not properly rendering messages in my main template. It works fine when using my administrative theme, but not in the standard one. When I print_r my $_SESSION variable I get the following:

[fb_devel] => Array
    (
        [FB_OP_POST_INIT] => 280
    )
[batches] => Array
    (
        [90] => 1
    )
[updates_remaining] => Array
    (
    )
[messages] => Array
    (
        [warning] => Array
            (
                [0] => For easier theme development, the theme registry is being rebuilt on every page request. It is <em>extremely</em> important to <a href="/admin/appearance/settings/cigarnews">turn off this feature</a> on production websites.
            )

    )

)

How can I troubleshoot this problem?

1 Answer 1

0

Messages are displayed in a block, check that this block is in a region and that region is displayed in your theme.

3
  • I have confirmed that my block for system help (the block normally responsible for this) is in my style and placed on my page in a region. It's just not populating.
    – devnill
    Jul 26, 2012 at 14:36
  • have you <?php print $messages; ?> in your page.tpl.php? Jul 26, 2012 at 14:49
  • <?php print $messages; ?> did it. I was under the impression that the "system help" block was responsible for the messages; not the $messages variable.
    – devnill
    Jul 26, 2012 at 21:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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