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: #[AsFluidKit] -
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
<?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.