You are here: Home / What do you need? / Help and documentation / Plone Info

Plone Info

by Darrell Kingsley last modified Mar 13, 2014 12:31 PM
Old or removed or deleted portal tool or configlet causes problems on reinstall by Darrell Kingsley — last modified Mar 13, 2014 12:40 PM
When you have added a configlet (or possibly a tool) to a portal and then decided to remove the product or that you didn't need the configlet and so removed it from the product, this causes errors, particularly when you try to install or reinstall other products that contain configlets, as it looks for the configlet in some deep tool registry.
Fix blocky fonts in slideshow animations in Internet Explorer by Darrell Kingsley — last modified Mar 13, 2014 12:42 PM
Heading fonts in slideshows are horribly blocky in IE, and all text can be affected.
ValueError: corrupted record, oid by Darrell Kingsley — last modified Mar 13, 2014 12:42 PM
Symptom: a zeo server will not start. Checking log shows above error. Cause: Corrupt persistent zeo cache file.
Starting zeocluster in foreground by Darrell Kingsley — last modified Mar 13, 2014 12:43 PM
If something goes wrong with a zeocluster, you need to start it in the foreground so you can see what is going wrong
Missing or bad product in Plone by Darrell Kingsley — last modified Mar 13, 2014 12:44 PM
Strange things happen with CacheFu when you try to start a cluster with references to a missing product
How to add a ZCTextIndex to the catalog by Darrell Kingsley — last modified Mar 13, 2014 12:44 PM
You ought to be able to this via UML/AGX, but the method doesn't seem to work. Here's how it actually works, and what ought to happen with AGX
Enabling RSS feeds by Darrell Kingsley — last modified Mar 13, 2014 12:50 PM
In Plone 2.5x and 3.x, this is how to set up RSS
Traversal errors by Darrell Kingsley — last modified Mar 13, 2014 12:51 PM
Sometimes you get TraversalErrors in the error log, which don't appear to show up on the site. Here's why...
How to change document actions in a Plone site by Darrell Kingsley — last modified Mar 13, 2014 12:52 PM
You can change the code in the usual viewlet way, and change the items displayed and the text/link used via the ZMI
Stay logged in on a Plone site by Darrell Kingsley — last modified Mar 13, 2014 12:53 PM
The move from Plone 2.5 to 3.x meant you have to use a different way of allowing your site users to remain logged in.
Running Zope/Plone scripts from the command line by Darrell Kingsley — last modified Mar 13, 2014 12:53 PM
You need a whole special load of stuff to run Plone or Zope scripts for the command line. These centre around getting hold of the portal object from which everything else is available, setting a fake request object so you can traverse around the site and setting a user so you have permission to do whatever it is you want to do. Then at the end you have to commit your transaction and sync the zeoclients.
URL, portal and portal_url by Darrell Kingsley — last modified Mar 13, 2014 12:54 PM
Getting the portal URL, or a reference to the portal in a python script is easy
Viewlets, overriding and creating new ones by Darrell Kingsley — last modified Mar 13, 2014 02:22 PM
Some info which may be useful when they're really not playing ball.
Reference fields and widgets by Darrell Kingsley — last modified Mar 13, 2014 12:55 PM
With particular regard to ReferenceBrowserWidget, as that's the one we must often use
Missing images in portal_factory by Darrell Kingsley — last modified Mar 13, 2014 02:23 PM
Images in the browser images resource folder are called with ++resource++my.theme.images/image-name.png. This works perfectly except in portal_factory. Here's how to fix it.
Pin Plone product version in buildout by Darrell Kingsley — last modified Mar 13, 2014 12:56 PM
This is how you can create a buildout.cfg which gives you a repeatable Plone set-up with no unplanned upgrades.
Create new style portlets and override existing ones by Darrell Kingsley — last modified Mar 13, 2014 12:57 PM
New style Plone 3/Plone 4 portlets are more powerful and faster than Plone 2 style portlets, but adding news ones and overriding existing ones does look much more complex at first. But like everything Plone, once you've got the hang of it, it's really not too bad.
acl_users and portal_membership are out of sync by Darrell Kingsley — last modified Mar 13, 2014 12:59 PM
deleting members through the zmi acl_user PAS is not recommended as it can leave ghost entries behind
dynamic vocabularies, control panel configlets and plone.app.registry by Darrell Kingsley — last modified Mar 13, 2014 01:00 PM
Describes how to set up a configlet in site settings to allow managers to maintain persistent configuration data for products. Specific case deals with maintaining lists of values to provide dynamic vocabularies for selection drop-down (Choice) fields in the Member data schema.
Add Google Maps (or any other) iframe to page edited via TinyMCE by Darrell Kingsley — last modified Mar 13, 2014 01:01 PM
See my brilliant intervention on the Plone dev site (last comment - no. 5) for the solution.
Installing Varnish under P4 via buildout by Darrell Kingsley — last modified Mar 13, 2014 01:02 PM
Varnish won't install by default on our centOS servers, so here's what to do
URL encoding in a script for Plone by Darrell Kingsley — last modified Mar 13, 2014 01:03 PM
Sometimes you might need a bit of URL encoding in a python script, for example while writing an URL in a text email which is then auto-translated into a link by the mail client. It's not obvious how to do it, but it is easy.
The dreaded UnicodeDecodeError in a Plone script! by Darrell Kingsley — last modified Mar 13, 2014 01:03 PM
My all time favourite error.... not. Here's what is usually happening and how to avoid it.
Tips on how to make a Plone site faster by Darrell Kingsley — last modified Mar 13, 2014 01:04 PM
by Rafael Oliveira - Point to common and easy ways to make a Plone site faster.
Using portal_transforms by Darrell Kingsley — last modified Mar 13, 2014 01:04 PM
The portal transforms tool helps convert one type of content to another. Here are a few reminders about what to do.
Orderable reference fields by Darrell Kingsley — last modified Mar 13, 2014 01:05 PM
Reference fields are not orderable, but you can do something similar to get the same effect.
Plone form example with z3c.form by Darrell Kingsley — last modified Mar 13, 2014 01:05 PM
Theres a lot of misinformation on how to do this. Somethings work and somethings don't. Here's what worked for me using Plone 4.0.5.