Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Add custom page layout selector #2178

Merged

Commits on Sep 16, 2024

  1. [FEATURE] Add custom page layout selector

    Note: Not available on TYPO3v10.
    
    Adds a replacement page layout selector which can be
    enabled instead of the default TCA "select" type.
    
    The page layout selector is enabled in extension
    configuration and can be configured through TCA
    overrides (in Configuration/TCA/Overrides/pages.php
    of an extension that depends on Flux):
    
    ```
    // For both tx_fed_page_controller_action and tx_fed_page_controller_action_sub
    // and can be configured individually, e.g. to make sub-layout icons smaller
    // or only render titles/descriptions for "this page" layouts.
    
    $GLOBALS['TCA']['pages']['columns']['tx_fed_page_controller_action']['config']['iconHeight'] = 200;
    $GLOBALS['TCA']['pages']['columns']['tx_fed_page_controller_action']['config']['titles'] = true;
    $GLOBALS['TCA']['pages']['columns']['tx_fed_page_controller_action']['config']['descriptions'] = true;
    ```
    NamelessCoder committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    602b720 View commit details
    Browse the repository at this point in the history