Re: [xwiki-users] RES: RES: Calendar Application on XE 2.4 not working properly

2010-08-25 Thread Raluca Stavro
Hi, The solution that I told you about is like this: In a separate page, let's say 'Main.MyCalendar', paste this piece of code that is copied from 'XWiki.CalendarSheet' (I also added 2.0 wiki syntax but this is mandatory - you can keep the 1.0 syntax): {{velocity}}

Re: [xwiki-users] RES: RES: Calendar Application on XE 2.4 not working properly

2010-08-25 Thread Raluca Stavro
On Wed, Aug 25, 2010 at 10:26 AM, Raluca Stavro raluca.moro...@xwiki.com wrote: Hi, The solution that I told you about is like this: In a separate page, let's say 'Main.MyCalendar', paste this piece of code that is copied from 'XWiki.CalendarSheet' (I also added 2.0 wiki syntax but this is

Re: [xwiki-users] RES: RES: Calendar Application on XE 2.4 not working properly

2010-08-24 Thread Lockie
I worked out a way to hide the form in a way so that the user doesn't have to go to another page to fill it out. It hides the div and provides a link to reveal it, so I guess it could be used for anything. I thought I'd just share it for future reference. Go to XWiki.CalendarSheet and

Re: [xwiki-users] RES: RES: Calendar Application on XE 2.4 not working properly

2010-08-23 Thread Raluca Stavro
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/src/main/java/com/xpn/xwiki/plugin/calendar/CalendarPluginApi.java . So this is what you should do in your homepage: ... ## Set the

Re: [xwiki-users] RES: RES: Calendar Application on XE 2.4 not working properly

2010-08-23 Thread Lockie
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/src/main/java/com/xpn/xwiki/plugin/calendar/CalendarPluginApi.java . So this is what you should do in

Re: [xwiki-users] RES: RES: Calendar Application on XE 2.4 not working properly

2010-08-23 Thread Lockie
Ah nevermind I found the answer in the FAQ, was alot simpler than I thought: -- #foreach ($item in $xwiki.searchDocuments(where doc.web='SpaceName')) * [$item] #end -- Lockie. -- View this message in context:

Re: [xwiki-users] RES: RES: Calendar Application on XE 2.4 not working properly

2010-08-22 Thread Lockie
Ah, thanks. I have a question though - I would like to mirror the calendar on my homepage without having the entry form on it, and instead have a link to a page where you can put events into the calendar. When I use {{include document=XWiki.CalendarSheet/}} it creates a new instance of the

Re: [xwiki-users] RES: RES: Calendar Application on XE 2.4 not working properly

2010-08-20 Thread Raluca Stavro
Ah, sorry, I forgot to tell you that in order to use the stylesheet extension, you have to add this line in the XWiki.CalendarSheet page: $xwiki.ssx.use('XWiki.CalendarSheet') You'll see that there is this line somewhere at the end of the patch . Using the extension 'Always on this wiki' will load

Re: [xwiki-users] RES: RES: Calendar Application on XE 2.4 not working properly

2010-08-18 Thread Lockie
I got it to work, however I had to to put the 'Use This Extension' part to 'Always on this wiki'. I guess the 'Always on this page' part would work as well if thats what you're after. I left the name part blank. Thanks Raluca it looks much better. Lockie -- View this message in context: