Description of the need When you create a flexible layout template and enable it for the default front page, there is no good place for the current hero block. You can create a hero row by changing the 'Row Width Behavior' to 'Always full width of page."
But this is not obvious and requires specific knowledge.
This issue came up here: https://github.com/backdrop/backdrop-issues/issues/4066
Proposed solution To add a default 'hero' row to each new flexible layout template. This would be a 4th row in addition to the current default 'header', 'content,' and 'footer' rows.
Proposed: * Header Row * Hero Row * Content Row * Footer Row
NOTE: I am not convinced that this is necessary, but would like to hear from others.
Alternatives that have been considered
I think an alternative would be to simply make it easier for a site builder to figure out how to make their own hero row. This MIGHT be sufficient. https://github.com/backdrop/backdrop-issues/issues/4081
Recent comments
Thanks Alejandro. That was the clues I needed.
Ubercart - Programmatically add product to cart and straight to Checkout
Have you tried uc_cart_add_item()? You need to provide the nid of the product. Then you can use backdrop_goto('cart/checkout'); to send the user to the checkout screen. uc_cart_add_item...
Ubercart - Programmatically add product to cart and straight to Checkout
No problem, let's see how it evolves. I'd be happy to provide a suggested version if i could. I will keep that in mind and try learn this hook chain hopefully very soon. I will...
File hashing uploads made through TinyMCE