fluid

# Extend like the core.

What fluid cannot do itself, others plug in – with attributes, just as REDAXO 6 registers modules and templates.

 
 
 

 

Interfaces

## Plug in instead of building in.

fluid plus uses exactly these interfaces – any other addon can do the same.

 

- ### #[AsFluidDialog]
   
  Own dialogs in the editor, e.g. image and video editing.
- ### #[AsFluidPanel]
   
  Sections in the page settings – from the core’s meta schemas.
- ### #[AsFluidApi]
   
  Own actions for the editor’s programming interface.
- ### #[AsFluidSelfTest]
   
  Own checks in fluid’s self-test.
- ### #[AsFluidKit]
   
  A kit with elements, views and design – as a class or its own package.
   [More](https://fluid.klxm.de/en/fluid/custom-kit/)
- ### Fields
   
  The core’s #[Fieldset] for sections, #[Design] for the “Appearance” tab, #[VisibleIf] for fields only when needed.

 
 
 

 

Example

## A section in the page settings

 
 
 
src/Meta/EventMeta.php PHP
 

```
<?php

#[AsMetaSchema(MetaEntity::Article)]
#[AsFluidPanel(label: 'Veranstaltung')]
final class EventMeta extends MetaSchema
{
    #[DatePicker('Datum')]
    public ?DateTimeImmutable $date = null;

    #[Text('Ort')]
    public string $place = '';
}
```

 
 
 
 
 

 

One of the core’s meta schemas is enough – fluid shows it on the website in the page settings, the backend at the article. More in fluid’s extension API (docs/erweiterungs-api.md).

 
 

 
 
 

Try it

 

## This site is built with REDAXO 6 and fluid.

 

Sign in, tap “Edit” – and change every text, every image and the whole design right here.

 
 
[How editing works](https://fluid.klxm.de/en/fluid/editing/)[See the technology](https://fluid.klxm.de/en/redaxo-6/technology/)


---

Source: https://fluid.klxm.de/en/fluid/extending/
<style nonce="48141b472860b51e958d958f655c6237">.fs-455c15fee1{--ncss-grid-min:13rem !important}</style>