[xwiki-users] discussion tab (similar to mediawiki)
Hi, I would like to have a discussion tab, similar to how wikipedia has one. Is there a configuration option to turn this on? Or a plugin I can install? Thanks in advance, Josh ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Page preferences
Hi, On Oct 16, 2007, at 8:11 AM, V. Harikrishnan Nair wrote: Hi all, I am able to change preferences of the entire wiki and a space. Can I make preference changes to a specific page ? For example, if I do not want the comments and attachments boxes to appear in some pages, the right/ left menu to be present in some other pages, etc. ? How do I do that ? Preferences are at the level of the wiki or space. For disabling comments on a page basis, you can use: #set ($showcomments=0) For disabling attachments on a page basis you can use: #set ($showattachments=0) For the panels, you should be able to hide them using: #set ($hidecolumns=0) I have quickly tried these and they don't seem to work for some reason. Someone need to check out why. You can look into your templates files (*.vm). For example: commentsinline.vm and startpage.vm. Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] discussion tab (similar to mediawiki)
Thanks Guillaume. Currently I'm using the default skin Albatross, it seems that I may need to modify the skin and add a tab for comments (discussion). So it seems more than CSS changes? Unless I'm missing something more simpler? Thanks, Josh Guillaume Lerouge wrote: You can have it (it has been done for this XWiki website for instance: http://www.xwiki.org/xwiki/bin/view/References/Wikipeople), you'll just need to play with CSS styles to achieve it. Good luck, Guillaume On 16/10/2007, Josh Joy [EMAIL PROTECTED] wrote: Hi, I would like to have a discussion tab, similar to how wikipedia has one. Is there a configuration option to turn this on? Or a plugin I can install? Thanks in advance, Josh ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] discussion tab (similar to mediawiki)
Hi Josh, In XWiki, everything you see on a page is a matter of CSS Velocity Groovy scripts. That is to say, the skin is built using CSS and Velocity. Therefore modifying your skin is a matter of CSS changes ;-) Basically what you have to do is to identify how the CSS currently displays comments on your page, remove those lines from your skin and then work out your own tab CSS magic. I guess you've already read http://www.xwiki.org/xwiki/bin/view/AdminGuide/Skins... On my side I'll try to see whether a blank tab skin like Wikipeople's one can be made available on XWiki.org, but that may take a while... Hope this helps, Guillaume On 16/10/2007, Josh Joy [EMAIL PROTECTED] wrote: Thanks Guillaume. Currently I'm using the default skin Albatross, it seems that I may need to modify the skin and add a tab for comments (discussion). So it seems more than CSS changes? Unless I'm missing something more simpler? Thanks, Josh Guillaume Lerouge wrote: You can have it (it has been done for this XWiki website for instance: http://www.xwiki.org/xwiki/bin/view/References/Wikipeople), you'll just need to play with CSS styles to achieve it. Good luck, Guillaume On 16/10/2007, Josh Joy [EMAIL PROTECTED] wrote: Hi, I would like to have a discussion tab, similar to how wikipedia has one. Is there a configuration option to turn this on? Or a plugin I can install? Thanks in advance, Josh ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- http://wikibc.blogspot.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Page preferences
It didn't work for me too. Is there any file that stores the names of the velocity variables ? vmassol wrote: Hi, On Oct 16, 2007, at 8:11 AM, V. Harikrishnan Nair wrote: Hi all, I am able to change preferences of the entire wiki and a space. Can I make preference changes to a specific page ? For example, if I do not want the comments and attachments boxes to appear in some pages, the right/ left menu to be present in some other pages, etc. ? How do I do that ? Preferences are at the level of the wiki or space. For disabling comments on a page basis, you can use: #set ($showcomments=0) For disabling attachments on a page basis you can use: #set ($showattachments=0) For the panels, you should be able to hide them using: #set ($hidecolumns=0) I have quickly tried these and they don't seem to work for some reason. Someone need to check out why. You can look into your templates files (*.vm). For example: commentsinline.vm and startpage.vm. Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Page-preferences-tf4632206.html#a13230487 Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] More on upgrade from 0.9
Hi all, as anyone can see there's a first attempt to upgrade from v0.9 in http://www.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUpgradinganXWikiv09Installation The problem with this approach is that it just migrates the Java code, but not the one inside the xwiki pages stored in the database. In order to construct a strong and complete migration process I need some help (as usual :-D), mainly : * what pages/spaces contain code that is considered part of XWiki distribution ?? * does anyone has success in making the code at http://old.xwiki.org/xwiki/bin/view/Test/ImportExport work on 0.9 ?? * any other places to look at for other pieces of XWiki core that should be added to the upgrade guide ?? Thx -- Víctor A. Rodríguez (http://www.bit-man.com.ar) El bit Fantasma (Bit-Man) - Algorithm junkie Perl Mongers Capital Federal (http://cafe.pm.org/) GNU/Linux User Group - FCEyN - UBA (http://glugcen.dc.uba.ar/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] More on upgrade from 0.9
Hi Victor, On Oct 16, 2007, at 5:23 PM, Víctor A. Rodríguez wrote: Hi all, as anyone can see there's a first attempt to upgrade from v0.9 in http://www.xwiki.org/xwiki/bin/view/AdminGuide/ Installation#HUpgradinganXWikiv09Installation The problem with this approach is that it just migrates the Java code, but not the one inside the xwiki pages stored in the database. In order to construct a strong and complete migration process I need some help (as usual :-D), mainly : * what pages/spaces contain code that is considered part of XWiki distribution ?? If you're talking about XE (XWiki Enterprise). The list of pages is available there: http://fisheye2.cenqua.com/browse/xwiki/xwiki-products/xwiki- enterprise/trunk/wiki/src/main/resources * does anyone has success in making the code at http://old.xwiki.org/xwiki/bin/view/Test/ImportExport work on 0.9 ?? * any other places to look at for other pieces of XWiki core that should be added to the upgrade guide ?? I think we need more detailed instructions for moving data from an existing DB to a new DB. The exporter would be the best way to do that but importing a large XAR doesn't work either when the memory is not large enough so import at the DB level is required anyway for some large XWiki installs. I haven't tried doing this myself (I don't have a 0.9 wiki to migrate) so I'm not the best placed to help here but I'm pretty sure some 0.9 users are having a hard time so they should speak up! Have you checked the list archives to check messages about migrating to 1.1.1 from a 0.9 install? Thanks for doing this and helping out! -Vincent PS: I've added you to http://www.xwiki.org/xwiki/bin/view/Community/ HallOfFame ;) ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] More on upgrade from 0.9
On October 16, 2007 11:37:49 am Vincent Massol wrote: Hi Victor, On Oct 16, 2007, at 5:23 PM, Víctor A. Rodríguez wrote: Hi all, as anyone can see there's a first attempt to upgrade from v0.9 in http://www.xwiki.org/xwiki/bin/view/AdminGuide/ Installation#HUpgradinganXWikiv09Installation The problem with this approach is that it just migrates the Java code, but not the one inside the xwiki pages stored in the database. In order to construct a strong and complete migration process I need some help (as usual :-D), mainly : * what pages/spaces contain code that is considered part of XWiki distribution ?? If you're talking about XE (XWiki Enterprise). The list of pages is available there: http://fisheye2.cenqua.com/browse/xwiki/xwiki-products/xwiki- enterprise/trunk/wiki/src/main/resources How does this relate to the question? I missed something here :P * does anyone has success in making the code at http://old.xwiki.org/xwiki/bin/view/Test/ImportExport work on 0.9 ?? Yes * any other places to look at for other pieces of XWiki core that should be added to the upgrade guide ?? I think we need more detailed instructions for moving data from an existing DB to a new DB. The exporter would be the best way to do that but importing a large XAR doesn't work either when the memory is not large enough so import at the DB level is required anyway for some large XWiki installs. I haven't tried doing this myself (I don't have a 0.9 wiki to migrate) so I'm not the best placed to help here but I'm pretty sure some 0.9 users are having a hard time so they should speak up! Have you checked the list archives to check messages about migrating to 1.1.1 from a 0.9 install? You will see of couple of messages of mine ;) With time I came close to migrate and I documented how I did it in these messages. Mostly the information is available in the Wiki as well but it is a long process to identify what we need and to fetch the information. For this reason this list is a good start but we could also get together on xwiki.org and build a page just around the issue if it makes sense. I don't have the migration done yet, so I am angry for any info you could produce ;) To make the story short you have to find this information: - install the import/export into 0.9 (see old.xwiki.org for the code) - fix the database XWD_ARCHIVE mediumblob type to longblob (xwiki.org) - increase the attachment file size limit (also xwiki.org) - increase the heap size used by your servlet container (-Xms : see for example http://java.sun.com/docs/hotspot/gc1.4.2/ for more) Weirdness and bad luck: - (A) migrating to 1.1rc2 works to 1.1.1 fails :P - (B) 1.1.1 can't open the xar package (once attached), it complains about a file not ending correctly (zip) Strategies - option 1 - install 1.1.1 fresh and import a xar (first fix the issues above) - option 2 - install 1.1.1 and connect it to the database (there bad luck happens) Possible ways to fix the problem - B could be fixed by modifying the import code (is there something hardcoded involving the size of the expected zip?) - the database migration could be fixed by running a script within mysql to migrate the schema (if only we knew what has been changed as well as the exact meaning and purpose of the attributes) What's next? ;) Marc ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] More on upgrade from 0.9
Hi Marc, Marc Lijour wrote: On October 16, 2007 11:37:49 am Vincent Massol wrote: Hi Victor, On Oct 16, 2007, at 5:23 PM, Víctor A. Rodríguez wrote: * what pages/spaces contain code that is considered part of XWiki distribution ?? If you're talking about XE (XWiki Enterprise). The list of pages is available there: http://fisheye2.cenqua.com/browse/xwikithe /xwiki-products/xwiki- enterprise/trunk/wiki/src/main/resources How does this relate to the question? I missed something here :P The problem si that XWiki core isn't just Java, it also contains code inside the XWiki pages. e.g. if I install a new servlet container (with XWiki 1.1 inside it) and a new database where I copy the old one, this installation has new Java code and old wiki code. A typical example is the page that generates the RSS feeds (RssFeed, I think) * does anyone has success in making the code at http://old.xwiki.org/xwiki/bin/view/Test/ImportExport work on 0.9 ?? Yes Please, tell me how, because I discovered two problems : two missing javascript files in 0.9 (they' re part of 1.1) and getURL seems missing from the 0.9 API (I'm not completely sure). Perhaps there's more ... who knows ?? * any other places to look at for other pieces of XWiki core that should be added to the upgrade guide ?? I think we need more detailed instructions for moving data from an existing DB to a new DB. The exporter would be the best way to do that but importing a large XAR doesn't work either when the memory is not large enough so import at the DB level is required anyway for some large XWiki installs. I haven't tried doing this myself (I don't have a 0.9 wiki to migrate) so I'm not the best placed to help here but I'm pretty sure some 0.9 users are having a hard time so they should speak up! Have you checked the list archives to check messages about migrating to 1.1.1 from a 0.9 install? You will see of couple of messages of mine ;) With time I came close to migrate and I documented how I did it in these messages. Mostly the information is available in the Wiki as well but it is a long process to identify what we need and to fetch the information. For this reason this list is a good start but we could also get together on xwiki.org and build a page just around the issue if it makes sense. I don't have the migration done yet, so I am angry for any info you could produce ;) To make the story short you have to find this information: - install the import/export into 0.9 (see old.xwiki.org for the code) - fix the database XWD_ARCHIVE mediumblob type to longblob (xwiki.org) - increase the attachment file size limit (also xwiki.org) - increase the heap size used by your servlet container (-Xms : see for example http://java.sun.com/docs/hotspot/gc1.4.2/ for more) I think that all of these are documented in the migration process from 0.9 (sorry, it's a bit la te here, I'll take a look tomorrow in the morning). BTW, if you find any error don' t hesitate in correct it, and *please* don't use th WYSIWYG editor because it has problems with some tags. What's next? ;) I think that after that Export Import work it' s piece of cake. Two of the three main pieces are already easy to migrate (code and skins), we need only to extract the pages that are not part of XWiki code from one database and put it in the new one !!! Enjoy ! -- Víctor A. Rodríguez (http://www.bit-man.com.ar) El bit Fantasma (Bit-Man) - Algorithm junkie Perl Mongers Capital Federal (http://cafe.pm.org/) GNU/Linux User Group - FCEyN - UBA (http://glugcen.dc.uba.ar/) ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] WYSIWYG editor and velocity
Hi everyone, I wrote a page with some code in it: SOME TEXT... #foreach ($docum in $xwiki.getSpaceDocsName(workgroups)) #set ($name = $xwiki.split($docum,_)) #set ($isMeeting = 0) #set ($i = 0) #foreach ($word in $name) #set ($i = $i+1) #if (($i == 1) ($word == MT)) #set ($isMeeting = 1) #elseif ($i == 2) #set ($date = $word) #elseif (($i == 3) ((WG_+$word) == $doc.getName())) Meeting [$dateworkgroups.$docum] br/ #end #end #end SOME TEXT... If I edit the page in wiki-mode, no problem. But if I edit the page in WYSIWYG-mode, and then save it, the code is not working anymore. Actually the same section become: SOME TEXT... #foreach ($docum in $xwiki.getSpaceDocsName(workgroups)) #set ($name = $xwiki.split($docum,#95;)) #set ($isMeeting = 0) #set ($i = 0) #foreach ($word in $name) #set ($i = $i+1) #if (($i == 1) ($word == MT)) #set ($isMeeting = 1) #elseif ($i == 2) #set ($date = $word) #elseif (($i == 3) ((WG#95;+$word) == $doc.getName())) Meeting [$dateworkgroups.$docum] \\ #end #end #end SOME TEXT... So, the character '_' is replace by '#95;'. Any solution to this problem? Thanks! Vito ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users