Skip to content

Instantly share code, notes, and snippets.

@frpuser
Created August 23, 2022 13:31
Show Gist options
  • Save frpuser/6ab728bfc12ddbf37e7c83d4180370fe to your computer and use it in GitHub Desktop.
Save frpuser/6ab728bfc12ddbf37e7c83d4180370fe to your computer and use it in GitHub Desktop.
<f:section name="Configuration">
<flux:form options="{group: 'FCE', icon: 'EXT:frp_fce/Resources/Public/Thumbnails/module_contentslider.png'}" id="contentslider">
<flux:form.sheet name="slider">
<flux:form.section name="slides" label="slides">
<flux:form.object name="default">
<flux:field.input name="caption" maxCharacters="55" required="1"/>
<flux:field.input name="title" maxCharacters="30" required="1"/>
<flux:field.input name="subtitle" maxCharacters="55" required="1"/>
<flux:field name="link" label="link" type="input" config="{
renderType: 'inputLink'
}" />
<flux:field.input name="linktext" maxCharacters="55" required="1"/>
<flux:field type="group"
name="image"
label="Images"
config="{
type: 'group',
internal_type: 'db',
allowed: 'sys_file',
size: '1',
minitems: 0,
maxitems: 1,
show_tumbs: 1,
appearance: {
elementBrowserType: 'file',
elementBrowserAllowed: 'jpg,jpeg,png,gif'
}}" />
</flux:form.object>
</flux:form.section>
</flux:form.sheet>
</flux:form>
</f:section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment