Re: [xwiki-users] Convert XE to XEM

2009-01-21 Thread hel-o
OK, got it working (somehow) i could recreate the wiki descriptors for the virtual wikis but i cannot recreate the descriptor for the main wiki (Error i posted before). I'll add a warning in the documentation that you should not convert a manually created XE with virtual wikis to XEM. Thanks

[xwiki-users] Panel Wizard at MyXwiki

2009-01-21 Thread Ajdin Brandic
I'm unable to get into Panel Wizard on http://patternlanguagenetwork.myxwiki.org Does it require Programming rights? It just hangs for 20+ secs then the main Admin page is displayed again. I want to add a new panel TagCloud based on Tag Cloud Snippet. Thanks Ajdin

[xwiki-users] Purge Document Versions via Script

2009-01-21 Thread Tronicek
Is there a way to purge document revisions using Velocity or Groovy? Someone can see actual and last revision by: ${doc.getVersion()}br ${doc.getPreviousDocument().getVersion()}br The next is deleting the document with all revisions... Don't try to purge with(!):

[xwiki-users] Adding survey question and details to page template...

2009-01-21 Thread KevinC
One of the things I've been asked to accomplish using XWiki is a single question *survey* type section at the bottom of my FAQ pages. Something like: 68% of 158 people found this information useful. Was this information helpful? O Yes O No [Submit] You get the idea. Now, the problem is I'm

Re: [xwiki-users] Purge Document Versions via Script

2009-01-21 Thread KevinC
I'm guessing you could use something like: http://code.xwiki.org/xwiki/bin/view/Snippets/DeleteSpaceSnippet to build a listing of the files versions and then create links or checkboxes or something like that to delete the ones you are interested in. You can get the full list of versions using

Re: [xwiki-users] Purge Document Versions via Script

2009-01-21 Thread Jerome Velociter
If what you want to do is remove all old revisions from a document but keep the current one, you can use the following : $doc.document.resetArchive($context.context); It's not a public API, so you will need to save the page with a users who has the programming right granted Hopes it helps,

Re: [xwiki-users] Unable to log out and to move panels in virtual wiki

2009-01-21 Thread christophe perinaud
Hello, I use virtual path for wikis so i access with http://127.0.0.1/wikiname And cookiesdomain is set to blank Do i need to set it even for a virtual path ? If yes wich value ? When i try to log out from my virtual itwiki the URL set for the log out is :

Re: [xwiki-users] Unable to log out and to move panels in virtual wiki

2009-01-21 Thread christophe perinaud
Hello, I use virtual path for wikis so i access with http://127.0.0.1/wikiname And cookiesdomain is set to blank Do i need to set it even for a virtual path ? If yes wich value ? When i try to log out from my virtual itwiki the URL set for the log out is :

[xwiki-users] xwiki is not even trying to read the xwiki.cfg file

2009-01-21 Thread Minton, Brian
I have a pretty generic (just downloaded and unpacked) xwiki setup. I tried to make some changes to webapps/xwiki/WEB-INF/xwiki.cfg but the file did not seem to even get read. I looked at the atime of the file, and it was the same as when I edited it, not when I started the server. This

Re: [xwiki-users] xwiki is not even trying to read the xwiki.cfg file

2009-01-21 Thread Paul Armstrong
At 2009-01-21T16:55-0500, Minton, Brian wrote: I have a pretty generic (just downloaded and unpacked) xwiki setup. I tried to make some changes to webapps/xwiki/WEB-INF/xwiki.cfg but the file did not seem to even get read. I looked at the atime of the file, and it was the same as when I