Review main Merged

22067[FEATURE] FormEngine: Possibility to add icons via pageTSconfig

Benni Mack CR +2 V +2 Normal +65 −8 updated 12/10/14, 20:16

Commit message

If someone adds a new value/label pair for a select field in
TCEforms/FormEngine, it is not possible to also add an icon to
the new option.
Alternatively, existing values can be changed through the new
"altIcons" property that acts like the "altLabels" property.

The patch adds another subelement for TSconfig to also add an
icon, as well as a new property.

TCEFORM.pages.doktype.addItems {
	13 = My Label
	13.icon = sysext/t3skin/icons/gfx/i/pages.gif
}
TCEFORM.pages.doktype.altIcons {
	123 = EXT:myext/icon.gif
}

The icon path must be relative to the typo3/ directory.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 6