0

in sulu 1.6 it was possible to limit the available page types per webspace via a workaround by limiting the theme tenplate files

Now after the migration to 2.0 They are all showing up:

enter image description here

The workaround is still in place, by only providing the templates for certain themes:

enter image description here

Is there a different way to filter out Available Page Types in Sulu 2?

Andreas
  • 1,691
  • 1
  • 15
  • 34

1 Answers1

1

This mechanism changed in Sulu 2.0. It was very confusing to newcomers, that their new template didn't show up in this list, when they forgot to add the twig template in the correct way (also there was no clue about what was wrong).

So we decided to make this behavior more explicit, and now there is the excluded-templates tag, which allows you to do that in a very explicit way.

Daniel Rotter
  • 1,998
  • 2
  • 16
  • 33