[opencms-dev] OAMP Calendar and ttevent

marcos binelli mlbinelli at gmail.com
Tue Jan 19 17:21:19 CET 2010


Hi again...l found the error

<layout element="ResType" widget="SelectorWidget"
configuration="alkacon-cal-entry:%(key.fileicon.alkacon-cal-entry)|alkacon-cal-serial:%(key.fileicon.alkacon-cal-serial)
*|ttevent:%(key.fileicon.ttevent)"* />

The calendar works fine.....

Thanks....

2010/1/19 marcos binelli <mlbinelli at gmail.com>

> Hi list,
>
> I use the *OAMP* *calendar* module integrated in the template TemplateTwo,
> and l follow the manual. l try to include ttevents in the calendar entryes,
> but dont work, the collector donĀ“t get the ttevents...
>
> l alter the event.xsd as follow:
> ...
>             <resourcebundle
> name="org.opencms.frontend.templatetwo.demo.workplace,*
> com.alkacon.opencms.calendar.workplace*"/>
>             <preview uri="${previewtempfile}" />
>             <mappings>
>                 <mapping element="Title"
> mapto="property:Title,property:calendar.Title" />
>                 <mapping element="EventDates/EventDate"
> mapto="property:collector.date" />
> *                <mapping element="EventDates/EventDate"
> mapto="property:calendar.startdate" />*
>                 <mapping element="EventDates/EventEndDate"
> mapto="property:calendar.enddate" />
>                 <mapping element="Availability/Release"
> mapto="attribute:datereleased" />
>                 <mapping element="Availability/Expiration"
> mapto="attribute:dateexpired" />
>                 <mapping element="Availability/Priority"
> mapto="property:collector.priority" />
>             </mappings>
> ...
>
> l alter the calendarviewresconf.xsd too:
> ...
>             <layouts>
>                 <layout element="ResType" widget="SelectorWidget"
> configuration="alkacon-cal-entry:%(key.fileicon.alkacon-cal-entry)|alkacon-cal-serial:%(key.fileicon.alkacon-cal-serial)|
> *ttevent:%(key.fileicon.event)*" />
>             </layouts>
> ...
>
> What do l do?
>
> Thanks
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20100119/27a5a713/attachment.htm>


More information about the opencms-dev mailing list