Discussion:
[CalendarX-users] Installing CalendarX on Plone 4
Lupa Zurven
2010-09-03 15:31:15 UTC
Permalink
Hi Victor,
That's not a newbie/rookie error at all, you did exactly right. However,
there is not yet an egg for a Plone4-compatible release of CalendarX. I
hope that soon there will be... it's not that big of a job, near as I can
tell. There are two main things needed to change from the existing egg:
1. Change the default setting to use the standard Zope query functions
instead of Dieter's AdvancedQuery functions. AQ was standard issue with
Plone3 but has been removed from Plone4.
2. Refactor how the CSS and JS that CalendarX uses are registered with
Plone... the old way that worked since Plone2 does not work anymore.

Other than those changes, I believe that CalendarX will work just fine in
Plone4, from my preliminary look at things. I know how to do #1 (trivial),
but #2 is not yet clear to me. I got a version in Plone4 betaXX running
after changing #1, but CSS and JS were not being applied, so the calendar
doesn't look much like a calendar. But it seemed to be working other than
that. Yay!

Anybody out there on the CalendarX-users list want to help figure out how to
get #2 to work? I will be satisfied with a simple approach that makes a
basic CSS stylesheet get registered and applied to the calendar (and all its
view templates). The current CalendarX allows managers to modify CSS from
within the Manage tab interface, but this will very likely be deprecated and
disappear from the Plone4 version of CalendarX with the loss of DTML use in
CSS files. So all we need is to know how to register CSS and JS files for
this product with Plone4 when it loads up.

I would love to jump in with both feet, but (1) I am in the midst of a major
project release for my employer, and (2) my small farm is deep into organic
tomato harvest time, hence (3) I have nearly zero time for this at the
moment. Fortunately, there is a svn branch started for Plone4 compatibility
in the Collective, so feel free to jump right in and help get it done... and
please keep me in the loop on how and what you do in there. Keep us all
informed, via this user list please.

Thanks team,
+lupa+






On Fri, Sep 3, 2010 at 12:38 AM, Victor A. Abrahamsen <
Hi Lupa,
Please forgive the note: I'm a Plone newbie.
I'm putting together a site that's using the newly-released Plone 4 on a
Windows box.
I wanted to add calendaring features, and CalendarX looked like the way
to go.
############################################
# Eggs
# ----
# Add an indented line to the eggs section for any Python
# eggs or packages you wish to include.
#
eggs =
Plone
Products.CalendarX
(I didn't download the egg file - I only made that one line change to
buildout.cfg)
I ran bin/buildout from the Plone directory, and it looked like the
download did what it was supposed to, but when I go back to the Plone
site, I don't see CalendarX as one of the available or activated add-ons.
I'm sure I've made a rookie error someplace, but if you could point me
in the right direction, I'd be very grateful.
Thank you,
Victor
Loading...