I'm just starting to use Fluid powered TYPO3 now (with the great extensions from Claus Due [flux, fluidpages, fluidcontent, vhs, etc.])
What I want to do is:
My Flexform configuration in the Content Template File (in folder EXT:myext/Resources/Private/Templates/Content) looks something like this
<f:section name="Configuration">
<flux:flexform wizardTab="Speciality" id="heroWidget">
<flux:flexform.section name="elements">
<flux:flexform.object name="heroteaser">
<flux:flexform.field.text name="title" />
<flux:flexform.field.input name="description" />
</flux:flexform.object>
</flux:flexform.section>
</flux:flexform>
</f:section>
My question now: Is it possible to add in the configuration something like the enableField mechanism? I want to have fields like start, stop, hidden, group access as you know from regular tt_content element in the [Access]
Sheet.
Of course it is possible to add the field by myself and the add some confitions in the "Main"
section, but that would be tearse and I guess it would not serve the purpose as I suppose there will be cache issues
Ahoi there!
As you are using fluidcontent, you have the {record}
variable available. This variable contains all the stored information of the parent record.
For fiddeling around, what's available, do a {record -> f:debug()}
in your template and have a look at the available fields. Your desired values should also be present.
Be aware that:
Cheers, Cedric