plone-4.x

Unable to run Plone site

别来无恙 提交于 2019-12-11 16:24:54
问题 I am using Plone for my site When i am trying to run following command it gets an error : Plone/zinstance $ bin/instance fg Traceback (most recent call last): File "/Plone/zinstance/parts/instance/bin/interpreter", line 297, in <module> exec(compile(__file__f.read(), __file__, "exec")) File "/Plone/buildout-cache/eggs/Zope2-2.13.22-py2.7.egg/Zope2/Startup/run.py", line 76, in <module> run(/Plone/buildout-cache/eggs/Zope2-2.13.22-py2.7.egg/Zope2/Startup/run.py", line 22, in run starter.prepare

How to transfer a structure from one Plone to another

假如想象 提交于 2019-12-11 11:25:37
问题 I have a Plone instance which contains some structures which I need to copy to a new Plone instance (but much more which should not be copied). Those structures are document trees ("books" of Archetypes folders and documents) which use resources (e.g. images and animations, by UID) outside those trees (in a separate structure which of course contains lots of resources not needed by the ones which need to be copied). I tried already to copy the whole data and delete the unneeded parts, but

My Archetypes-based content type can't be viewed

可紊 提交于 2019-12-11 06:09:13
问题 I have a little Plone extension which contains a simple Archetypes-based content type (the same which I had not been able to add TTW, see my previous question); the project setup is on GitHub. After adding an object, I get a KeyError: 'view' during execution of the plone.abovecontenttitle content provider: {'container': <MyType at /plone/test-for-new-types/a-mytype-object>, 'context': <MyType at /plone/test-for-new-types/a-mytype-object>, 'default': <object object at 0x7fc4f8ebe520>, 'here':

Where is the main space used up in Plone file upload?

懵懂的女人 提交于 2019-12-08 02:08:29
问题 In plone I have uploaded only 800 GB of data (mainly pdfs), it has occupied already 2 TB of hard disk space. Where exactly is the space being used up? I am using collective.documentviewer with its default settings. and plone 4.3. Are files stored by documentviewer changed to various image sizes ie Thumbnail, large image etc and stored in the blobstorage folder? 回答1: With collective.documentviewer, space is nearly doubled(or more) for every PDF. In order for collective.documentviewer to do

Where is the main space used up in Plone file upload?

折月煮酒 提交于 2019-12-06 05:54:34
In plone I have uploaded only 800 GB of data (mainly pdfs), it has occupied already 2 TB of hard disk space. Where exactly is the space being used up? I am using collective.documentviewer with its default settings. and plone 4.3. Are files stored by documentviewer changed to various image sizes ie Thumbnail, large image etc and stored in the blobstorage folder? With collective.documentviewer, space is nearly doubled(or more) for every PDF. In order for collective.documentviewer to do what it does, it converts each document into a series of images which are stored in addition to the original

Find requirement specs in a Plone buildout setup

爱⌒轻易说出口 提交于 2019-12-01 15:26:41
问题 I have a Plone site (something around 4.2.4, telling from a version.txt in the root directory) which I'd like to update to a recent version (I found this how-to) (as of now, 4.3.4 ); I have inherited a plethora of pinned versions which are not documented and might be outdated. When commenting out my versions.cfg , using http://dist.plone.org/release/4.3-latest/versions.cfg instead and re-running buildout with -vvv , I get: Develop: '.../src/collective.mathjax' in: '.../src/collective.mathjax'

Render rich text widget manually in plone custom page

試著忘記壹切 提交于 2019-12-01 12:34:57
I have a custom edit (browser page) for my dexterity content type. In template I have defined a form using Bootstrap and added some Angular JS code for form behavior. It is working. :) I need to replace a simple textarea with rich text widget. So how can I render in my template the rich text widget (one that is normally used in dexterity)? keul If you are using Mockup (not sure if anybody use it on Plone 4) you can find tips there: Obtaining the "default" mockup TinyMCE configuration on Plone 5 Otherwise (the Plone 4.3 version of TinyMCE) it's only a matter of CSS classes and configurations.