Install the add-on đĻ#
Plone Recycle Bin has two packages:
plone.recyclebinprovides storage, Classic UI, configuration, and the optional REST API.@plone/volto-recyclebinprovides the Volto management interface and requires Volto 19 or later.
Install both packages for a Volto site. Install only the backend package for a Classic UI site that does not need the REST API.
Install the backend đ#
Add
plone.recyclebinto the dependencies of your backend policy package. Keep the package constrained according to your project's release policy.From your project's root directory, install the project dependencies.
make installStart Plone.
make backend-startSign in as a site manager, open Site Setup â Add-ons, and install
plone.recyclebin.
For an automated deployment, apply the GenericSetup profile
plone.recyclebin:default when the site is created or upgraded.
Install the Volto add-on âī¸#
Add
@plone/volto-recyclebinto thedependenciesobject in thepackage.jsonof your frontend policy package, which is under the project'spackagesdirectory.Add
@plone/volto-recyclebinto that same policy package'saddonsarray.{ "addons": ["@plone/volto-recyclebin"], "dependencies": { "@plone/volto-recyclebin": "^1.0.0-alpha.0" } }
Merge these keys into the existing file; do not replace its other add-ons or dependencies.
From your project's root directory, install the project dependencies.
make installStart Volto.
make frontend-start
Verify the installation â #
Sign in as a manager.
Confirm that Recycle bin appears in the user menu.
Open Site Setup â Recycle bin and confirm that the settings form is available.
Delete a disposable test page, open Recycle bin, and restore the page.
If the Volto page reports that the recycle bin is unavailable, confirm that
plone.restapi is installed and that the backend profile was applied. The REST
services are registered only when plone.restapi is available.