Questions tagged [zope]

Zope is an open source application server written in the Python programming language. It features a transactional object database (ZODB) which can store not only content and custom data, but also dynamic HTML templates, scripts, a search engine, and relational database (RDBMS) connections and code. It features a strong through-the-web development model, allowing you to update your web site from anywhere made possible by a tightly integrated security model.

It features a transactional object database () which can store not only content and custom data, but also dynamic HTML templates, scripts, a search engine, and relational database (RDBMS) connections and code.

It features a strong through-the-web development model, allowing you to update your web site from anywhere made possible by a tightly integrated security model.

Zope has been around for a long time; it saw it's first release in 1998. It was long regarded as the "killer app" of python, and many ideas and libraries that are now part of the Python core stem from Zope.

736 questions
0
votes
3 answers

User produced site content, potentially massive dataset - Zope/Plone or Django?

I am looking to produce a site similar to a venue "What's on" site. The plan is that the venues can register an account to the site and then through their own 'admin' section upload/post all their latest events that are on. I am hoping that very…
RemoteCTO
  • 818
  • 8
  • 21
0
votes
1 answer

How to clone a Plone portal?

I wonder what is the most efficient and functional way to clone a Plone portal (on the same server). Both copy & paste, and export & rename & import methods in ZMI don't work.
mykhal
  • 19,175
  • 11
  • 72
  • 80
0
votes
1 answer

Customization of atreal.richfile.preview in plone

W.r.t Customization of atreal.richfile.preview in plone, for file preview, there is a template called viewlet.pt, it contains a TAL statement which displays the controls to activate/update, refresh and collapse the Actions menu: . The full code…
user956424
  • 1,611
  • 2
  • 37
  • 67
0
votes
0 answers

How to proxy a web service, yielding utf-8-encoded xml, via a plone browser

I have a Plone 3.3 site which retrieves information from a RESTful web service; the service returns utf-8-encoded xml data. The requests are sent via a special browser (let's call it @@proxy for this question). Everything is working fine as long as…
Tobias
  • 2,481
  • 3
  • 26
  • 38
0
votes
0 answers

How to handle errors in Zope page templates

I'm looking for a good way to handle errors in Zope's page templates. What I already know is:
This text will be replaced in case of errors
or
Tobias
  • 2,481
  • 3
  • 26
  • 38
0
votes
1 answer

Reading recent log entries in zope server

How can I fetch recent log entries(errors) on python script in zope application server. I noticed a getLogEntries() method, but don't know how to use it. Please help. I tried running the following code. from zope.error.error import…
Quicksilver
  • 2,546
  • 3
  • 23
  • 37
0
votes
2 answers

Python: Zope's BTree OOSet, IISet, etc... Effective for this requirement?

I asked another question: https://stackoverflow.com/questions/1180240/best-way-to-sort-1m-records-in-python where I was trying to determine the best approach for sorting 1 million records. In my case I need to be able to add additional items to…
sberry
  • 128,281
  • 18
  • 138
  • 165
0
votes
1 answer

Zope sendmail check if email was sent

Is there any way in which, by using zope.sendmail with DirectMailDelivery, after executing send() action, to retrieve a response or a status to see whether the email was sent or not?
bogtan
  • 825
  • 2
  • 13
  • 23
0
votes
1 answer

how to write python code in the zope page template

I am very new to Zope and Plone. I am trying to write python code in the index_html page. I have the list of objects of type person, now I want to reorder them. So, what I had before was:
0
votes
2 answers

Importing ping module in RestrictedPython script in Plone

I would like to check internet connexion from my plone site. I tried a ping in a python script ## Script (Python) "pwreset_action.cpy" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind…
user1499220
  • 419
  • 4
  • 12
  • 23
0
votes
1 answer

ClassSecurityInfo.declarePrivate() etc. as Python decorators

Does declarePrivate() et. al. Zope 2 style access control declarations have any modern Python syntax method decorator? E.g. class EncryptedField(StringField): """ """ security = ClassSecurityInfo() # Something more nice here? like…
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
0
votes
1 answer

Loading of initial data before tests in Zope 3

How can I fill database with test data in Zope 3 project? I want this data to be loaded before any tests began (doctest, unit test...), I don't want to load it manually in SetUp methods...Thanks!
Gleb
  • 731
  • 1
  • 8
  • 14
0
votes
1 answer

plone change in code not visible in development site

I am very new to plone. I have a project folder in eclipse. I have imported it from the cvs project. I have zope as server and I start zope with ./bin/instance restart. When I make changes in my folder, I cannot see the changes in the development…
Sadiksha Gautam
  • 5,032
  • 6
  • 40
  • 71
0
votes
1 answer

Streaming a xls file in zope

I'm having troubles using zope. I just need to serve to the client a xls file created with python xlwt module but I don't find the way to do that. In my .pt file I have a button that calls a .py function, this function creates correctly the file,…
0
votes
2 answers

Plone issue with versioning - Object's versions lost on cut and paste

Plone 2.5.1 Zope 2.9.5 CMFEditions 1.0rc1 If you create a page in a folder at plonesite root and create a new version of it, once you cut and paste that page to a new location the version will be lost. I've tested this on zope 2.10 and Plone 3.0 and…
mark
  • 125
  • 1
  • 1
  • 6