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
The Stripe module has support for webform. You could probably do what they are after with that and customise the output.
Using Backdrop CMS to generate invoices
I used Zen a lot with Drupal 7 as well and liked it. There is no port of Zen, in fact not many Drupal themes have been ported to Backdrop CMS, because theming in Backdrop is quite different from...
Themes: anything like ZEN?
Basis is the most modern and as easy as Bartik. Bartik is still there for backwards compatibility. I've usually sub themed from Basis. But also Bootstrap 5 theme. I don't know if anyone...
Themes: anything like ZEN?
Hi @izmeez I believe that server-level includes .htaccess as this is read by Apache before Backdrop gets to it. I personally wouldn't include more in trusted host patterns that is...
Trusted host patterns if several related domains redirect to main domain
Sorry for not being more clear in earlier comment. Presuming .htaccess is directing to a single url, either www or non-www bare domain, not allowing both. When it comes to adding trusted...
Trusted host patterns if several related domains redirect to main domain