---
title: "Data Attributes"
manual: "Frontend Edit"
version: "2.6"
source: "DeveloperCorner/DataAttributes.rst"
rendered: "2026-10-01T07:11:45+00:00"
---

# Data Attributes {#data-attributes}

Additionally, there is an option to extend your fluid template to provide data for extra Edit Menu entries, e.g. edit links to all news entries within a list plugin.

**Custom Fluid Template**

```html
{namespace xfe=Xima\XimaTypo3FrontendEdit\ViewHelpers}

<div class="news-item">
    ...
    <xfe:data label="{news.title}" uid="{news.uid}" table="tx_news_domain_model_news" icon="content-news" />
</div>
```

This generates a hidden input element with the provided data (only if the frontend edit is enabled). Within the parent content element (e.g. the whole list plugin), a new "data" section will show up in the Edit Menu to list all edit links.

![Frontend Edit Extended Data Entries](../Images/data.png)

Keep in mind, that this only works if the parent content element has a c-id and offer one of the following data combinations:

-   Edit record link (provide `uid` and `table` of the desired record, the link to the TYPO3 backend will be generated automatically)
-   Custom edit url (provide a custom `url`)

> [!NOTE]
> Keep in mind, that this option will add additional html elements to your dom, which can causes style issues.

> [!NOTE]
> **See also**
>
> View the sources on GitHub:
>
> -   [DataViewHelper](https://github.com/xima-media/xima-typo3-frontend-edit/blob/main/Classes/ViewHelpers/DataViewHelper.php)
