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
@laryn - thanks for this. I was looking for the CKEditor media widget that lets you add more than just images, like in Drupal 8+. Never occurred to me that file upload would be under the link widget...
Simple PDF Upload & Link
Awesome, I've unchecked the multifiled settings and now everthings works like a charm! Great work, again thank you very much!
How to show "Repeating dates" on a view page?
Extremely usefulĀ idea and module. Thank you! This may have many other flexible applications in administering website's content and design.
Is it possible to choose a specific layout for each post ?