Skip to content

Missing details about adding a default theme to a webspace.xml #360

@abitofBaileys

Description

@abitofBaileys

The "Adding a theme" documentation tells you the following:

This will configure a default theme which can be enabled in the app/Resources/webspaces/.xml file by adding:
<theme>default</theme>

It does not specify the exact location (between localizations and default-templates).
Pasting the tag anywhere else in the xml results in Symfony throwing an exception:

XmlParsingException
[ERROR 1871] Element '{http://schemas.sulu.io/webspace/webspace}theme': This element is not expected.

So this can heavily confuse people.

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