DocsFQL syntax reference
On this page

Settings lists reference

Declare editable list defaults and control list editing.

Before you begin: Visibility and provider buttons.

Editable settings lists

New sites start with saved page settings taken from the HTML defaults in their selected theme version. This includes text, bound attributes, and nested settings lists, so FRL can read them through $page before an admin edits a page. Give a shared setting the same default wherever it appears; a shared component helps keep those declarations consistent. Untouched settings follow the selected theme version; admin edits remain overrides, including empty values. Reset a field or restore a whole list to follow defaults again. A one-time migration can compare older sites with their current defaults: matching values follow updates and differing values stay custom. Existing edit history remains authoritative. See Page Setting Defaults.

Settings-backed lists can include more than one authored child. The first child is still the template used for saved data. The remaining children are default/showcase items for fresh sites:

index.html

If the site owner has no saved array for that setting yet, Frontbacked renders all authored children. Once Frontbacked has a saved array, even an empty array, the saved array controls the public render. If the admin removes every item, the public page renders no list items.

In settings edit mode, when the saved array is shorter than the authored defaults, Frontbacked renders the missing authored defaults as grey restore suggestions, not as live content. Each suggestion has an add-back button that writes a local draft. When the saved array is empty, Frontbacked also shows an Edit List button so the admin can add new items or restore the theme defaults from the list editor.

In settings edit mode, the list container itself is not edited as raw JSON. Frontbacked adds edit controls to the fields declared in the first template, such as $.title, $.body, f-attr-src="$.image", and f-attr-href="$.url", so theme developers can keep icons, badges, and layout details theme-owned while making only the intended text, image, and link fields editable.

Use data-frontbacked-settings-max-items="3" on a settings-backed list when the design has a fixed slot count, such as a three-slide hero carousel. Frontbacked caps public rendering and disables Add item in the list editor after the saved list reaches that count.

Settings edit submissions are local drafts first. The editor writes draft values to localStorage; the fixed edit bar shows a Save button with the number of pending edits, plus undo and redo controls. Frontbacked is updated only when the admin clicks the edit bar Save button.

Continue with Client method signatures.