I would like to print out the messages block on a page--front.tpl.php template file. The problem is that I do not use the $page variable to print the page content, responsible to print also the messages block, as I have an entirely different design for the front page. I'm trying this with no luck:
<?php
$block = module_invoke('system', 'block_view', 'messages');
print render($block['content']);
?>
Any ideas? Thanks!
Recent comments
Make sure it's a file field and enter the allowed file types, e.g.:
How to upload js and gz files
Wow, that sounds awful... So maybe it's not even related to other modules, but some... cache problem somewhere? Be it browser or server-side? A Heisenbug.
How to troubleshoot interactive image cropping modules?
It remains a complete mystery. I started enabling other modules on my clean install and boom - off it went again. Of course, removing those modules didn’t make any difference so I couldn’t...
How to troubleshoot interactive image cropping modules?
Very possibly, I am looking at it now... Sorry I will be travelling away on that date. I will register, so I can look back
Images on Pages and Blocks not refreshing
Great news Francis. I'm glad I could help. Any chance we will see you at the upcoming Backdrop Live?
Images on Pages and Blocks not refreshing