@@ -11,19 +11,31 @@ administration interface. Sulu allows you to create pages and sub pages in
11
11
these trees and fill them with content. Have a closer look at
12
12
:doc: `templates ` for more details on the content management process.
13
13
14
- Normally you'll create a webspace for a new website, a landingpage or a portal,
14
+ Normally you'll create a webspace for a new website, a landing page or a portal,
15
15
that should run on your Sulu instance.
16
16
17
- The following file shows a configuration. These lines will be explained in the
17
+ To generate a blank webspace configuration file you can use the Symfony debug command:
18
+
19
+ .. code-block :: bash
20
+ bin/adminconsole config:dump-reference sulu_website --format xml
21
+
22
+ .. note ::
23
+ All of the webspace definition files are located under `config/webspaces ` and the default format is XML.
24
+
25
+ The following file shows an example configuration written in XML. These lines will be explained in the
18
26
following paragraphs.
19
27
20
28
.. code-block :: xml
21
29
22
30
<?xml version =" 1.0" encoding =" utf-8" ?>
23
- <webspace xmlns =" http://schemas.sulu.io/webspace/webspace"
24
- xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
25
- xsi : schemaLocation =" http://schemas.sulu.io/webspace/webspace http://schemas.sulu.io/webspace/webspace-1.1.xsd" >
26
-
31
+ <services : container xmlns =" http://example.org/schema/dic/sulu_website"
32
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
33
+ xmlns : services =" http://symfony.com/schema/dic/services"
34
+ xsi : schemaLocation =" http://symfony.com/schema/dic/services
35
+ https://symfony.com/schema/dic/services/services-1.0.xsd"
36
+ >
37
+ <config >
38
+ <webspace >
27
39
<name >Example</name >
28
40
<key >example</key >
29
41
@@ -98,6 +110,8 @@ following paragraphs.
98
110
</portal >
99
111
</portals >
100
112
</webspace >
113
+ </config >
114
+ </services : container >
101
115
102
116
.. note ::
103
117
0 commit comments