Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 1.66 KB

14_HtmlTagIntegrator.md

File metadata and controls

46 lines (37 loc) · 1.66 KB

HTML Tag Integrator

This integrator is not recommend but required, if you're going to integrate this bundle within a existing pimcore installation. It allows you to add raw html tags to your document head.

Configuration

Default Configuration

This is the most basic configuration you need to enable this integrator.

seo:
    meta_data_configuration:
        meta_data_integrator:
            enabled_integrator:
                -   integrator_name: html_tag

Extended Configuration

seo:
    meta_data_configuration:
        meta_data_integrator:
            enabled_integrator:
                -   integrator_name: html_tag
                    integrator_config:
                        presets_only_mode: false
                        presets:
                            -
                                label: 'Robots No-Index'
                                value: '<meta name="robots" content="noindex, nofollow">'
                                icon_class: 'pimcore_icon_stop'
                            -   label: 'Secret Meta-Link'
                                value: '<meta name="secret" content="secret-thing">'

presets

If defined, the user is able to add predefined presets. They can only be added and not edited!

image

image

presets_only_mode

If set to true, the user is not able to add custom tags but only presets: image