Re: [xwiki-users] Adding users from CSV file

2014-02-24 Thread Michiel Hobbelman
Okay, I've done that. See
http://extensions.xwiki.org/xwiki/bin/view/Extension/Import+users+from+csv


2014-02-15 16:15 GMT+01:00 vinc...@massol.net vinc...@massol.net:





 On 15 Feb 2014 at 15:54:45, Clemens Robbenhaar (c.robbenh...@espresto.com
 (mailto:c.robbenh...@espresto.com)) wrote:

  Hi Michiel,
 
   Maybe you have the same problem, and want to add many user-accounts in
   bulk. Maybe this script (I wrote) can help you out.
  
   The script can produce a XAR archive that can be uploaded using the
   import-function in the Admin panel.
   After doing so you still need to add these users to the group
 XWikiAllGroup
   (and additional groups if you like).
  
   Regards,
   Michiel.
 
  Thanks for your contribution! However I am afraid if you attached the
 script, the mailing list software has just eaten the attachment.
 
  If you want you can upload the script at
 http://extensions.xwiki.org/xwiki/bin/view/Main/WebHome
 
  Strictly speaking it is not an extension, but never mind: all kind of
 XWiki related helpers are always welcome there. :)

 Yes you can contribute the script as a snippet there or package it as a
 XAR, as you wish.

 Thanks
 -Vincent


 ___
 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


[xwiki-users] How to get permanent link of a page

2014-02-24 Thread 114
There is share by email link for the page that displays the link which
contains the page name and it is too long.
Is there a way for retrieving a permanent link for a page which does not
change after hierarchy and name changes, ang also it is short?

Thanks
Kurtulus



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/How-to-get-permanent-link-of-a-page-tp7589267.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to get permanent link of a page

2014-02-24 Thread Marius Dumitru Florea
On Mon, Feb 24, 2014 at 1:55 PM, 114 ad...@114hareketi.org wrote:
 There is share by email link for the page that displays the link which
 contains the page name and it is too long.

 Is there a way for retrieving a permanent link for a page which does not
 change after hierarchy and name changes, ang also it is short?

No, but when you rename/move a page you could 'keep' the old
'location' and put there a redirect to the new location:

{{velocity}}
$response.sendRedirect($xwiki.getURL('newWiki:NewSpace.NewPage'))
{{/velocity}}

This is not done automatically.

Hope this helps,
Marius


 Thanks
 Kurtulus



 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/How-to-get-permanent-link-of-a-page-tp7589267.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 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] How to get permanent link of a page

2014-02-24 Thread 114
Is there a way for retrieving a unique ID for a page and also there should be
a URL for displaying the page with this unique ID.
Then I can write an application for generating a permalink.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/How-to-get-permanent-link-of-a-page-tp7589267p7589272.html
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] structured and unstructured data in the same page using AWM

2014-02-24 Thread Leonardo Kodato
Hello everybody.

Here I'am again =).
Vicent explained to me what jira and mailing-lists are used for some time
ago. So, I moved the discussion over there =). (hope I'm posting in the
right place now).
So, let me answer what Marius asked on
http://jira.xwiki.org/browse/XWIKI-10085

First, let me explain better what I said on Jira:
plain text = unstructured information
dynamic label = properties
dynamic object = structured information

The situation:
I have a Space called Product. In this place I store all the products my
company makes(around 50-70 itens). Because of this variety, I've decided to
make a livetable to filter and show the results. I`ve set some parameters
like Product name, Category, Applies to... to be able to easily identify
the Product.

Here is the problem:
Using App Within Minutes I can only insert structured data(Product name,
Category, Applies to, Price). I`am not able to insert plain
text(unstructured) like photos, opinions, competitors, etc.
When I try to insert this type of data(unstructured), it does saves the
content, but it doesn't show what I had writen.
Some time ago I read somewhere in Xwiki`s mailing list that there was no
reason to place this type of information(unstructured) in the same place as
structured information and that AWM wasn`t meant to store this type of
data(I`m trying to find the link, but so far I had no luck).

What I would like to do is insert some tags, labels or properties(whatever
is the right name =)) to be able to identify and sort the itens(by using
livetable). I can do it by using AWM, but it is not enough. I need
unstructured + structured data in the same place.

Let me paint you a picture with the example below:

__
Product name: AGX
Category: Music Stand
Applies to: Acoustic and Eletric Guitar.
Price: 30
__

= Description: =
___
| Photo |   AGX is a state-of-the-art music stand. It has the best value
for money you will ever find.,,,

= Strenghts and Weaknesses =
..
___

That is what I'm trying to do. If I have not been clear enough, please let
me know.

Thank you very much.
Att. Leonardo.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to get permanent link of a page

2014-02-24 Thread vinc...@massol.net
Hi,

Each page is internally stored in the database with an id.

However that id is a computed id. It’s computed from:
- the doc’s wiki
- the doc’s space
- the doc’s page
- the doc’s language

So if you rename a document for example, the computed id will be different.

The goal with this was to have friendly URLs, i.e be able to load a doc from 
the database given it’s name.

What we’d like to do in the future is to support redirecting to renamed 
documents automatically, see:
http://jira.xwiki.org/browse/XWIKI-3622

Thanks
-Vincent

On 24 Feb 2014 at 19:06:13, 114 (ad...@114hareketi.org) wrote:

Is there a way for retrieving a unique ID for a page and also there should be  
a URL for displaying the page with this unique ID.  
Then I can write an application for generating a permalink.  

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users