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.

Plone is free and open source content management system (CMS) written in Python. It is built on top of the Zope application server. Its strengths are in intranets, websites and document management. It has robust support for multilingual content, versioning and is easy to use.

The project has been actively developed since 2001, is available in more than 40 languages, and has the best security track record of any major CMS.

It is owned by the Plone Foundation, a not-for-profit organization that owns the code and trademarks.

Useful links:

2879 questions
63
votes
1 answer

ZCML allowed_attributes corresponding method in five.grok

Is there a way to mark methods traversable in grok.CodeView classes, like you can do with Zope 3 BrowserView and allowed_attributes ZCML configuration directive? I found docs about grok.traversable() but it looks like such method does not exist in…
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
59
votes
7 answers

how to get derived class name from base class

I have a base class Person and derived classes Manager and Employee. Now, what I would like to know is the object created is Manager or the Employee. The person is given as belows: from Project.CMFCore.utils import getToolByName schema =…
Sadiksha Gautam
  • 5,032
  • 6
  • 40
  • 71
38
votes
4 answers

Disable TinyMCE absolute to relative URL Conversions

Can anyone tell me how to get TinyMCE to stop converting my URLs to relative links in Plone? For example, if I enter this in the HTML source: it will convert it to:
jdeluca
  • 401
  • 1
  • 4
  • 3
37
votes
6 answers

Dump stacktraces of all active Threads

I'm trying to dump a list of all active threads including the current stack of each. I can get a list of all threads using threading.enumerate(), but i can't figure out a way to get to the stack from there. Background: A Zope/Plone app freaks out…
Chriss
  • 373
  • 1
  • 3
  • 5
28
votes
1 answer

Can Plone search be configured to see portlet content?

I just now realized that Plone search doesn't "see" content that is in portlets, after adding about a million static text portlets to a new website. Is there anyway it can be configured to access that content also? Test example, search for "Gwynn"…
feesh
  • 1,248
  • 8
  • 14
26
votes
12 answers

How do you grep through code that lives in many different directories?

I'm working on a Python program that makes heavy use of eggs (Plone). That means there are 198 directories full of Python code I might want to search through while debugging. Is there a good way to search only the .py files in only those…
joeforker
  • 40,459
  • 37
  • 151
  • 246
22
votes
3 answers

Is Plone doing enough to keep up with other CMSes?

I do Drupal for a living and I like the system. However I've always been intrigued by Plone and wanted to learn it well to broad base my knowledge of CMSes in general. I've played around with Plone in the past and was both mesmerized and repulsed by…
Sid Kshatriya
  • 4,965
  • 3
  • 25
  • 29
20
votes
5 answers

Normalizing unicode text to filenames, etc. in Python

Are there any standalonenish solutions for normalizing international unicode text to safe ids and filenames in Python? E.g. turn My International Text: åäö to my-international-text-aao plone.i18n does really good job, but unfortunately it depends on…
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
17
votes
7 answers

What is the suggested way to cron-automate ZODB packs for a production Plone instance?

Looking at plone.org to find a way to periodically pack my instance's ZODB I could only find http://plone.org/documentation/faq/how-do-i-pack-the-zodb that doesn't talk about automated packs, but just manually initiated ones. I know I can simulate…
silviot
  • 4,615
  • 5
  • 38
  • 51
16
votes
2 answers

Using git for a project with many, many repos

The Plone project consists of 192 different repos: https://github.com/plone/ During development, sometimes 2 or 4 or 10 different repos will need to be touched to fix a bug or implement a feature. It would be great if all these could be branched…
Jean Jordaan
  • 626
  • 8
  • 24
14
votes
4 answers

User-friendly error pages from Varnish

We are using Varnish at the front of Plone. In the case Plone goes down or serves an internal error we'd like to show a user-friendly static HTML page which some CSS styling + images. ("The server is being updated page") How to configure Varnish to…
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
14
votes
7 answers

How do I use easy_install and buildout when pypi is down?

I am using buildout to automatically download and setup the many dependencies of my Plone installation. buildout more or less uses easy_install to download and install a bunch of Python eggs. This usually works, but it doesn't work if any of the…
joeforker
  • 40,459
  • 37
  • 151
  • 246
13
votes
8 answers

What could justify the complexity of Plone?

Plone is very complex. Zope2, Zope3, Five, ZCML, ZODB, ZEO, a whole bunch of acronyms and abbreviations. It's hard to begin and the current state seems to be undecided. It is mainly based on Zope2, but incorporates Zope3 via Five. And there are XML…
stesch
  • 7,202
  • 6
  • 47
  • 62
12
votes
3 answers

Django vs. Grok / Zope3 vs. Pylons

I am a computer programmer by training but have been away from web development for a while. I am doing a little bit of background research on various Python web development frameworks. I understand that Django, Grok / Zope 3, and Pylons are all…
John Gu
  • 123
  • 1
  • 4
12
votes
2 answers

How do you get and set cookies in Zope and Plone?

Documentation, and more importantly, some code examples would be very useful. I would prefer this to not be in protected scripts, but in the code that goes into modern packages.
pydanny
  • 7,954
  • 6
  • 34
  • 42
1
2 3
99 100