plone

Javascript with Apache 2 Proxy rewrite rules and Plone

大兔子大兔子 提交于 2019-12-12 00:53:34
问题 I have a Plone site behind and Apache2 Proxy server that has two web pages that uses a java script. That Plone site and Java Script functions correct with out that Apache 2 Proxy Server. Plone does function correctly with it's web Plone pages behind the proxy server. However the JavaScript is not working correctly with the Apache proxy servers. Please see below Apache access logs. I believe the reason has to with the Javascript try to post to the wrong location. If you look at the GET

How to migrate plone 4.2 from debian squeez to wheezy

谁说我不能喝 提交于 2019-12-11 19:18:09
问题 I have a plone 4.2 instance in debian squeeze. Now I am trying to migrate it to a new server running wheezy: copy the plone directory from squeeze to wheezy--> run 'plonectl start'. It fails and error is shown : can not find 'plone' user. What should I do to migrate it? Just to add user and group 'plone'? Will this affect plone_buildout and plone_group in plone 4.3? 回答1: You can nearly never move a large software package from one machine to another by simply copying the files. In this case,

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

Buildout can't find the links for the dependecies of Pypi Plone add-ons

一世执手 提交于 2019-12-11 15:14:19
问题 I'm trying to install some add-ons to Plone but buildout can't find the links for the dependencies. I have the following in my buildout.cnfg find-links += http://dist.plone.org/release/5.0.4 http://getpaid.googlecode.com/files/yoma.batching-0.2.2-getpaid.zip And index = https://pypi.python.org/simple/ eggs = Plone Pillow collective.addthis collective.cart.shopping Products.PloneGetPaid When I run bin/buildout I get Getting distribution for 'plone.recipe.zope2instance==4.4.0'. warning: no

Plone 4.2.4 shows incorrect local time/3.5 hours ahead

核能气质少年 提交于 2019-12-11 13:24:20
问题 A fresh plone 4.2.4 install (Unified installer for Linux) writes wrong time for all Plone/Zope events. My timezone is set to Asia/Jerusalem and the time is set to "local PC time". Plone is ahead of it for exactly 3.5 (three and half) hours. How can I fix this, and why this should happen at all? System is OpenSuse 12.2 回答1: Python can only give Zope the timezone as a three-letter abbreviation. For Asia/Jerusalem that is IST. Unfortunately, that same abbreviation is also used for India Standard

Authentication from multi source in Plone 4?

核能气质少年 提交于 2019-12-11 12:25:42
问题 How can I authenticate user from multiple source altogether ? For example local (ZODB or ldap), facebook and openid. Do I need to write a new PAS plugin ? Or We can achieve this the existed products ? 回答1: There's no need to do anything. The authentication is already done from all sources at the same time. For ex, if you configure the ldap plugin, Plone's local users can still do login. 来源: https://stackoverflow.com/questions/7552423/authentication-from-multi-source-in-plone-4

Changing workflow in multilingual site works only for one language

為{幸葍}努か 提交于 2019-12-11 12:09:21
问题 I have a fresh Plone-4.1.5-site with Linguaplone-4.1.1 installed, two languages selected and the front-page translated into the other language. When changing the workflow from simple_workflow to intranet_workflow via the controlpanel, and mapping old states to new ones, it occurs, that only objects of the current chosen language get the new mapping. Objects of the other language get the initial state of the new workflow. Is it possible to do the mapping programatically to overcome this? 回答1:

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

Plone 4 : How to create Multiple Plone Sites

放肆的年华 提交于 2019-12-11 11:09:37
问题 I am using Plone 4 and I need to add another Plone Site in my Zope Instance i.e. One Plone site for testing/development and the other Plone site for production. I already have one Plone site installed and wonder how to install the other in the same instance. I have followed the steps listed here but have not been successful. I am using buildout. Could anyone tell me how to go about it or if I'm doing something wrong. Thanks. EDIT: I am looking for a way that will result in a different Data.fs

Add new language in Plone

流过昼夜 提交于 2019-12-11 10:27:36
问题 How to add new language in Plone 4.2? I looked at the code on plone.i18n.locales.languages.py. The languages is hard coded inside the code. Anyway we can extend the language list without modified the core code. Any plug in, may be? Thanks. 回答1: Benefit from the advantages of opensource and contribute it right to the core. The i18n-team will be happy to help you further, just leave a post in the forum: http://plone.org/support/forums/i18n 来源: https://stackoverflow.com/questions/13944285/add