From 61be3cc729a06242bd54cb664f9edc666bb7494f Mon Sep 17 00:00:00 2001 From: mcoiffier Date: Tue, 25 Jun 2024 14:13:51 +0200 Subject: [PATCH] Fix documentation for excluding templates in Sulu 2.x (#809) --------- Co-authored-by: mcoiffier --- book/templates.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/book/templates.rst b/book/templates.rst index 92e07339..32e9b31c 100644 --- a/book/templates.rst +++ b/book/templates.rst @@ -40,11 +40,10 @@ The template of a page can be selected in the admin interface: .. figure:: ../img/templates-selection.png -.. Caution:: +.. note:: - A template is shown in the dropdown only if both the XML and the Twig file - exist! If you can't see your template, double-check the directories - ``config/templates/pages`` and ``templates/pages``. + If you don't want a template to appear in this list, use the ``excluded-templates`` node in the webspace configuration file. + Have a closer look at `Setup a Webspace `_ for more details. The name displayed in the dropdown is configured in the ```` section of the XML: