plone

Open source simple CRM database / Social Network site that

Does anyone know of a simple social network type of site that can be easily customised? It should suck, but in the sense the blosxom sucks in this article: http://www.plover.com/blog/oops/blosxom-sux.html I.e. take the "Worse-is-Better" approach, and try to cover most of the main features, more or less, while keeping the implementation...

What is the best way to store big files in Plone 3?

I want to serve a lot of big files in a Plone site. By big files I mean around 5MB (music) and a lot of them. I've already do it straight to the ZODB, not a good idea. I'm running Plone 3.1.1 and Zope 2.10.6. ...

What's the best way to add tags to the head in Plone?

I want to add the link tags to redirect my web-site to my OpenID provider. These tags should go in the head element. What's the best way to add them in Plone? I understand that filling the head_slot is a way to do it, but that can only happen when you are adding a template to the page and that template is being rendered. In my case I'm ...

How do you programmatically reorder children of an ATFolder subclass?

I have Plone product that uses a custom folder type for containing a set of custom content objects. The folder type was created by subclassing BaseFolder and it has a schema with a couple of text fields. Currently, when custom objects are added to the custom folder, the objects are sorted alphabetically by their id. How can I override...

How do I search for unpublished Plone content in an IPython debug shell?

I like to use IPython's zope profile to inspect my Plone instance, but a few annoying permissions differences come up compared to inserting a breakpoint and hitting it with the admin user. For example, I would like to iterate over the content objects in an unpublished testing folder. This query will return no results in the shell, but w...

How to include output of PHP script in Python driven Plone site?

I need to have the output of a PHP snippet in a Plone site. It was delivered to be a small library that has a display() function, in PHP, that outputs a line of text. But I need to put it in a Plone site. Do you have any recommendations? I was thinking a long the lines of having a display.php that just runs display() and from the Plone ...

Django versus Plone?

I plan to read about Django. Should I go with Django or Plone? What makes Django/Plone better than the other? Edit: From a comment below: I just wanted to know a framework for developing web applications. ...

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 config files everywhere. Does the steep learning curve pay of? Is this complexity still ...

Split HTML after N words in python

Is there any way to split a long string of HTML after N words? Obviously I could use: ' '.join(foo.split(' ')[:n]) to get the first n words of a plain text string, but that might split in the middle of an html tag, and won't produce valid html because it won't close the tags that have been opened. I need to do this in a zope / plone ...

What is the correct way to backup ZODB blobs?

I am using plone.app.blob to store large ZODB objects in a blobstorage directory. This reduces size pressure on Data.fs but I have not been able to find any advice on backing up this data. I am already backing up Data.fs by pointing a network backup tool at a directory of repozo backups. Should I simply point that tool at the blobstorag...

What is the best way to clear Plone's CSS cache?

I am using Plone and CacheFu behind an Apache caching reverse proxy. Plone combines multiple CSS files into one file such as name-of-css-file-cachekey1234.css where 1234 is a random number, and it may take an hour for CSS changes made on the filesystem to show up on the site. How can I see those changes sooner without slowing down my sit...

How would you determine where each property and method of a Python class is defined?

Given an instance of some class in Python, it would be useful to be able to determine which line of source code defined each method and property (e.g. to implement [1]). For example, given a module ab.py class A(object): z = 1 q = 2 def y(self): pass def x(self): pass class B(A): q = 4 def x(self): pass def ...

Examples of large scale Open Source CMS deployments?

I am trying to evaluate Open Source options to replace my current CMS based publication application. My current CMS has about 12000 HTML pages and about 100000 uploaded files. The size of the data is about 20 Gigabytes. Drupal, Joomla and Plone seem interesting. However, I am concerned if these are ready to take on all this data. Do you ...

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 dependencies cannot be downloaded or if I want buildout to find an internal package not appro...

Customising Plone 3 sharing tab

Where do the titles "Can add", "Can edit", "Can view" and "Can review" come from in the plone 3 sharing tag? What is the difference between "Can view" and "Can review"? ...

How do I check if it's the homepage in a Plone website using ZPT?

I want to change my website's header only it if's not the homepage. Is there a tal:condition expression for that? I've been reading this and can't find what I'm looking for... thanks! ...

301 redirect in Plone CMS (Zope)

Hi! I'm running a website hosted on Apache and Plone (based on Zope). My problem is that i have duplicate content with following urls: www.site.com www.site.nl/en www.site.com/nl and so on, every page shows the same content. Google Webmaster Tools also reports sites in the following format to be duplicate: www.site.nl/news www.site....

Plone 3.2.1 on Fedora 10 with Active Directory Authentication

I have gone through tons of documents over the internet in enabling Active Directory Authentication for Plone 3 using LDAPMultiplugins, PlonePAS etc., but none of them are working for me. Is there any one who has successfully done this? Even if this has accomplished on Windows, it is ok! ...

Does anyone know about workflow frameworks/libraries in Python?

I'm searching for a workflow library/framework for Python. I'm astonished that there I cannot find anything which is simple and not attached to Zope/Plone. Does anyone know of an open-source, simple workflow library/framework. It's preferred to support Django, but not required. ...

I have uninstalled Plone, but it's home page keeps showing up at http://localhost:8080/

I have uninstalled Plone, but it's home page keeps showing up at http://localhost:8080/ That is, when I go to http://localhost:8080/ I see: Plone Zope & Plone are now up and running. * Your Plone site has not been added yet: Click here to create a Plone site. * Use the Zope Management Interface. * Plone.Org — documentation, add-ons, ...