TYPO3 FlexForm

Flexform is generally used into Extension development to give better configuration option for Frontend Plugin.

It is also uses into TemplaVoila (TV) to setup main templates and Flexible Content Element (FCE).

Generally, whenever we are configuring Flexform - we have lack of all available all different type of fields/elements are available into Flexform configuration in the sense of Syntax.

There are many kind of XML configuration available like TextBox, Datefield, Checkbox, Textarea, Page tree, Link etc.

FlexForm Example :


<myFlexForm>
  <TCEforms>
    <label>Type of form</label>
    <onChange>reload</onChange>
    <config>
      <type>select</type>
      <size>1</size>
      <maxitems>1</maxitems>
      <items>
        <numIndex index="0" type="array">
          <numIndex index="0"></numIndex>
          <numIndex index="1">0</numIndex>
        </numIndex>
        <numIndex index="1" type="array">
          <numIndex index="0">Type No. 1 for texts</numIndex>
          <numIndex index="1">text</numIndex>
        </numIndex>
        <numIndex index="2" type="array">
          <numIndex index="0">Type No. 2 for images</numIndex>
          <numIndex index="1">image</numIndex>
        </numIndex>
      </items>
    </config>
  </TCEforms>
</myFlexForm>

Post a Comment

Thanks for your comment.