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
@yorkshirepudding, In the end I fixed it by deleting the config/active folder contents, copying the config/staging/ files into config/active, importing the database again and clearing the caches...
Importing the staged config throws an error: another field with the same name already exists
Thanks, I have to go out now, I will try later on and report back
Importing the staged config throws an error: another field with the same name already exists
Hi Francis. Yes, what config do you have in staging for it? You might have configs like: field.field.field_video_embed field.instance.node.page....
Importing the staged config throws an error: another field with the same name already exists