Questions tagged [plone]

Plone is a content management system (CMS) written in Python. Its strengths are in intranets, websites and document management. It has support for multilingual content and versioning.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
51 views

PLONE 4.3.18 transition to ssl enabled site creates problems with internal document/image selection in a page dexterity type

PLONE 4.3.18 transition to ssl enabled site creates problems with internal document/image selection in a page dexterity type. Hi, I have a multilingual site zelem.org.il in Plone 4.3.8 and wish to ...
Michael  P's user avatar
1 vote
0 answers
47 views

How to add view access to members in plone

We installed the FullCalendar plugin in Plone 6 and it works perfect for the admin account or when no-one is logged in the systems, but when members login they can only see a "+ and -" signs ...
Carlos Rivero's user avatar
4 votes
1 answer
127 views

Plone Error After Migration: KeyError('language',)

I have a Plone database compatible with version 3.2.2. I ran Plone version 4.3 in a docker image and upgraded (to 4.3). The migration completed successfully (or at least a message I got at the end ...
Efi Fogel's user avatar
  • 1,315
2 votes
3 answers
91 views

Exporting data from a .fs file. Plone 3.3.5

I just got a task saying "See what you can do with this". I have a 24GB Plone 3.3.5 folder containing a Data.fs file. No idea what to do with it. No relevant results. The Plone is 13 years ...
Marin HTML's user avatar
2 votes
1 answer
53 views

How do I create a plone and volto project

so, I'm participating on a interview and the goal is to create a simple component in plone/volto but I don't have any idea on how to do this... I know how to write the code but can't even get to do ...
David's user avatar
  • 21
1 vote
1 answer
161 views

Manually start plone 6 instance inside docker container

Based on example here I added entrypoint: sh -c 'tail -f /dev/null': version: "3" services: backend: image: plone/plone-backend:6.0 restart: always environment: ...
GhitaB's user avatar
  • 3,287
1 vote
0 answers
212 views

Plone 6 Volto generate app - Cannot find module 'is-ci'

This question is related to Plone 6, specifically when attempting to create a new Volto app. Following this documentation I am attempting to generate a new Volto project using Yeoman. I have the ...
Dan's user avatar
  • 958
0 votes
2 answers
869 views

Pressing Enter key on input field does not work as expected

I have a form that uses a calendar with an input field. For some reason when I press the Enter key while on the input field it doesn't submit the form. Instead the focus is moved onto the calendar ...
JThao's user avatar
  • 87
-2 votes
1 answer
88 views

Couldn't find index page for 'ploneconf.site' (maybe misspelled?)

Hi i am following the mastering plone6 training. On:https://training.plone.org/5/mastering-plone/index.html#mastering-plone-label I am trying to install plone on my computer and i am following these ...
halt32's user avatar
  • 1
0 votes
1 answer
71 views

Python Could not import class

After transfer zope2 app from ubuntu12 to centos7, i get some errors that indicate that the classes are not loaded. How to check if all required libs of python are imported? How to fix these errors: ...
Antanas Kaciusis's user avatar
1 vote
1 answer
69 views

Finding all views/namespace urls in a Zope3 system?

I have a Zope3 system with some custom code for a paperless office system. The developers have since folded up shop and I need to make some changes to what I believe are the contents of some ExtJS....
Mindflux's user avatar
  • 122
0 votes
2 answers
187 views

Is it possible to add a if condition inside tal:define?

I'm using python with Zope and I'm trying to create a variable with a if condition (if possible). I'm having a difficult time finding examples and resources online so I don't know if that's possible, ...
JThao's user avatar
  • 87
1 vote
1 answer
181 views

Buildout - Allow hosts for package download

I have a Plone 5.0.5 deployment and the need the package zc.zrs for ZODB replication. After adding the information to the buildout.cfg, I've added the URL https://pypi.org/simple on the index ...
Geovano LQ's user avatar
0 votes
3 answers
106 views

Modify or clean form input in zope or plone

So basically I'd like to try to clean/filter or sanitize an input form similar to other python web frameworks. Specifically I am trying to strip whitespace from the email address. I can do it in ...
Kevin Nasto's user avatar
3 votes
1 answer
74 views

Rename Dexterity object (id) after copy

It's simple to choose the object ID at creation time with INameChooser. But we also want to be able to choose the object ID after a clone (and avoid copy_of in object ID). We tried several different ...
Laurent Lasudry's user avatar
1 vote
2 answers
50 views

Get the item set as display

I have a container x, with a Link item y set as display. How can I access programmatically y if I know x? I tried: getattr(x, 'default_page', None), but it returns None all the time.
GhitaB's user avatar
  • 3,287
0 votes
1 answer
124 views

How compatible are psycopg and Plone 5 and what should one pay attention to?

I would like to use the Python library psycopg in a Plone 5 project to retrieve the triggers from the database (PostgreSQL 12). My first naive idea with psycopg in pure Python and psycopg 2 2.9.1: ...
ChsharpNewbie's user avatar
1 vote
0 answers
81 views

Build views in Plone only with Python?

Is there any way to write a view in Plone using only Python? I found a way for forms, but what else can you build for views ? Without tal expressions Link: https://docs.plone.org/4/en/develop/addons/...
ChsharpNewbie's user avatar
1 vote
3 answers
754 views

Error Buildout Plone 4.3.11 with python 2.7 in ubuntu 18.04

Does anyone know how I can fix this error that I get when I do a buildout? sudo -u plone_buildout bin/buildout this error appeared Develop: '/usr/local/Plone/zeocluster/src/bika.lims' warning: no ...
WebMobile Nailiapps's user avatar
1 vote
1 answer
123 views

command: "from plone import api " producing errors

I am running a Plone instance using the VM Virtual Box. After starting the instance, when I type the import command in the machine: "from plone import api", I get an error: from can't read /...
duaa fatima's user avatar
1 vote
0 answers
103 views

sphinx doesn't show any documentation (sphinx w/ plone)

i have 544 warnings like this . i try to dcument python(plone) code with sphinx 1.8.5 qoute WARNING: autodoc: failed to import module u'lims.workflow.worksheet' from module u'bika'; the following ...
Mohanad Waleed's user avatar
2 votes
1 answer
179 views

Getting error while running buildout for Setting Plumi and Zope Server on Linux using command "python3 bootstrap.py -c production.cfg"

I was installing Plumi for creating a production site. after installing plumi.app i faced below error whie running buildout using command : python3 bootstrap.py -c production.cfg Note:: Zope is ...
Saif's user avatar
  • 21
1 vote
1 answer
76 views

How do you import the plone.importexport add-on correctly in plone?

i am trying to install the add-on: plone.importexport, but i found this error: user@wppi94:~/Plone/zinstance$ bin/buildout Unused options for buildout: 'deprecation-warnings'. Installing instance. ...
speranza493's user avatar
0 votes
0 answers
88 views

Debug buildout with docker

I'm trying to fix my buildout. It seems there is a problem with a version of a package we use. In my Dockerfile I put COPY buildout.cfg /plone/instance/ RUN buildout -vvv -D in order to find more ...
GhitaB's user avatar
  • 3,287
0 votes
0 answers
50 views

Python can't find time module after I moved my application to different folder

I have a strange problem after I moved an application to a different folder. I copied all files inside the old folder to the new directory and then tried to restart the application. However when I do ...
Axel's user avatar
  • 1,417
1 vote
0 answers
100 views

Plone and nginx configuration does not return any apparent results

I'm trying to configure nginx to run with plone, but I'm not having success.I don't get any errors when testing nginx with "/etc/init.d/nginx configtest" after creating my mysite.conf file, ...
Danyelle Angelo.'s user avatar
2 votes
0 answers
67 views

Plone making second http request by itself

I got a plone 5 project where I work, and my HD just died. I had to reinstall in a new one, which is fine, and everything is working properly, except the fact that, looking at the log, I realized that ...
Máttheus Spoo's user avatar
1 vote
0 answers
44 views

Is it possible to run "@@solr-maintenance/reindex" script through terminal or cronjob?

I am using collective.solr with Plone and I can run different scripts like "reindex" through the browser. But I would like to create a cronjob and run it through the terminal. Question Is it ...
mashoodjr's user avatar
0 votes
1 answer
96 views

Plone does not checkout a development addon over SVN, buildout fails when applying develop.cfg - what am I doing wrong?

I intend to develop an add-on for Plone. From what I have gathered after reading the manuals, the best way to do so that is compatible with my development tools is by setting up a standalone SVN HTTP ...
RAKK's user avatar
  • 506
1 vote
2 answers
311 views

tal python expression with condition

<tal:block tal:repeat="image project/images"> <div tal:define="onlyone python:if repeat.image.length==1: return 'onlyone'" tal:attributes="class ...
Sandro Antonucci's user avatar
1 vote
2 answers
2k views

html checkbox with required attribute is validated(red) before submitting

I have this checkbox: <div> <input required type="checkbox" id="effectiveness" name="effectiveness"> <label for="effectiveness">...
Simon Rechermann's user avatar
0 votes
1 answer
96 views

How I load images in Plone 4.3 with Nginx

I follow this tutorial Plone Deplayoing Nginx and created config file in NGINX: add_header X-Content-Type-Options "nosniff"; #add_header Content-Security-Policy "default-src 'self'; img-...
Juliano Araújo's user avatar
1 vote
1 answer
56 views

Listing the title of created items in a choice field of another item in plone

I have a problem with my Plone item I cannot solve. 'Car' is supposed to create a list of all instances of 'Colour'. All 'Colour' instances are in a given container. I cannot make it static because I ...
Fynn Moritz's user avatar
1 vote
1 answer
79 views

Is it possible to automatically re-indexing of the Plone catalog regulary? [closed]

I want to re-index the Plone catalog automaticaly and on regular basis. What are the advantage and disadvatage of doing so?
mashoodjr's user avatar
1 vote
1 answer
68 views

TALES expression inside id property

I'm trying to make dynamically created checkboxes on a plone temaplate, using tal-repeat. Check the below code for details. <div tal:define="global pessoa python:view.dados_pessoa()" class="drop-...
Máttheus Spoo's user avatar
1 vote
1 answer
106 views

Where do I have to install Add-ons on Plone

I'm new on Plone, and I'm following Plone Training tutorial. I'm trying Plone with Docker image from here. But in step 13, extending with new components, I don't know surely where I have to install ...
Alberto Sanmartin Martinez's user avatar
0 votes
3 answers
178 views

Plone on Docker always starts from scratch

I'm trying to develope Plone project with Docker, i have used this official image of Plone 5.2.0, the images is built a run perfectly with: $ docker build -t plone-5.2.0-official-img . $ docker run -...
Alberto Sanmartin Martinez's user avatar
1 vote
1 answer
94 views

Get path as paramether on Plone view

Here is my problem. I'm building a view at plone 5.2, that will serve as a callback service for a outside authentication service. The problem is that the autentication service does NOT callbacks to ...
Máttheus Spoo's user avatar
0 votes
0 answers
143 views

How to restrict access to content to anonymous user in Plone-4?

On a Plone 4.3.18 install, how can I restrict access to some published content to only authenticated users? I need to create a section in the my site which content is visible only to authenticated ...
Fábio Roberto Teodoro's user avatar
2 votes
0 answers
149 views

Set Zope CookieCrumbler Cookie in Python Script

I know this is an old one to be asking about, but I am trying to figure out a way, through my python login script, to set the CookieCrumbler cookie(s) that are automatically sent to the user upon ...
kittonian's user avatar
  • 1,131
-1 votes
1 answer
133 views

create another exact copy of a zope instance running along with data

Hi guys I'm quite new to zope and I have a situation where I have to clone the whole zope instance running along with data. I have already tried copying Data.fs to new zope instance but it didn't work....
Sri Kiran Bhavaraju's user avatar
0 votes
2 answers
242 views

JavaScript Function not working but filters for <script> are removed

I am trying to use the function below to open an excel document on a specific sheet. When I used it on a standalone HTML document the function worked. The Plone filtering is enabled to allow <...
Ocheezy's user avatar
  • 121
1 vote
2 answers
119 views

Button not showing in Plone, onclick also not working

I am editing a plone page to open an Excel document on a specific sheet. I created two buttons to see if either would appear as actual buttons and use the JS function I reference. With this code the ...
Ocheezy's user avatar
  • 121
0 votes
1 answer
102 views

How to determine file sizes from Plone's ZMI script?

I have a ZMI script that walks the site recursively to a set depth and prints the URL of files I'm interested in (jpg, gif, png, pdf, etc) via obj.absolute_url(). I'd like to figure out the file size ...
a.boose's user avatar
  • 23
0 votes
1 answer
43 views

Schema Extender with IBrowserLayerAwareExtender applied to all Plone sites

I've got a product installed in one Plone Site, this product change the visibility of a field of the Event content type. It use IBrowserLayerAwareExtender to restrain the change to only the Plone ...
Jihaisse's user avatar
  • 977
0 votes
1 answer
1k views

Mixed Content problem for Plone behind Traefik reverse proxy

I just tried installing the Docker-based Plone, and it runs behind Traefik as a reverse proxy, but when I access it from a web browser, I get an error on the console like this: Mixed Content: The ...
Sofyan Thayf's user avatar
  • 1,322
1 vote
0 answers
68 views

Plone 4.3.7 zope user lost permissions in plone

I have a Plone 4.3.7 installed using UnifiedInstaller with LDAP plone.app.ldap-1.3.2-py2.7 a couple of yrs in each Plone Sites, I didn't nothing and now any user cannot create anything in Plone Site. ...
Juliano Araújo's user avatar
0 votes
1 answer
267 views

How can I configure vscode so that it recognize my buildout imports?

I'm new to Visual Studio Code, and I can't get pylint to stop throwing "unable to import" errors, or autocomplete to recognize my imports such as : from collective.transmogrifier.interfaces import ...
Leybi's user avatar
  • 1
1 vote
1 answer
141 views

On Plone 4.3.15, how to install latest Stripe's API

On Plone 4.3.15 (Universal installation), it is not possible to install stripe 2.32.1. See logs : Getting distribution for 'stripe==2.32.1'. /System/Library/Frameworks/Python.framework/Versions/2.7/...
Jihaisse's user avatar
  • 977
2 votes
1 answer
156 views

How can I compare two lists of NewsItem and subtract the same NewsItem?

My Plone is 4.x and Python 2.7. I create a Template, see the snippet: tal:define="path_list here/getPhysicalPath; path python:'/'.join(path_list); pathdepth ...
Juliano Araújo's user avatar

1
2 3 4 5
58