[opencms-dev] Calendar module - template integration problem
aruc97 at virgilio.it
aruc97 at virgilio.it
Wed Jul 16 09:02:53 CEST 2008
Hi all,
thanks to Andreas Zahner,
i have sucessfully set correct value
as he
suggested, and now the test_calendar.html page works fine and
requesting the page directly inside browser responds very fast (normal
behaviour expected).
now i have to integrate calendar-side-month.jsp
inside my custom .jsp template
located into:
/system/modules/mysite.
modules.templates/templates/mytemplate.jsp
as read into .pdf manual, i
have used the following instructions code inside mytemplate.jsp:
<cms:
include file="/system/modules/com.alkacon.opencms.
calendar/elements/calendar-side-month.jsp"></cms:include>
and set
calendar.uri property of mytemplate.jsp to:
"/sites/mysite/test_calendar.html"
....
requesting homepage(tha uses
mytemplate.jsp template) inside browser, it happens
the following
things:
- i can see the calendar side month correctly inside my
homepage
- the first time i load homepage, i have to wait at least 1
minute in order to show the contents (abnormal behavior)
this behaviour
occurs every time we make a modification of site and pubblish the
related modified file; note: even if the modified file content is not
related to the calendar or template.
only the first time, the others
time we reload hoempage, it shows in normal execution time.
- the link
showed inside events inside calendar side month, for a particular day
which contains one or more events, i think it's not correct:
"http:
//www.mysite.it/system/modules/com.alkacon.opencms.calendar/elements/?
calYear=2008&calMonth=6&calDay=19&calView=-1"
clicking onto it, it
leads to an blank page.
could you help us ?
thanks in advance,
Stefano.
----Messaggio originale----
Da: a.zahner at alkacon.com
Data: 7-
lug-2008 11.04 AM
A: "aruc97 at virgilio.it"<aruc97 at virgilio.it>
Ogg: Re:
R: Re: [opencms-dev] Calendar module - calendar.uri problem
Aruc97,
you have to remove the site path from the value of the
calendar.uri
property. The value should be "/test_calendar.html" for
your use case.
When you are working in a site, you should never add
the site path
prefix to absolute paths pointing to resources inside of
that site.
Regards,
Andreas.
-------------------
Andreas Zahner
Alkacon Software
GmbH - The OpenCms Experts
http://www.alkacon.com -
http://www.opencms.
org
aruc97 at virgilio.it schrieb:
> hi,
>
> thanks
for replying..
> i
think there's be something wrong, cause i
> have
done exactly as you
wrote below, respecting the case as read in
> pdf
module calendar;
>
i am not sure, what exact value should be placed
>
inside the
"calendar.uri" property..
> let me explain with an example:
> say that
my absolute path to my root site folder is: /sites/mysite/
>
and
>
the calendar view file(type alkacon-cal-view) is named:
test_calendar.
> html
> in the pdf manual, i read in 5.1.1 note:
> "Be
sure to set
the
> calendar.uri property with the absolute path to a
calendar view
file
> as
> value, e.g. on your site folder."
> so that
the "calendar.
uri" property
> value should be:
>
"/sites/mysite/test_calendar.html"
> is this right ?
> cause, if i set
up as told above, the
test_calendar.html does not open
> anymore in
browser..as like it's
searching for something for inifinite
> time..
>
even if i set up
"/sites/mysite/" as calendar.uri property
value
> i
get the same
result/problem described above.
> ...
> can you help me
>
telling me
what is the right calendar.uri property value to be set ?
>
cause
after setting up correctly, i wish to integrate the calendar
>
month
view inside
> my own custom template.
>
> thanks in advance,
>
Aruc97.
>
>
> ----Messaggio originale----
> Da: a.zahner at alkacon.com
> Data: 3-lug-2008
> 4.54 PM
> A: "aruc97 at virgilio.it"
<aruc97 at virgilio.
it>, "The OpenCms
> mailing list"<opencms-
dev at opencms.org>
> Ogg: Re:
[opencms-dev] Calendar
> module -
calendar.uri problem
>
> Aruc97,
>
> you have to define this
>
property if it is not visible in your
OpenCms
> installation.
> You
can do
> this by opening the property
dialog on any resource in
>
OpenCms, click
> on "Advanced" and in the
next dialog, click on
"Define...".
>
> Keep in
> mind that property
names are case
sensitive, enter the new
> property
> name exactly as
it is
described in the calendar documentation.
>
> Regards,
> Andreas.
>
>
-------------------
> Andreas Zahner
>
> Alkacon Software
>
GmbH -
The OpenCms Experts
> http://www.alkacon.com - http://www.
>
opencms.
org
>
> aruc97 at virgilio.it schrieb:
>> Hi all,
>>
>> i am
using
>
Opencms 7.0.4 in multisite+apache environment
>> correctly set
up
with
> the new Alkacon_OAMP_Calendar_1.0.0 module
>> installed.
>>
...
>> i am
> unable to find and set up the "calendar.uri"
>>
property
described in
> related pdf manual: section 5.3.1, page 10.
>> ...
>>
the other
> properties are visibile in related property
window
>> of
>> Calendar
> view, entry, serial date entry, but not
the calendar.uri
>> ..
>> also
> this property (calendar.uri), is
necessary in order to
>> use
>>
> calendar views with our custom
template;
>> ..
>> can
anyone help us in
> order
>> find and
correctly
>> configure the
calendar.uri property ?
>>
>> thanks in
>>
advance,
>> bye,
>> Aruc97.
>>
>>
>
_______________________________________________
>> This mail is
sent
to
> you from the opencms-dev mailing list
>> To change your list
options, or
> to unsubscribe from the list, please visit
>> http:
//lists.opencms.
> org/mailman/listinfo/opencms-dev
>
>
>
More information about the opencms-dev
mailing list