When I configure a Flexible layout row, I want to add an id attribute for the row. Setting an ID would allow linking to a row using a URL fragment. Example:
- Row:
<section id="about" ...> - Link:
<a href="#about" ...>
The custom ID would be very helpful building one pager websites or landing pages where navigation links point to different sections of the same page.
At the moment, it's possible to add a Region name and an Additional row class via the "Configure row" dialog. I suggest to also provide the option for a custom ID.
Alternatives that have been considered I didn't find a way to set custom IDs via the Flexible layout template or via the configuration file of a Flexible layout.
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