Friday, September 08, 2006

New Plone 2.5 Site Creation

I am updating a site that I host for a hash (beer drinking/running) group I hang out with, and decided to keep better track of the things I needed to change to get the site more in line with the way I want it. Once I get this site set up I hope to set up a few more along the same lines. So here it is...

I installed all of this on a Fedora Core 3 system. I installed Python 2.4.3, Zope 2.9.4 and Plone 2.5. That mostly worked pretty smoothly and I didn't write down exactly what I did.

I installed PloneMultimediaBundle, Ploneboard-1.0-beta1 and CalendarX-0.6.6. It turns out I needed to install the Python Imaging Library to do the ATPhoto module of PloneMultimediaBundle so I installed PIL 1.1.5 (Imaging-1.1.5.tar.gz). Then it turns out that ATPhoto doesn't work for Plone 2.5 so I had to check out a special version from Subversion.

Tabs
Removed the tabs on the top bar:
  1. In ZMI went to 'portal_actions' and un-checked "visible" for the "Home" action.
  2. In Plone, went to 'site setup', 'Navigation Settings' and unchecked "Automatically generate tabs".
Breadcrumbs
Edited "/portal_skins/plone_templates/global_pathbar" to remove the whole thing.

Footer
Edited "/portal_skins/plone_templates/footer" to remove the whole thing.

Change "user" to "member"
Edited the following:
  • "/portal_skins/plone_forms/member_search_form"
  • "/portal_skins/plone_login/login_form"
  • "/portal_skins/plone_login/join_form"
  • "/portal_skins/plone_portlets/portlet_login"

Sort members case insensitive

Edited "/portal_skins/plone_forms/member_search_results" and changed calculation of results:
tal:define="results1 python:mtool.searchForMembers(request);
sort_on python:(('getUserName', 'nocase', 'asc'),);
results python:sequence.sort(results1, sort_on);
Batch python:modules['Products.CMFPlone'].Batch;
DateTime python:modules['DateTime'].DateTime;
b_size python:12;b_start python:0;b_start request/b_start | b_start;">

This page is powered by Blogger. Isn't yours?