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
Contributor

@danrot 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 feature/exclude-templates-in-webspaces branch from bce73ba to d2b6157 Compare October 31, 2019 10:07
@wachterjohannes wachterjohannes merged commit 9496a8d into sulu:release/2.0 Oct 31, 2019
@danrot danrot deleted the feature/exclude-templates-in-webspaces branch October 31, 2019 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants