Hi,
My wiki is in Portuguese (pt_BR), but the Tooltips of the Watchlist icons
at the top of the page are in English. How do I translate?
I need, for example, that the text "watch this page" be in Portuguese.
Http://extensions.xwiki.org/xwiki/bin/download/Extension/Watchlist+Applicat…
Best Regards,
Julio
Hi,
How can I manually migrate a page to Nested Pages without using the Nested
Pages Migrator Application (it does not work on my xwiki - I waited 15
minutes and nothing happened)?
Best Regards,
Julio
We have classes with date properties
Of these properties we set "Empty Is Today" = false
In the sheet we use
; <label for="WaihonaCode.qowClass_0_d1">$escapetool.xml($doc.displayPrettyName('d1', false, false))</label> : $doc.display('d1')
It displays a date and when saving the property is saved with that date while user did not enter any date. The date seems to be connected to the class-page-date?
The requirement is that the field can be left empty!
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
Thxs for your advices but I didn't found a way to displayed last edited documents but finally I edited the code to resolve my use case.
My spaceindex
{{spaceindex sort="modificationDate" count="20" /}}
displayed this nice screen now:
https://snag.gy/ia6XOZ.jpg
Imodified spaceindex macro to list all last doc (nested and terminale page) from current space:
/bin/edit/Main/SpaceIndex?editor=object with
*****************
#if ("$!spaceMacroParam" != '')
#set ($spaceParam = $spaceMacroParam)
#end
#set ($docNames = $services.query.hql("where doc.space like ? or doc.space like ? order by $sortQuery").addFilter('currentlanguage').addFilter('hidden').setLimit($limit).bindValues(["${spaceParam}","${spaceParam}.%"]).execute())
#if ($docNames.size() == $limit)
##set ($docCount = $services.query.xwql('where doc.space = :space').bindValue('space', $spaceParam).addFilter('unique').count())
#set ($docCount = $services.query.hql("where doc.space like ? or doc.space like ?").bindValues(["${spaceParam}","${spaceParam}.%"]).addFilter('unique').count())
#set ($remaining = $mathtool.sub($docCount, $limit))
#if ($remaining > 0)
(% class="documentListMore" %) (((
//Liste des $limit derniers documents $sortMessg.//
{{html}}▶{{/html}} //[[Consulter la liste complète>>Main.SpaceIndex||queryString="space=$spaceParam"]]//
)))
#end
#end
{{html}}
#displayDocumentList($docNames false [])
*****************
and edited displayDocumentList macro in ./templates/macros.vm to add nice folder icon for parent page:
*****************
#foreach($document in $documentList)
#if ($document.getSpace() != $previousSpace && $displaySpaces)
#if($velocityCount > 1) </ul></div></li> #end ## Close previous space item if needed
<li class="xitem space"><div class="xitemcontainer">${escapetool.xml($document.getSpace())}<ul class="xlist"> ## Open new space item
#set($previousSpace = $document.getSpace())
#end
#if ($document.name == 'WebHome')
<li class="xitem space"><div class="xitemcontainer"><a href="$document.getURL()">${escapetool.xml($document.getPlainTitle())}</a></div></li>
#else
<li class="xitem page"><div class="xitemcontainer"><a href="$document.getURL()">${escapetool.xml($document.getPlainTitle())}</a></div></li>
#end
#end
#if($displaySpaces)
*****************
I haven't page and parent name with dot may be I will check my code again when I have some (I'm too lazy)
A better fix would be to add a new sort parameter in treeview but I didn't found the query in xwiki code.
Thxs
Pascal B
--------------------------------------------
En date de : Mer 14.12.16, Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com> a écrit :
Objet: Re: [xwiki-users] Nested document killed {{spaceindex}} macro?
À: "XWiki Users" <users(a)xwiki.org>
Date: Mercredi 14 décembre 2016, 16h11
...
"Space"' on
http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module#HQueryLan…
, but take into account the issue described
at
http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module#HFindingp…
.
- replace my
target /Main/SpaceIndex?space=MySpace by ... ???
>
On
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki72#HFlami…
there is this mention:
"A new "children" viewer is now
accessible in the "more actions" menu,
along with the other viewers."
The URL is
/xwiki/bin/view/Path/To/Page/?viewer=children . It uses a
live
table. If you want a tree instead then
there is
http://extensions.xwiki.org/xwiki/bin/view/Extension/Children+Macro/
.
Hope this helps,
Marius
> Probably I must create a custom LT to list
every sub pages
>
Hello,
With my xwiki7.0.1 to 8.4 upgrade process, I noticed that all my WebHome on spaces (with dashboard+{{spaceindex}} macro) are "broken".
After a little bit of search, I understood that spaceindex macro list only direct children terminal page...
In some different post from dev list, it seem that I must use {{documentTree}} macro instead.
My spaces dashboard use
{{spaceindex sort="modificationDate" count="20" /}}
to list the 20 more recents page and I added a shortcut to /bin/view/Main/SpaceIndex?space=MySpace (broken too:-( )
Could you give me some advices how can I replace my "spaceindex" to:
- list the 20 more recents page (terminale and none terminale) on current space?
I didn't found a "modificationDate" sorting parameter in {{documentTree}}
- replace my target /Main/SpaceIndex?space=MySpace by ... ???
Probably I must create a custom LT to list every sub pages
Finaly, may be a caution text must be added on this page: http://extensions.xwiki.org/xwiki/bin/view/Extension/SpaceIndex+Macro
(ie "don't use this macro anymore with nested page!" or "list only direct children terminal page ")
Thxs for your help.
Pascal BASTIEN
Hi,
What alternatives to the default Gaptscha can be used? And how?
I like the 'I am not a robot' checkboxes that we see on more and more sites.
Our users complain about the read-ability of the current XWiki Gaptscha version
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
Thanks for your help :)
Then I will have to make an update. And thanks for the Ticket...now I don't have to look for a version number.
Kind regards,
Patrick
Hello fellow Xwikiers,
I need your help to solve a livetable issue for my business unit wiki.
I have a Livetable displaying elements of a Class "Demandes", but only a
part of them are not visible to some users without admin or programming
rights.
Only demands from 2015 are shown despite as soon as I create a new one, it
is impossible to find it in the livetable. I checked the rights = no
restrictions, I checked the livetable Velocity code = no filters anywhere.
Is it possible that it is a trouble between database query and displaying in
the livetable ? Some kind of trouble in JSON results ?
Thank you for your help.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Livetable-and-rights-or-filter-issues-tp7…
Sent from the XWiki- Users mailing list archive at Nabble.com.
The problem is, I am not even getting an error message when trying to
install. I simply cannot select to install on the extension manager.
See here:
http://imgur.com/a/FZtCr
I am using the war I got here:
http://download.forge.ow2.org/xwiki/xwiki-enterprise-web-8.4.2.war
And I am at a loss to explain why this won't do at all. Especially since
installing pegdown manually did not seem to help, since pegdown has a
dependency on parboiled and that seems to have been ignored, or maybe I
did something wrong there.
Sorry for the missend, I am not used to working with mailing lists and
am not getting single replys back