Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to exclude templates in webspaces #4861

Conversation

@danrot
Copy link
Member

danrot commented Oct 31, 2019

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Fixed tickets ---
Related issues/PRs ---
License MIT
Documentation PR sulu/sulu-docs#462

What's in this PR?

This PR allows to exclude certain templates in webspaces.

Why?

Because some templates might not be allowed in all webspaces.

Example Usage

<?xml version="1.0" encoding="utf-8"?>                                                                                                                                                                                                                                          
<webspace xmlns="http://schemas.sulu.io/webspace/webspace"                                                                                                                                                                                                                      
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"                                                                                                                                                                                                                 
          xsi:schemaLocation="http://schemas.sulu.io/webspace/webspace http://schemas.sulu.io/webspace/webspace-1.1.xsd">
    <!-- ... -->
    <excluded-templates>                                            
        <excluded-template>default</excluded-template>
    </excluded-templates>
    <!-- ... -->
</webspace>                                

To Do

  • Create a documentation PR
@danrot danrot force-pushed the danrot:feature/exclude-templates-in-webspaces branch from bce73ba to d2b6157 Oct 31, 2019
@wachterjohannes wachterjohannes merged commit 9496a8d into sulu:release/2.0 Oct 31, 2019
4 checks passed
4 checks passed
PrettyCI Code formatting
Details
ci/circleci Your tests passed on CircleCI!
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@danrot danrot deleted the danrot:feature/exclude-templates-in-webspaces branch Oct 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.