You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`@kitconcept/volto-light-theme` is a Volto add-on.
12
15
It should be installed as any other add-on using the `dependencies` key in your project's add-on file {file}`packages/<name_of_your_project_addon>/package.json`.
You should also configure `@kitconcept/volto-light-theme` as a Volto add-on using the `addons` key in your project add-on file {file}`packages/<name_of_your_project_addon>/package.json`.
15
28
16
29
```json
@@ -23,18 +36,6 @@ You should also configure `@kitconcept/volto-light-theme` as a Volto add-on usin
23
36
],
24
37
```
25
38
26
-
Since `@kitconcept/volto-light-theme` is also a theme add-on, you should declare it in your project's {file}`volto.config.js`.
27
-
28
-
```js
29
-
constaddons= ['<name_of_your_project_addon>'];
30
-
consttheme='@kitconcept/volto-light-theme';
31
-
32
-
module.exports= {
33
-
addons,
34
-
theme,
35
-
};
36
-
```
37
-
38
39
```{versionadded} 18.29.1
39
40
```
40
41
```{versionadded} 19.0.0-alpha.10
@@ -60,7 +61,19 @@ The following snippet shows example configuration.
60
61
}
61
62
```
62
63
63
-
## VLT recommended add-ons
64
+
If you are in an older version of Volto, since `@kitconcept/volto-light-theme` is also a theme add-on, you should declare it in your project's {file}`volto.config.js``theme` key.
65
+
66
+
```js
67
+
constaddons= ['<name_of_your_project_addon>'];
68
+
consttheme='@kitconcept/volto-light-theme';
69
+
70
+
module.exports= {
71
+
addons,
72
+
theme,
73
+
};
74
+
```
75
+
76
+
### VLT recommended add-ons
64
77
65
78
`@kitconcept/volto-light-theme` supports all core blocks and it also supports blocks from selected Volto add-ons.
66
79
The recommended add-ons are listed in the {doc}`../reference/recommended-addons` section.
@@ -80,19 +93,20 @@ Nevertheless, you can choose to install only those you want to use.
@@ -131,3 +145,63 @@ Find the full list of the {doc}`../reference/recommended-addons`.
131
145
```{note}
132
146
If you don't want to use any of the recommended add-ons, then remove them and don't declare them as add-ons in your project, leaving only those that you want.
133
147
```
148
+
149
+
## Backend
150
+
151
+
VLT has a Plone backend add-on that is required to be installed in your Plone backend.
152
+
The backend add-on is called `kitconcept.voltolighttheme` you need to take these steps to install it:
153
+
154
+
1. Pull it as a dependency in your Plone backend add-on {file}`pyproject.toml`:
155
+
156
+
```toml
157
+
[project]
158
+
dependencies = [
159
+
<!-- Other deps here -->
160
+
"kitconcept.voltolighttheme = "^8.0.0"
161
+
]
162
+
```
163
+
164
+
2. Run `make install` in your Plone backend folder to install the dependency.
165
+
166
+
3a. Install it in your Plone backend site using the Add-ons control panel.
167
+
168
+
3b. or alternatively, if you have an existing site and do you want to install it programmatically using GenericSetup in `metadata.xml`:
If you want to add the VLT behaviors to your Plone site, you can follow the instructions in the {doc}`../conceptual-guides/site-customization` section.
207
+
They will allow you to customize the header, footer, and theme of your Plone site using easy knobs in the content type applied to (Plone site/Subsite).
0 commit comments