Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

[FEATURE] Extend Wizard groups instead of replacing #305

Merged
merged 1 commit into from
Nov 6, 2015

Conversation

mneuhaus
Copy link
Member

@mneuhaus mneuhaus commented Nov 6, 2015

So far, if you tried to put fluidcontent elements into an existing new content wizard group like
"common", "special", etc it simply replaced all existing content elements and the title as well.
This commit changes that behavior to extend existing groups instead, use the default core
group translation, or use a localized translation for the group name.

Example

This example puts a new content element inside the core wizard group "common", by default the
regular title from TYPO3 core will be used to render the Tab title

<flux:form id="example" options="{group: 'common'}">...</flux:form>

Translation (Language/Locallang.xlf)

If you specify a translation like this for your tab title that will be used instead

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<xliff version="1.0">
    <file source-language="en" datatype="plaintext" original="messages" product-name="template" date="2015-11-05T17:15:22+01:00">
        <header/>
        <body>
            <trans-unit id="fluidcontent.newContentWizard.group.common">
                <source>MY FANCY CONTENT!!asdasd!</source>
            </trans-unit>
        </body>
    </file>
</xliff>

So far, if you tried to put fluidcontent elements
into an existing new content wizard group like
"common", "special", etc it simply replaced
all existing content elements and the title as well.
This commit changes that behavior to extend
existing groups instead, use the default core
group translation, or use a localized translation
for the group name.
jmverges added a commit that referenced this pull request Nov 6, 2015
[FEATURE] Extend Wizard groups instead of replacing
@jmverges jmverges merged commit b203521 into development Nov 6, 2015
@mneuhaus mneuhaus deleted the feature/extend_wizard_groups branch November 6, 2015 16:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants