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
This is for the PLIP that I have just merged:
plone/Products.CMFPlone#3958
I changed the existing section title from "Discussion is disabled by default" to "Discussion is a core add-on".
Discussion was always disabled by default, so this would not be a change.
Note that the Discussion control panel is still missing from Volto: plone/volto#29
But the upgrade to 6.1 does not change anything to this.
Copy file name to clipboardexpand all lines: docs/backend/upgrading/version-specific-migration/upgrade-to-61.md
+17-5
Original file line number
Diff line number
Diff line change
@@ -90,17 +90,29 @@ The goal of turning more of the current core packages into core add-ons is to ma
90
90
91
91
(backend-upgrade-plone-v61-discussion-label)=
92
92
93
-
## Discussion is disabled by default
93
+
94
+
## Discussion is a core add-on
94
95
95
96
Discussion is a feature that allows your site visitors to comment on web pages for any content object.
97
+
The code behind this is in the `plone.app.discussion` package.
98
+
In Plone 6.0 and earlier, this was a dependency of `Products.CMFPlone`, making it available for installation in all Plone sites.
99
+
In Plone 6.1 it's a dependency of the `Plone` package.
100
+
96
101
Discussion is disabled by default in Plone 6.1 and later.
97
102
To enable discussion, you need to perform the following tasks.
98
103
99
-
% Please add sufficient details for how to do this task, then delete this comment.
100
-
% Also consider that there might be different approaches between Classic UI and Volto that need to be mentioned.
101
-
102
104
1. In your Python {file}`requirements.txt` or {file}`pyproject.toml` file, add the core add-on `plone.app.discussion` to your dependencies.
103
105
1. Run pip to install `plone.app.discussion`.
104
106
1. Restart the Plone backend to load `plone.app.discussion`.
105
-
1. Enable the {guilabel}`Discussion` add-on in the Plone control panel under {menuselection}`Site Setup --> General`.
107
+
1. Enable the {guilabel}`Discussion Support` add-on in the {guilabel}`Add-ons` control panel under {menuselection}`Site Setup --> General`.
108
+
1. If you use Plone Classic UI, you can then use the {guilabel}`Discussion` control panel to further configure this feature, for example for enabling comment moderation.
106
109
1. 🍻
110
+
111
+
If you have an existing Plone 5.2 or 6.0 site and you migrate to 6.1, then migration code handles the change:
112
+
113
+
* If the `plone.app.discussion` Python package is in your setup, the migration does nothing: existing discussion configuration and comments remain unchanged.
114
+
* If the `plone.app.discussion` Python package is _not_ in your setup, and the site has no existing comments (discussions), then the migration code removes the Discussion configuration from your site.
115
+
Apparently you were _not_ using comments in your site, so the configuration is no longer needed.
116
+
* If the `plone.app.discussion` Python package is _not_ in your setup, but the site has existing comments (discussions), then the migration code stops with an error.
117
+
Apparently you _were_ using comments in your site.
118
+
Easiest solution here is to add the `plone.app.discussion` package to your dependencies.
0 commit comments