Description of the need
This is a follow-up to https://github.com/backdrop/backdrop-issues/issues/5600
It would be nice to have a follow-up to recreate the
<main>tag. Seems like there should definitely be one on all pages, even if they're just administrative pages. https://github.com/backdrop/backdrop-issues/issues/5600#issuecomment-111...
The lack of a <main> tag came up in that issue and @quicksketch asked for this follow-up issue.
At first, I thought that this was specific to the admin theme, but I'm not seeing any <main> tag in our front end themes/layouts either. I would like some help understanding why this is important, if no one has asked for it before?
I assume that to fix this, we'd just need to add the main tag to all our layouts. It would seem to me that we'd have some issues with Backward compatibility and/or contrib themes that override layouts.
@gitressa - any thoughts?
Recent comments
In a blog post titled "Github Tips and Tricks for Contrib Maintainers", I'd like to see some of the following topics: When is the README sufficient for documentation? When should...
Github Tips and Tricks for Contrib Maintainers
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