Skip to content

Contao Marketing Suite & Contao Boostrap #27

@arboc

Description

@arboc

In Contao Module Layout all changes taken by Bootstrap Core in combination with Bootstrap Layout are reverted when I also install the Contao Marketing Suite.

I am using Contao 5.3 and the newest Bundles for the Marketing Suite and Contao Bootstrap.

I found, that in ContaoBootstrap\Core\Listener\Dca\LayoutDcaListener the Environment is loosing its context.
So I added the following code to the Environment constructor:

        if ($this->context === null) {
            $context = ApplicationContext::create();
            $this->switchContext($context);
        }

and it works.

I guess, this is only a work around and you have to do some deeper checks.

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