Hi all!
My collaborators ask me if XWiki give the possibility to view wiki as user or group (like Facebook). I think this feature don’t exist. Could you confirm that?
Thank you
Marc Audefroy
Â
On 15 Jan 2015 at 11:17:11, ICLED (c.ledermann@interact-consulting.com(mailto:c.ledermann@interact-consulting.com)) wrote:
> Hi Vincent, thanks to point me to this entry in the extensions.
> BTW I made a search with "list macros" and drew a blank, "all macros" and
> "list all" would have given me my answer!
I added this snippet after you asked, to help you, that’s why you drew a blank before ;)
> I played around with your snipet, I found most of the attibutes I want, but
> I don't know how to get the source document full name (wiki:space.doc) or a
> reference to the document's object.
A macro is some java code so the notion of source document doesn’t exist in the macro descriptor.
When you create a wiki macro we generate java code (using Dynamic Proxies).
However, you can simply look for documents containing MacroClass xobjects. This is what this page does in your wiki:
http://<server>/xwiki/bin/view/XWiki/WikiMacros
> I also want to know thw scope of the macro; global, local to the wiki or the
> user.
You can also get that from the XWiki.WikiMacroClass class.
At the java level, the visibility corresponds to the ComponentManager in which the macro component is registered but this cannot be retrieved from the Macro Descriptor.
Hope it helps,
-Vincent
> Any way to get the source document full name (wiki:space.doc) or (better) a
> reference to the document's object?
>
> The rationale behind this, is that I must migrate a XWIKI from 5.2.1 to
> current, and the WIKI is in a very poor condition, so there is a lot of
> cleaning&repair work to do.
>
> {{groovy}}
> import org.xwiki.rendering.macro.Macro
>
> println "| Name | Id | Description | DefaultCategory | Priority | InlineMode
> |"
>
> services.component.componentManager.getInstanceList(Macro.class).each() {
> def descriptor = it.descriptor
> println "| ${descriptor.name} | ${descriptor.getId()} |
> ${descriptor.description} | ${descriptor.getDefaultCategory()} |
> ${it.getPriority()} | ${it.supportsInlineMode()} |"
> }
> {{/groovy}}
>
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