Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Subpage configuration is used instead of Page configuration with fluidpages 3.6.0 #322

@kitzberger

Description

@kitzberger

We've got a similar situation like in #239 but with inheritance of variables instead of fields.

Here's our templates. I stripped the parts that I thought were irrelevant.

Template of current page:

    <f:section name="Configuration">
        <flux:form id="topicpage">
            <flux:grid>
                <flux:grid.row>
                    <flux:grid.column colPos="0" name="colPos0">
                        <flux:form.variable name="deniedContentTypes" value="teaser_item, slider_item" />
                        <flux:form.variable name="Fluidcontent" value="{deniedContentTypes: 'Vendor.extension_name:SliderContainer.html'}" />
                    </flux:grid.column>
                </flux:grid.row>

Template of all subpages:

    <f:section name="Configuration">
        <flux:form id="contentpage">
            <flux:grid>
                <flux:grid.row>
                    <flux:grid.column colPos="0" name="colPos0">
                        <flux:form.variable name="deniedContentTypes" value="teaser_item, slider_item" />
                        <flux:form.variable name="Fluidcontent" value="{deniedContentTypes: 'Vendor.extension_name:TeaserContainer.html, Vendor.extension_name:SliderContainer.html'}" />
                    </flux:grid.column>
                </flux:grid.row>

On the current page it is not possible to choose the "TeaserContainer" type from the content element wizard since it's not listed there at all. It's possible though to just create any other type and then alter the type to "TeaserContainer" since all types are listed in the "tx_fed_fcefile" dropdown when editing a content element, regardless of any deniedContentTypes statements in any of the used templates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions