[CPS-users] Re: howto show an even in the calendar-widget

Lennart Regebro regebro at nuxeo.com
Thu Sep 14 20:08:41 CEST 2006


Marco wrote:
> Excuse me, but what portlet are you talking about? My problem is that I
> don't find a calendar portlet in the current version 3.4.2.

In CPSSharedCalendar 1.9.1 and later there is a calendar portlet for 
CPSSharedCalendar. As I understand it, you didn't want to use 
CPSSharedCalendar, but wanted to use the event documents based on 
CMFCalendar. In that case you need to use the CPSSkins Calendar Templet.

I haven't actually used this before half an hour ago, belive it or not. :)

Here are the steps I used to get this to work:

1. Install CMFCalendar by creating an external method:
    Module: CMFCalendar.Install
    Method: install

    (If you have CMFQuickInstaller you can use that instead).

2. Enable creation of EventDoc documents. Open portal_types ->
    Workspace, and ctrl-click on EventDoc in the "Allowed content types"
    box. This means you can no create Events in your workspaces.

3. Make sure the calendar tool knows EventDocs are events. Go to
    portal_calendar -> Configure and Select EventDoc in the portal_types
    list.

4. Click on "Manage Themes" to oopen the CPSSkins theme manager. Amongst
    the list of templet icons is one looking like a grid. This is the
    Calendar Templet. Drag the icon from the toolbar to where you want
    it.

5. Create an event in a workspace and publish it. Done!
    (If you want unpublished events to show up as well, that is also a
    portal_calendar tool setting).

Have fun!

-- 
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/


More information about the cps-users mailing list

This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.