Hello all,
I've changed the columns that are rendered in my space index by adding a "columns" attribute as described by the article here http://extensions.xwiki.org/xwiki/bin/view/Extension/Documents+Macro and the column I added does show up as expected (doc.creator), but the header column for my added columns label is "platform.index.doc.creator" I'd like to change it to "Creator" but nothing I do seems to work..any help is greatly appreciated.
The XWiki development team is proud to announce the availability of XWiki 6.4.
The 6.4 release is the last major release of the 6.x development Cycle and as such was mainly dedicated to improvements and bugfixes on things introduced during 6.X.
This version introduces some developer oriented improvements: allow wiki based skins to overwrite macro.vm template, allow filesystem skins indicating explicitly the skin they are inheriting from, allow any component to be injected with its ComponentDescriptor, Panels and UI extensions are now executed with the right of their author so among other things they can use APIs requiring Programming rights.
It also brings UI improvements in the Menu application, a new Mail application (and Mail-related improvements, such as the ability to send massive number of emails) and lots of Flamingo skin improvements (Mobile-friendliness to mention one), while offering developers the ability to write LESS in Skin Extensions, and a cool icon picker.
Last but not least, this version provides the ability to rate Extensions inside the Extension Repository and visualise them inside the Extension Manager.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki64
Thanks
-The XWiki dev team
Description: Growing Home is a forming intentional community. For
more information visit http://www.ic.org/directory/growing-home/
We need a wiki to organize all information during our formation process!
Owner Name: Kyndel Love
Wiki Name: growinghome
If you could do this ASAP we would appreciate it greatly because we
already have a great need for organization. Thank you very much xWiki
community!
In PHP it is acceptable for forms to have arrays. For example, from http://php.net/manual/en/faq.html.php#faq.html.arrays the following form could be submitted:
<form action="" method="post">
<input name="MyArray[]" value=1 />
<input name="MyArray[]" value=2 />
<input name="MyArray[]" value=3 />
<input name="MyArray[]" value=4 />
<input type="Submit" />
</form>
And in PHP the submitted inputs would be available as an array at $_POST['MyArray']
Out of curiosity, does XWiki have any similar support for form arrays? I tried a simple example, for which the returned result was a single value ("1"). Does this mean XWiki ignores multiple request parameters of the same name, or is there another way?
{{groovy}}
def values = request.get('MyArray[]')
println "${values.getClass()}"
println "${values}"
{{/groovy}}
{{html}}
<form action="" method="post">
<input name="MyArray[]" value=1 />
<input name="MyArray[]" value=2 />
<input name="MyArray[]" value=3 />
<input name="MyArray[]" value=4 />
<input type="Submit" />
</form>
{{/html}}
Hi Xwiki users
I am testing the Xwiki product for my company
And I will need to check few things :
1. Give view only permissions to all team members
2. Give edit permissions to specific wiki to all team members
3. Give edit permissions for specific users to all wikis
4. Check the best option to integrate with active directory
So users will be able to login with the AD accounts
I am not sure how to integrate ad permissions and xwiki permissions
Please send me example file with the proper ad intergration to xwiki
Thanks in advance
Israel
I am very interested about putting my own xwiki but I've been messing
with it and some problems came out.
At first i thought it would be good to make subwiki's for "Programming",
"Linux", "Mathematics". I could make template wiki and derive extensions
and settings from it but how can I install additional extension to all
of wiki's then?
I have also modified my "Preview" page when I made my first article.
I've clicked preview, saw typo, and clicked edit.. After some struggle
with editing this article I've modified this preview page unwittingly.
After some modifications I removed all previous revisions. What can I do
in such cases besides reinstalling everything? I would like to solve
such problems by myself in the future so if it's possible, please, give
me workflow, not a single solution.
I want also to have navigation for entire wiki with subwikis like:
#Programming
-> Language Scala
-> Design patterns
#Linux
-> Settings
-> Tools
#Mathematics
-> Linear algebra
-> Calculus
where ("#" -> wiki), ("->" -> space)
I think I could make "Navbar" panel in global wiki and add
"xwiki:Panels.Navbar" to all subwiki's.
But now the work needed to add it everywhere is overwhelming. Is it
possible to do it in config file?
I do not like cms such as drupal for the problems with configuration by
clicking. I could spend days to make everything ticking in my way. From
the other way it's good for giving power to the users.
Best wishes,
for community and developers
xwiki seems to be professional and awesome.
We want to use this wiki for a non-profit organisation, a fab lab located
in Quebec City (see www.espace-lab.org). A fab lab is a place where
everyone can meet and build objects in common.
This wiki will be used for exchanging ideas and synchronise our projects
and activities, it will also be used for the machine/tooling reservation.
The owner name is espacelab or my name if not possible (Benoit Debaque).
wiki name: espacelab.myxwiki.org
Thank you for your support !
--
Benoit Debaque
www.espace-lab.org
On 19 Jan 2015 at 09:15:32, Thanh Hong Dai (hdthanh@tma.com.vn(mailto:hdthanh@tma.com.vn)) wrote:
>
> Hi,
>
>
>
>
>
> Sorry, but I can’t see how it would help in my use case.
>
>
>
>
>
> My code currently generates a list of links and the title of the page:
>
>
>
>
>
> * [[name >> fullname]]
>
>
>
>
>
> Adding the {{{…}}} outside the link syntax [[…]] doesn’t make sense, and placing it inside breaks everything (it doesn’t pass any of my hard test cases).
It will work in the label but not in the reference obviously…
Thanks
-Vincent
PS: Please use the list
> From: Vincent Massol [mailto:vmassol@gmail.com] On Behalf Of vincent(a)massol.net
> Sent: Monday, 19 January, 2015 2:23 PM
> To: Thanh Hong Dai; XWiki Users
> Subject: Re: [xwiki-users] Is there an escape tool to escape text in XWiki syntax?
>
>
>
>
>
>
>
> Hi,
>
>
>
>
>
>
>
> If you want to make sure to output verbatim text (ie not interpreted) you can use the {{{…}}} syntax when using XWiki Syntax 2.0+
>
>
>
>
>
>
>
> See http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HVerbatim
>
>
>
>
>
>
>
> However this may not be enough for your needs. We’re currently lacking an escape tool for wiki syntax AFAIK and I remember seeing a JIRA issue about this (can’t find it right now). I agree that we should push for this since it’s becoming something more and more asked for.
>
>
>
>
>
>
>
> Thanks
>
>
>
> -Vincent
>
>
>
>
>
> On 19 Jan 2015 at 08:15:16, Thanh Hong Dai (hdthanh@tma.com.vn(mailto:hdthanh@tma.com.vn))(mailto:hdthanh@tma.com.vn(mailto:hdthanh@tma.com.vn))) wrote:
>
> > Currently, I'm using something like this to generate a list of pages whose
> > prefix is "Prefix:" and link to them:
> >
> >
> >
> > {velocity}} (((
> >
> > #foreach ($row in $services.query.hql("select doc.name, doc.fullName from
> > XWikiDocument doc where doc.space.hidden = false and doc.space not in
> > ('XWiki', 'Sandbox', 'Main', 'Macros') and doc.name like
> > 'Prefix:%'").execute())
> >
> > * **[[$row[0].replaceFirst("Prefix: *", "").replaceAll("~",
> > "~~~~").replaceAll("[\x20-\x7f&&[^a-zA-Z0-9 ~]]",
> > "~~$0")>>doc:$row[1].replaceAll("~", "~~").replaceAll("[\x5b\x5d|]", "\\$0
> >(file://///$0%0b%3e%20) ")]]**
> >
> > #end
> >
> > ))) {{/velocity}}
> >
> >
> >
> > I have tested with some heavy test cases like
> >
> >
> >
> > Prefix:
> > ~~~!!!```@@@$$$%%%^^^&&&***((()))___----+++==={{{}}}[[[]]]\\\|||:::;;;'''"""
> > ???///...>>>,,,<<<
> >
> >
> >
> > And what I have above works correctly (both showing the title and linking to
> > the document). I only work on a few hard test cases, though, so I'm not sure
> > if I missed anything.
> >
> >
> >
> > Is there a method that does all this automatically? Or is there a better
> > approach to this?
> >
>
>
>
>
>
>
I'd like to be able to generate pure JSON from a wiki page, to use in other pages via AJAX. To that end I created a page with the following content:
{{velocity wiki="false"}}
$response.setContentType('application/json')
{
"greeting" : "Hello",
"location": "World"
}
{{/velocity}}
Calling this via /xwiki/bin/get/Sandbox/JsonTest I get the following code (as reported by FireBug):
<p><br/>{<br/>"greeting" : "Hello",<br/>"location": "World"<br/>}</p>
I get the same via /xwiki/bin/view/AlertDB/JsonTest?xpage=plain (as suggested in http://jira.xwiki.org/browse/XWIKI-3413). Is there a way to produce pure JSON by a velocity script by some variation of my approach?
Hello,
To make it work I add this new property in XWiki.XWikiUsers class:
/bin/edit/XWiki/XWikiUsers?editor=class
Name: doc.creationDate Type: String
PrettyName: Creation date
Custom Display:
{{velocity}}
{{html}}<i>$value</i>{{/html}}
{{/velocity}}
The problem is that "Custom display" is not taking into account and not rendering.
I know HTML is not interpreted but I want to remove time of "Creation date" field but "Custom Display" is apparently not used on a database field.
Here a screenshot on what I want: http://snag.gy/bWnu9.jpg
Do you have an idea how I must do it?
Is it normal than "Custom Display" is not used?
Thxs for any help
Pascal BASTIEN