Skip to content

v5.0.0

Latest
Compare
Choose a tag to compare
@solverat solverat released this 28 Sep 12:04
· 7 commits to master since this release

Pimcore 11 Support

see https://github.com/dachcom-digital/pimcore-toolbox/blob/master/UPGRADE.md

New Features

Global Changes

  • Recommended folder structure by symfony adopted
  • All folders and sub-folders in views are lowercase/underscore now (areas/accordion/accordion_tab, areas/google_map, areas/iframe, areas/link_list, areas/parallax_container, areas/parallax_container_section, areas/parallax_container_section, areas/slide_columns)
  • All snippet views are underscore now (snippet_layout.html.twig, snippet/teaser_default, snippet/layout/teaser_layout) - check your views for includes!
  • All views are lowercase/underscore now (areas/video/type_, areas/google_map/info_window, parallax_container/partial/, parallax_container/wrapper/container_wrapper)
  • dynamiclink feature has finally been removed! If you're still using it, stay on v4 and migrate first

WYSIWYG Config Changes

  • CK Editor support has been removed from PIMCORE. Toolbox currently only supports the new TinyMCE Editor. Read more about it here
    • Config node toolbox.ckeditor changed to toolbox.wysiwyg_editor
    • Config node global_style_sets has been removed (will be set via wysiwyg_editor.config)
    • Twig Helper toolbox_get_wysiwyg_config_path() has been removed (will be added globally via edit mode js file injection)

Areas Restriction Changes

  • areas_appearance has been renamed to areablock_restriction, snippet_areas_appearance has been renamed to snippet_areablock_restriction.

Editable Changes

  • custom_areas has been removed. Please add your custom areas to the default areas node.

Editables States

Pimcore removed the extension manager, so it is not possible to enabled/disable them via pimcore anymore.
Therefor we removed all toolbox core editables by default, you need to enable every single one of them:

toolbox:
    enabled_core_areas:
        - accordion
        - anchor
        - columns
        - container
        - content
        - download
        - gallery
        - googleMap
        - headline
        - iFrame
        - image
        - linkList
        - parallaxContainer
        - parallaxContainerSection
        - separator
        - slideColumns
        - snippet
        - spacer
        - teaser
        - video

You need to change the global state via configuration now:

toolbox:
    areas:
        accordion:
            enabled: false

If you want to disable any area from third party bundles (for example the members brick) just use their brick id to disable them:

    areas:
        members_login:
            enabled: false

Theme

The default theme section will be loaded, only if no toolbox.theme.layout has been defined.
If you're using the Bootstrap4 layout, and it's explicitly configured in your project, you need to adopt the config from toolbox core config/theme/bootstrap4_theme.yaml
You also must configure toolbox.calculators.* explicitly, if you're using custom layout frameworks.