Skip to content
This repository was archived by the owner on Dec 18, 2020. It is now read-only.

Cannot add my own custom theme #794

Open
@sjoerdmaessen

Description

@sjoerdmaessen

| Bug? | yes
| Sulu Version | 1.4

Actual Behavior

After following the documentatie on how to add a theme:
http://docs.sulu.io/en/latest/book/themes.html

I get a XML parse error:
InvalidWebspaceException in XmlFileLoader10.php line 148:
Could not parse webspace XML file "/vagrant/website/app/Resources/webspaces/myownsite.com.xml"

Expected Behavior

No parse error but the ability to see my custom theme as an active theme

Steps to Reproduce

Download and install the latest edition of SULU, install the following bundles according the documentation:

  • sulu theme bundle
  • liip theme bundle
  • assetic-bundle (this was not mentioned anywhere but without I couldn't initialise the config like in the documentation example)

Create a custom theme folder in src/WebsiteBundle/Resources/themes/nameoftheme

Try to register the theme by editing the webspace XML file, myownsite.com.xml in my case for testing purposes. Now refresh the browser to see the parse error.

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