Raluca Stavro wrote:
Yes, you can do that.
You have to change the parameters for the getHTMLCalendar method.
See
http://svn.xwiki.org/svnroot/xwiki/platform/xwiki-plugins/trunk/calendar/sr…
.
So this is what you should do in your homepage:
...
## Set the calendar parameters
...
## Display calendar
$cview.getHTMLCalendar($cparams,
$xwiki.getDocument('MySpace.MyEventCalendarPage'), "")
Where 'MySpace.MyEventsPage' is 'Main.EventCalendar' by default.
Raluca.
Thanks Raluca for all the help I really appreciate it. I don't really
understand what I'm meant to do though. I tried putting the code you
provided on the homepage and in different places but I can't seem to get it
to work. Can you tell me exactly where to put it, and am I meant to edit the
calendar parameters java code?
I have made a new page that users will use to fill out the calendar form. It
is called Main.Calendar and in it the only code is:
{{include document="XWiki.CalendarSheet"/}}
Then in Main.Home I have the Main.Calendar appearing below the dashboard:
{{include document="Main.Dashboard"/}}
{{include document="Main.Calendar"/}}
But rather than displaying the events made in Main.Calendar it only displays
events made on the actual Main.Home page.
All my pages are in 2.0 syntax and I'm using the colibri skin. I hope
nothing went wrong when I converted the calendar from 1.0 to 2.0 syntax. The
reason I need this is because I don't want the user to have to scroll down
on the home page, so if I can get the calendar form on another page, then I
can hide it on the home page with an external stylesheet, making everything
much more organised and neat. I managed to mirror the blog, recent changes,
and other pages on the home page but this one has me baffled.
Thanks again,
Lockie.
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Calendar-Application-on-XE-2-4-not-workin…
Sent from the XWiki- Users mailing list archive at
Nabble.com.