[Zope-CMF] still having zpt-calendar skin problem
Steve Arnold
sarnold@arnolds.dhs.org
18 Mar 2002 11:41:46 -0800
On Mon, 2002-03-18 at 10:29, Andrew Sawyers wrote:
> Steve,
> This is most likely because the zpt_calendar skin wass not setup by default.
> I've made changes in the installation script in the CVSHead to setup the
> zpt_calendar skins by default now. You can grab the latest from cvs or you
> can just manually add the zpt_calendar skin to your skin path in the
> properties tab. Make sure you only add it to those skins which have zpt_*
> already in the skin path.
> Andrew
The zpt-calendar skin is already there (I think I have a less likely
problem). I have the following setup:
Zope-2.3.3-1
apache-1.3.22-1.7.1
In the Zope control panel:
CMF-1.2
(CMFCore, CMFDefault, CMFTopic)
CMFCalendar
CMFTracker
CMFWiki-0.1
DCWorkflow-0.4.2
ZPT-1.4.1
and a few other zope products like squishdot and photofolder, running on
redhat 7.1 (stock kernel).
I only have the default CMF skins installed (Basic-zpt, no css, and
Nouvelle) and only the Basic skin has any zpt stuff defined. It looks
like this:
Basic: custom, zpt_calendar, zpt_wiki, zpt_topic, zpt_content,
zpt_generic, zpt_control, wiki, topic, calendar, content, generic,
control, Images
No CSS: no_css, custom, wiki, topic, calendar, content, generic,
control, Images
Nouvelle: nouvelle, custom, wiki, topic, calendar, content, generic,
control, Images
Isn't this correct? Or am I missing something? Because of the changes
in the internal CMF directory structure, I'm not sure if I upgraded CMF
correctly (ie, I may have hosed something up in the process). Unless
you can tell me somewhere else to look, or some DTML or python method I
can tweak, I'm at a loss. Is there any hope for the clueless, or do I
have to re-install CMF (and nuke my existing portals)? :-(
Or maybe I screwed up the Calendar install - here's what I did:
I added the calendarDisplay folder to the root of my portal (this is a
new portal, created after the update to CMF-1.2). I ran the install
script, which created the calendar and zpt_calendar folders under the
portal_skins folder, and filled them with the graphics and event_view
files. I added the calendar, dateMunger, and monthRange scripts to the
calendarDisplay folder. I couldn't see anything until I added an
index_html file to this folder containing:
<dtml-with calendarDisplay>
<dtml-var calendar>
</dtml-with>
and then I modified the standard_topbar files (ie, making custom copies
in the custom folder) to add a calendar link to the navbar:
...
<a href="&dtml-portal_url;/recent_news">news</a>
<a href="&dtml-portal_url;/calendarDisplay">calendar</a>
<a href="&dtml-portal_url;/search_form">search</a>
...
The Calendar seems to display fine in the old (non-zpt) portal for all
skins. It also displays fine in the new portal with every skin except
for the zpt-based skin. So I guess I talked myself out of screwing up
the install of the calendar stuff, otherwise it probably wouldn't work
at all.
I could really some help here, since I have just the barest inkling of
how zope and CMF work in the first place. Please?
Thanks in advance, Steve