[xwiki-users] EventCalendar in another SPACE
Can please some one point me or help me with topic. I have 2 spaces, on both of them i want to have custom EventCalendar. Thanks! David
Hi David, Sorry for not keeping track of the previous thread on this topic!!! I'd forgotten to send you the link to Guillaume's message. Here it is. I think it is self-explanatory. http://www.nabble.com/calendar-application-td12494216.html#a12494216 You will read there... "Another basic way to do it would be to provide one calendar per space by copying the application ClassSheet and ClassTemplate in every space where you want to use it, but you will end up with as many calendars as groups and no overview." Hope this helps and, please, accept my apologies for the silly answer I've sent before. Best, Ricardo David Hláčik wrote:
Can please some one point me or help me with topic. I have 2 spaces, on both of them i want to have custom EventCalendar.
Thanks!
David _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Ricardo Rodríguez Your EPEC Network ICT Team
Thank you very much! unfortunatelly i am new in this one, how can i copy it exactly :( Sorry for bothering you. David On Tue, Apr 22, 2008 at 5:50 PM, [Ricardo Rodriguez] Your EPEC Network ICT Team <[email protected]> wrote:
Hi David,
Sorry for not keeping track of the previous thread on this topic!!!
I'd forgotten to send you the link to Guillaume's message. Here it is. I think it is self-explanatory.
http://www.nabble.com/calendar-application-td12494216.html#a12494216
You will read there...
"Another basic way to do it would be to provide one calendar per space by copying the application ClassSheet and ClassTemplate in every space where you want to use it, but you will end up with as many calendars as groups and no overview."
Hope this helps and, please, accept my apologies for the silly answer I've sent before.
Best,
Ricardo
David Hláčik wrote:
Can please some one point me or help me with topic. I have 2 spaces, on both of them i want to have custom EventCalendar.
Thanks!
David _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Ricardo Rodríguez Your EPEC Network ICT Team
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi David, You don't bother me! Your questions are welcome. But I am "a bit" busy these last days, so my scatter answers were too short instead of concise. In any case, if you are considering XWiki for your work, it is advisable to follow at least these two tutorials: http://www.theserverside.com/tt/articles/article.tss?l=XWiki http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial They will help you to acquire the required skills to deal with concepts as ClassSheet and ClassTemplate. Concerning Calendar application. It implies three XWiki "documents". Main.EventCalendar XWiki.CalendarSheet XWiki.CalendarEvent If you edit Main.EventCalendar you will see a single line: #includeForm("XWiki.CalendarSheet") To get what Guillaume proposed, you must copy XWiki.CalendarSheet and XWiki.CalendarEvent to the new space of your election. Let's call it Cardiology. Thus, you will have Cardiology.CalendarSheet and Cardiology.CalendarEvent documents. To create new calendar entries you could call Cardiology.CalendarEvent or to create a new document with an entry similar to Main.EventCalendar accessible for your users. To understand the details of this "simple" application requires that you (and me :-) correctly understand the previously named tutorials. Hope this helps, Ricardo David Hláčik wrote:
Thank you very much! unfortunatelly i am new in this one, how can i copy it exactly :(
Sorry for bothering you.
David
On Tue, Apr 22, 2008 at 5:50 PM, [Ricardo Rodriguez] Your EPEC Network ICT Team <[email protected]> wrote: -- Ricardo Rodríguez Your EPEC Network ICT Team
Sorry! I've forgotten to shoe you how to copy a document! Just use XWiki.CopyDocument Best, Ricardo [Ricardo Rodriguez] Your EPEC Network ICT Team wrote:
Hi David,
You don't bother me! Your questions are welcome. But I am "a bit" busy these last days, so my scatter answers were too short instead of concise.
In any case, if you are considering XWiki for your work, it is advisable to follow at least these two tutorials:
http://www.theserverside.com/tt/articles/article.tss?l=XWiki http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial
They will help you to acquire the required skills to deal with concepts as ClassSheet and ClassTemplate.
Concerning Calendar application. It implies three XWiki "documents".
Main.EventCalendar XWiki.CalendarSheet XWiki.CalendarEvent
If you edit Main.EventCalendar you will see a single line: #includeForm("XWiki.CalendarSheet")
To get what Guillaume proposed, you must copy XWiki.CalendarSheet and XWiki.CalendarEvent to the new space of your election. Let's call it Cardiology. Thus, you will have Cardiology.CalendarSheet and Cardiology.CalendarEvent documents.
To create new calendar entries you could call Cardiology.CalendarEvent or to create a new document with an entry similar to Main.EventCalendar accessible for your users.
To understand the details of this "simple" application requires that you (and me :-) correctly understand the previously named tutorials.
Hope this helps,
Ricardo
David Hláčik wrote:
Thank you very much! unfortunatelly i am new in this one, how can i copy it exactly :(
Sorry for bothering you.
David
On Tue, Apr 22, 2008 at 5:50 PM, [Ricardo Rodriguez] Your EPEC Network ICT Team <[email protected]> wrote:
-- Ricardo Rodríguez Your EPEC Network ICT Team
Xwiki.CopyDocument : Source document : XWiki.CalendarSheet Language : Target doc : Business.CalendarSheet i will click on copy, result is : Copying document XWiki.CalendarSheet () from xwiki to xwiki: $xwiki.xWiki.copyDocument($sourcedoc, $targetdoc, $sourcewiki, $targetwiki, $language, false, $context.context) Source doc<http://intranet.hlacik.eu/xwiki/bin/view/XWiki/CalendarSheet?language=> Target doc?<http://intranet.hlacik.eu/xwiki/bin/edit/Business/CalendarSheet?parent=XWiki.CopyDocument&editor=wysiwyg> *What is wrong? * Thanks! 2008/4/25 [Ricardo Rodriguez] Your EPEC Network ICT Team < [email protected]>:
Sorry! I've forgotten to shoe you how to copy a document!
Just use XWiki.CopyDocument
Best,
Ricardo
[Ricardo Rodriguez] Your EPEC Network ICT Team wrote:
Hi David,
You don't bother me! Your questions are welcome. But I am "a bit" busy these last days, so my scatter answers were too short instead of concise.
In any case, if you are considering XWiki for your work, it is advisable to follow at least these two tutorials:
http://www.theserverside.com/tt/articles/article.tss?l=XWiki http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial
They will help you to acquire the required skills to deal with concepts as ClassSheet and ClassTemplate.
Concerning Calendar application. It implies three XWiki "documents".
Main.EventCalendar XWiki.CalendarSheet XWiki.CalendarEvent
If you edit Main.EventCalendar you will see a single line: #includeForm("XWiki.CalendarSheet")
To get what Guillaume proposed, you must copy XWiki.CalendarSheet and XWiki.CalendarEvent to the new space of your election. Let's call it Cardiology. Thus, you will have Cardiology.CalendarSheet and Cardiology.CalendarEvent documents.
To create new calendar entries you could call Cardiology.CalendarEvent or to create a new document with an entry similar to Main.EventCalendar accessible for your users.
To understand the details of this "simple" application requires that you (and me :-) correctly understand the previously named tutorials.
Hope this helps,
Ricardo
David Hláčik wrote:
Thank you very much! unfortunatelly i am new in this one, how can i copy it exactly :(
Sorry for bothering you.
David
On Tue, Apr 22, 2008 at 5:50 PM, [Ricardo Rodriguez] Your EPEC Network ICT Team <[email protected]> wrote:
-- Ricardo Rodríguez Your EPEC Network ICT Team
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi David, it seems to be a rights issue: the author of XWiki.CopyDocument does not have the appropriate rights (admin or programming). Happy coding!
Xwiki.CopyDocument :
Source document : XWiki.CalendarSheet Language : Target doc : Business.CalendarSheet
i will click on copy,
result is :
Copying document XWiki.CalendarSheet () from xwiki to xwiki: $xwiki.xWiki.copyDocument($sourcedoc, $targetdoc, $sourcewiki, $targetwiki, $language, false, $context.context)
Source doc<http://intranet.hlacik.eu/xwiki/bin/view/XWiki/CalendarSheet?language=> Target doc?<http://intranet.hlacik.eu/xwiki/bin/edit/Business/CalendarSheet?parent=XWiki.CopyDocument&editor=wysiwyg>
*What is wrong? * Thanks! 2008/4/25 [Ricardo Rodriguez] Your EPEC Network ICT Team < [email protected]>:
Sorry! I've forgotten to shoe you how to copy a document!
Just use XWiki.CopyDocument
Best,
Ricardo
[Ricardo Rodriguez] Your EPEC Network ICT Team wrote:
Hi David,
You don't bother me! Your questions are welcome. But I am "a bit" busy these last days, so my scatter answers were too short instead of concise.
In any case, if you are considering XWiki for your work, it is advisable to follow at least these two tutorials:
http://www.theserverside.com/tt/articles/article.tss?l=XWiki http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial
They will help you to acquire the required skills to deal with concepts as ClassSheet and ClassTemplate.
Concerning Calendar application. It implies three XWiki "documents".
Main.EventCalendar XWiki.CalendarSheet XWiki.CalendarEvent
If you edit Main.EventCalendar you will see a single line: #includeForm("XWiki.CalendarSheet")
To get what Guillaume proposed, you must copy XWiki.CalendarSheet and XWiki.CalendarEvent to the new space of your election. Let's call it Cardiology. Thus, you will have Cardiology.CalendarSheet and Cardiology.CalendarEvent documents.
To create new calendar entries you could call Cardiology.CalendarEvent or to create a new document with an entry similar to Main.EventCalendar accessible for your users.
To understand the details of this "simple" application requires that you (and me :-) correctly understand the previously named tutorials.
Hope this helps,
Ricardo
David Hláèik wrote:
Thank you very much! unfortunatelly i am new in this one, how can i copy it exactly :(
Sorry for bothering you.
David
On Tue, Apr 22, 2008 at 5:50 PM, [Ricardo Rodriguez] Your EPEC Network ICT Team <[email protected]> wrote:
-- Ricardo Rodríguez Your EPEC Network ICT Team
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi! [email protected] wrote:
Hi David,
it seems to be a rights issue: the author of XWiki.CopyDocument does not have the appropriate rights (admin or programming).
Happy coding!
I've edited XWiki.CopyDocument with an user without programming rights and I keep getting a correct functioning for this utility. As XWiki.CopyDocument is included with the default *.xar, must I understand that to get this result David has modified XWiki.CopyDocument in any way or at least edited it and saved it without programming rights and this could cause this output? I think I am not getting this. Cheers, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team
Hi!
[email protected] wrote:
Hi David,
it seems to be a rights issue: the author of XWiki.CopyDocument does not have the appropriate rights (admin or programming).
Happy coding!
I've edited XWiki.CopyDocument with an user without programming rights and I keep getting a correct functioning for this utility.
admin global right seems to do the job too.
As XWiki.CopyDocument is included with the default *.xar, must I understand that to get this result David has modified XWiki.CopyDocument in any way or at least edited it and saved it without programming rights and this could cause this output? I think I am not getting this.
yes, that might be the case but since rights are checked on evaluating the document content and not preserved from the save moment, it might be just a users/rights thing: he removed the user that is the author of that document or changed its rights in the mean time.
Cheers,
Ricardo
-- Ricardo Rodríguez Your EPEC Network ICT Team
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
yes, that might be the case but since rights are checked on evaluating the document content and not preserved from the save moment, it might be just a users/rights thing: he removed the user that is the author of that document or changed its rights in the mean time.
Hi to all, yes i removed default user administrator, which i believe was author of that document. What is best approach to solve it now? Thanks, D.
yes, that might be the case but since rights are checked on evaluating the document content and not preserved from the save moment, it might be just a users/rights thing: he removed the user that is the author of that document or changed its rights in the mean time.
Hi to all, yes i removed default user administrator, which i believe was author of that document. What is best approach to solve it now?
Just re-save (without changing anything) the XWiki.CopyDocument document with a user that has programming rights (if there is no such user, think about giving programming right to your admin but make sure that is safe -- your admin is a trustworthy user); to do that just click edit (for code safety reasons I advise you to edit in wiki mode) for your document and then "save and view", without changing anything. Happy xwiki usage!
Thanks, D. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Thanks, that worked! Btw : it was enought to just copy Main.EventCalendar to another space and calendar itself works also there (i assume that main and Myspace share XWiki.CalendarSheet and Event. Regards, D. On Mon, Apr 28, 2008 at 3:38 PM, <[email protected]> wrote:
yes, that might be the case but since rights are checked on evaluating the document content and not preserved from the save moment, it might be just a users/rights thing: he removed the user that is the author of that document or changed its rights in the mean time.
Hi to all, yes i removed default user administrator, which i believe was author of that document. What is best approach to solve it now?
Just re-save (without changing anything) the XWiki.CopyDocument document with a user that has programming rights (if there is no such user, think about giving programming right to your admin but make sure that is safe -- your admin is a trustworthy user); to do that just click edit (for code safety reasons I advise you to edit in wiki mode) for your document and then "save and view", without changing anything.
Happy xwiki usage!
Thanks, D. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (3)
-
[Ricardo Rodriguez] Your EPEC Network ICT Team -
ancapaula.luca@xwiki.com -
David Hláčik