I created a Plone 6 project using Cookiecutter Plone. How can I install and configure Products.PloneKeywordManager in this setup . What’s the recommended way to integrate it?
In the generated backend folder is a file setup.py
. There is a section 'install_requires- add there a line
"Products.PloneKeywordManager",`.
An alternative way is to append this dependency as Products.PloneKeywordManager
to requirements.txt
. Both works, I tend to use the first way.
I am not sure if there are additional steps for a Volto integration?
I followed your advice regarding adding Products.PloneKeywordManager
to the backend project. Here's what I did:
-
Added
"Products.PloneKeywordManager"
to theinstall_requires
section of thesetup.py
file in the backend folder. -
Also appended
Products.PloneKeywordManager
to therequirements.txt
file as an alternative. -
Ran
pip install -e .
after updatingsetup.py
. -
Installed dependencies from
requirements.txt
by runningpip install -r requirements.txt
. -
Restarted the backend server using
bin/instance fg
.
The server runs without any errors, and everything appears to load correctly. However, Keyword Manager does not appear in the Add-ons section of the Plone admin interface.
I’ve checked the logs, and there are no errors or warnings related to Products.PloneKeywordManager
. I also verified that the package is installed in my environment using pip show Products.PloneKeywordManager
.
Could you let me know if there are any additional steps I might be missing, or if this add-on requires specific configuration to appear in the Add-ons section?
Please try to add the line
<include package="Products.PloneKeywordManager" />
to the configure.zcml
file of the backend package.
add your add-on in the file backend/requirements.txt
add the add-on to zcml_package_includes in the file backend/instance.yaml
Actually i have installed the plone 6 using coockieplone, And after taking @stevepiercy advice I checked this documentation
and got the answer that I should add the line in backend/instance.yaml file
default_context:
zcml_package_includes: project_title, Products.PloneKeywordManager
and run the command make backend-build, after run command make backend-start and we will see the keywordManager in add-ons section.
yes you are correct i have successfully installed this plone add-on.
FTR, @kartikaydev1 created another post with the same issue but a different title at:
@kartikaydev1 please do not create multiple topics that are essentially the same thing. This was not the first time you have done this. Being impatient and reposting the same issue is not OK. It wastes everyone's time, and lowers your credibility and standing in the community. When you need support for a given issue, create one topic only, and add comments or edit your post to clarify or add new information. Thank you for your cooperation.