Project

General

Profile

Actions

Bug #75201

closed

Extending bullets_type, imageorient, uploads_type, etc. not possible with FLUID STYLED CONTENT

Added by Philipp Faber about 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-03-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

I wanted to extend the bullets select field. It shows up, I can select it, but no output. Here is what I have so far:

PageTS (works):

TCEFORM.tt_content {
    bullets_type {
        addItems {
            10 = Un-bulleted List
        }
    }
}

FSC Bullets.html (no output):

<f:case value="10">
    <ul class="no-bullet">
        <f:for each="{bullets}" as="bullet">
            <li>{bullet}</li>
        </f:for>
    </ul>
</f:case>

Same behaviour for TCEFORM.tt_content.imageorient, TCEFORM.tt_content.uploads_type, etc.

Regarding bullets, it looks like only values 0, 1 and 2 are processed:

https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/fluid_styled_content/Configuration/TypoScript/Static/setup.txt#L22-L55

Actions

Also available in: Atom PDF