Re: [xwiki-users] How to translate Tooltips for Watchlist icons?

2016-12-15 Thread Marius Dumitru Florea
Hi Julio,

Go to http://l10n.xwiki.org and search for the tooltip text, e.g. "Watch
this page", using the dedicated search panel on the left. It will take you
to a dedicated search page. Searching using the "Translated text" field
doesn't bring any results but using the "Original text" field works.
Setting the language field to "pt_BR" narrows the results.

Hope this helps,
Marius

On Thu, Dec 15, 2016 at 7:10 PM, Julio Brum  wrote:

> 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+Application/WatchList-Notifications.png
>
> Best Regards,
> Julio
>


[xwiki-users] How to translate Tooltips for Watchlist icons?

2016-12-15 Thread Julio Brum
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+Application/WatchList-Notifications.png

Best Regards,
Julio


Re: [xwiki-users] How to manually migrate a page to Nested Pages?

2016-12-15 Thread Julio Brum
Perfect! Thank you all!

Best Regards,
Julio

2016-12-15 7:01 GMT-02:00 Marius Dumitru Florea <
mariusdumitru.flo...@xwiki.com>:

> On Thu, Dec 15, 2016 at 1:04 AM, Julio Brum  wrote:
>
> > In practice, the only problem of not migrating to Nested Pages is that a
> > page may have a different breadcrumb path than the URL path. Migrating to
> > Nested Pages, the URL path remains the same as the breadcrumb. It is?
> >
>
> If you had this before the upgrade
>
> URL: /xwiki/bin/view/A/B
> Breadcrumb: Home / X / Y / B
>
> then after the upgrade (without any migration) you have
>
> URL: /xwiki/bin/view/A/B
> Breadcrumb: Home / A / B
>
> So you "loose" the parent-child hierarchy. Actually the information is not
> lost, but the new breadcrumb doesn't use it. The new breadcrumb uses by
> default the page location (what you have in the URL). So you have 3
> options:
>
> (1) You don't care about the old parent-child hierarchy. In this case you
> don't need to do anything.
> (2) You want to keep using the parent-child hierarchy. In this case you
> need to read about hierarchyMode configuration in
> http://platform.xwiki.org/xwiki/bin/view/Features/ContentOrganization/
> NestedPagesMigration/
> (3) You want to convert / migrate the parent-child hierarchy to the
> Nested-Pages hierarchy. In this case you either use the Nested Pages
> Migrator, which automates this for you, or you do it manually my moving
> pages around (e.g. in the example above you would move page B from A to X/Y
> so that its location becomes X/Y/B).
>
> Hope this helps,
> Marius
>
>
> >
> > Best Regards,
> > Julio
> >
> > 2016-12-14 18:46 GMT-02:00 Marius Dumitru Florea <
> > mariusdumitru.flo...@xwiki.com>:
> >
> > > Hi Julio,
> > >
> > > You don't need to migrate individual wiki pages. You can continue to
> > access
> > > and edit them as before. The Nested Pages Migrator Application is
> useful
> > if
> > > you want to migrate from the old Parent-Child *hierarchy* to the new
> > > Nested-Pages *hierarchy*. Otherwise, if you just want to add child
> pages
> > to
> > > an existing page that is not a space home page (in the old terminology)
> > > then you can simply rename that page in order to make it
> "non-terminal".
> > > See
> > > http://platform.xwiki.org/xwiki/bin/view/Features/DocumentLifecycle#
> > > HMove2FRename
> > > . There's a note there:
> > >
> > > "And if you're an advanced user
> > >  > > HSimpleandAdvancededitingmodes>
> > > you'll be able to also control whether the new page will be a Terminal
> > page
> > > (i.e. a page that cannot have children, see also Terminology
> > >  ContentOrganization/#
> > > HTerminology>)
> > > or not"
> > >
> > > Hope this helps,
> > > Marius
> > >
> > > On Wed, Dec 14, 2016 at 10:03 PM, Julio Brum 
> > wrote:
> > >
> > > > 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
> > > >
> > >
> >
>


Re: [xwiki-users] Bounced Emails

2016-12-15 Thread Keith Davis
Google Groups UI is goofy, and I hate reading it online, but the email
functionality is pretty good and very reliable. I manage a couple of them
and we've had good luck.

My .02

On Thu, Dec 15, 2016 at 2:17 AM, Cuong Hoang  wrote:

> Awsome, Vincent, thanks!
> Best,
> Cuong
>
> On Thu, Dec 15, 2016 at 2:37 PM Vincent Massol  wrote:
>
> > Hi Cuong,
> >
> > > On 15 Dec 2016, at 07:35, Cuong Hoang  wrote:
> > >
> > > Same here, I posted a message on 25 Nov, get some error message from
> > > users-requ...@xwiki.org about excessive bounces, excerpt: "Your
> > membership
> > > in the mailing list users has been disabled due to excessive bounces.
> The
> > > last bounce received from you was dated 24-Nov-2016.  You will not get
> > any
> > > more messages from this list until you re-enable your membership. You
> > will
> > > receive 1 more reminders like this before your membership in the list
> is
> > > deleted…”
> >
> > I’ve re-enabled your membership for you (you can probably do that by
> > yourself by sending some commands but I’m not sure how TBH).
> >
> > I also went through the full users list and re-enabled all email
> addresses
> > that were no receiving emails because of bounces, just in case (there
> were
> > 4 only).
> >
> > > I followed the instructions in the email but no thing worked, haven't
> > > received any messages from xwiki-users group since that day. I suspect
> > many
> > > xwiki might have the same problems, and they just "disappeared".
> Thinking
> > > of trying other email address than gmail…
> >
> > We’re also having lots of issues recently because of DMARC policy change
> > from yahoo. See http://markmail.org/message/5zpzp6pflgcb2duj
> >
> > Note sure if your problem is related to this or not though.
> >
> > We started discussing solutions and one of them would be to switch from
> > managing our lists ourselves with mailman and moving to some other tools
> > such as Google Groups. This discussion is still going on but we probably
> > need to hurry up a bit…
> >
> > Thanks
> > -Vincent
> >
> > > On Mon, Nov 14, 2016 at 10:40 PM Keith Davis <
> laurinkeithda...@gmail.com
> > >
> > > wrote:
> > >
> > > My subscription keeps getting disabled due to excessive bounces. I
> would
> > > understand that if I was still hosting my web host's email server, but
> > I'm
> > > not having email send to my Gmail account. Any ideas what would be
> > causing
> > > that?
> > >
> > > --
> > > Keith Davis
> > > 214-906-5183 <(214)%20906-5183> <(214)%20906-5183>
> >
>



-- 
Keith Davis
214-906-5183


[xwiki-users] How to suppress default date in xForms based on XWiki Class

2016-12-15 Thread Gerritjan Koekkoek
We have classes with date properties

Of these properties we set "Empty Is Today" = false


In the sheet we use

; $escapetool.xml($doc.displayPrettyName('d1', 
false, false)) : $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
Facebook
email





Re: [xwiki-users] Upgrading xwiki

2016-12-15 Thread Mahomed Hussein
You should probably do a full-backup as per the backup instructions and then 
let the upgrade wizard handle the conversion/transfer for you. If you are 
installing a new instance of XWiki and want to restore the old files/documents, 
then you need to say that so people can help you.

As for "what is merge copy", Vincent's response was very clear. If you don't 
understand what "merge" means, then this link will help - 
https://lmgtfy.com/?q=define%3A+merge

Basically it means to combine the old configuration files and new configuration 
files. You do this "manually" by comparing the differences between the old and 
the new files and ending up with a new configuration that has your custom 
changes from the old file (where relevant) plus the new settings from the new 
file. In most cases though if you are doing an in-place upgrade, the wizard 
does this for you (or at least makes it easier).

That being said, I agree with Cuong Hoang, you probably need to get someone 
with a bit more knowledge to do this for you.


Kind regards,




Mahomed Hussein
Custodian Data Centre
Email: maho...@custodiandc.com
http://www.CustodianDC.com

-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of hamiazuhk26
Sent: 15 December 2016 09:57
To: users@xwiki.org
Subject: Re: [xwiki-users] Upgrading xwiki

Thanks Vincent for fast reply. I didn't clear this statement.

"you should not copy over the configuration files exactly since the new version 
could have added new configuration options”.

If i can't copy over the configuration files exactly, so how do i copy the 
configuration files?.
I am trying to copy the files in older version and paste it in newer version 
seems it is not copying and nothings change in newer version, that's confusing 
me.

I have import a lot of document in older version and now want to back up and 
insert all doc to newer version. How do i make it works? Why, after i copy the 
web-INF files and paste it in new version, nothings change..

Please advice.




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Upgrading-xwiki-tp7602115p7602127.html
Sent from the XWiki- Users mailing list archive at Nabble.com.


Re: [xwiki-users] Upgrading xwiki

2016-12-15 Thread Cuong Hoang
Hmm.. if you ask what it's meant by merge than I guess you probably are not
in software development or system administration, in which case I suggest
you contact your system administrator or an experienced software developer,
they can help you do the installation/upgrading. Regards.

On Thu, Dec 15, 2016 at 4:56 PM hamiazuhk26  wrote:

> Thanks Vincent for fast reply. I didn't clear this statement.
>
> "you should not copy over the configuration files exactly since the new
> version could have added new configuration options”.
>
> If i can't copy over the configuration files exactly, so how do i copy the
> configuration files?.
> I am trying to copy the files in older version and paste it in newer
> version
> seems it is not copying and nothings change in newer version, that's
> confusing me.
>
> I have import a lot of document in older version and now want to back up
> and
> insert all doc to newer version. How do i make it works? Why, after i copy
> the web-INF files and paste it in new version, nothings change..
>
> Please advice.
>
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Upgrading-xwiki-tp7602115p7602127.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
>


Re: [xwiki-users] Nested document killed {{spaceindex}} macro?

2016-12-15 Thread Pascal BASTIEN
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)  #end ## Close previous space 
item if needed
${escapetool.xml($document.getSpace())} ## Open new space item
  #set($previousSpace = $document.getSpace())
#end
#if ($document.name == 'WebHome')
  ${escapetool.xml($document.getPlainTitle())}
#else
  ${escapetool.xml($document.getPlainTitle())}
#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 
 a écrit :

 Objet: Re: [xwiki-users] Nested document killed {{spaceindex}} macro?
 À: "XWiki Users" 
 Date: Mercredi 14 décembre 2016, 16h11
 

 
 ...
 "Space"' on
 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module#HQueryLanguageExamples
 , but take into account the issue described
 at
 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module#HFindingpagesundernestedpages
 .
 
 - replace my
 target /Main/SpaceIndex?space=MySpace by ... ???
 >
 
 On
 http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki72#HFlamingo
 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
 >
 


Re: [xwiki-users] Upgrading xwiki

2016-12-15 Thread hamiazuhk26
Thanks Vincent for fast reply. I didn't clear this statement.

"you should not copy over the configuration files exactly since the new
version could have added new configuration options”. 

If i can't copy over the configuration files exactly, so how do i copy the
configuration files?.
I am trying to copy the files in older version and paste it in newer version
seems it is not copying and nothings change in newer version, that's
confusing me.

I have import a lot of document in older version and now want to back up and
insert all doc to newer version. How do i make it works? Why, after i copy
the web-INF files and paste it in new version, nothings change..

Please advice.




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Upgrading-xwiki-tp7602115p7602127.html
Sent from the XWiki- Users mailing list archive at Nabble.com.


Re: [xwiki-users] Upgrading xwiki

2016-12-15 Thread Vincent Massol

> On 15 Dec 2016, at 10:29, hamiazuhk26  wrote:
> 
> I have go through the link so many times but it did not help me much.
> My question is what is mean by merge copy?

It says:

“
Then copy the configuration files and the permanent directory from the old 
installation to the new one. Ideally you should not copy over the configuration 
files exactly since the new version could have added new configuration options 
and thus ideally you should do a merge instead of a pure copy. Another strategy 
is to use the new configuration files, not copy over the old configuration 
files and instead manually edit the new configuration to make the same changes 
as you have may done before (If you've never touched the configuration files 
then there's nothing to do obviously!).
“

What is not clear? It’s pretty clear to me: "you should not copy over the 
configuration files exactly since the new version could have added new 
configuration options”.

FYI I’ve added a way to automated a bit the merge but I fear this may confuse 
you even more:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade#HUpgradingthestandarddistribution

Thanks
-Vincent

> I have try to copy the configuration files(old version) and paste in newer
> version but still did not work.
> 
> 
> 
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Upgrading-xwiki-tp7602115p7602125.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.



Re: [xwiki-users] Upgrading xwiki

2016-12-15 Thread hamiazuhk26
I have go through the link so many times but it did not help me much.
My question is what is mean by merge copy?
I have try to copy the configuration files(old version) and paste in newer
version but still did not work.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Upgrading-xwiki-tp7602115p7602125.html
Sent from the XWiki- Users mailing list archive at Nabble.com.


Re: [xwiki-users] Upgrading xwiki

2016-12-15 Thread hamiazuhk26
that link u give didnt help much. I just want to know what is mean by merge
copy?

On Thu, Dec 15, 2016 at 5:16 PM, Marius Dumitru Florea [via XWiki] <
ml-node+s475771n7602123...@n2.nabble.com> wrote:

> On Thu, Dec 15, 2016 at 11:13 AM, hamiazuhk26 <[hidden email]
> >
> wrote:
>
> > I am installing xwiki 8.3 version and i am using this version to import
> > page, create page, forum and many more.
> >
>
>
> > I am thinking on how to save all my
> > data , afraid if something happen the data will be lost.
>
>
> Then maybe you're looking for
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Backup
>
>
> > Just found this
> > link but it does not really help me.
> > upgrade
> >  > HUpgradingthestandarddistribution>
> >
> > I have read some notes, and tells me to backup several files/folder but
> > need
> > to do MERGE COPY INSTEAD OF PURE COPY. What is mean by merge copy? I
> don't
> > understand and don't have idea how to backup it and insert into newer
> > version.
> > 
> >
> >
> >
> > --
> > View this message in context: http://xwiki.475771.n2.nabble.
> > com/Upgrading-xwiki-tp7602115p7602122.html
> > Sent from the XWiki- Users mailing list archive at Nabble.com.
> >
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
> http://xwiki.475771.n2.nabble.com/Upgrading-xwiki-tp7602115p7602123.html
> To start a new topic under XWiki- Users, email
> ml-node+s475771n475772...@n2.nabble.com
> To unsubscribe from Upgrading xwiki, click here
> 
> .
> NAML
> 
>




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Upgrading-xwiki-tp7602115p7602124.html
Sent from the XWiki- Users mailing list archive at Nabble.com.


Re: [xwiki-users] Upgrading xwiki

2016-12-15 Thread Marius Dumitru Florea
Maybe you can give as a link to the guide that you're following or whatever
is the place where you've seen these instructions, because it's not clear
what you're trying to do.

On Thu, Dec 15, 2016 at 10:21 AM, Khu Gambateh 
wrote:

> how to copy the configuration files and do the merge copy?
> What is merge copy? Directly copy paste or what..
> Im stuck, please help me
>


Re: [xwiki-users] How to manually migrate a page to Nested Pages?

2016-12-15 Thread Marius Dumitru Florea
On Thu, Dec 15, 2016 at 1:04 AM, Julio Brum  wrote:

> In practice, the only problem of not migrating to Nested Pages is that a
> page may have a different breadcrumb path than the URL path. Migrating to
> Nested Pages, the URL path remains the same as the breadcrumb. It is?
>

If you had this before the upgrade

URL: /xwiki/bin/view/A/B
Breadcrumb: Home / X / Y / B

then after the upgrade (without any migration) you have

URL: /xwiki/bin/view/A/B
Breadcrumb: Home / A / B

So you "loose" the parent-child hierarchy. Actually the information is not
lost, but the new breadcrumb doesn't use it. The new breadcrumb uses by
default the page location (what you have in the URL). So you have 3 options:

(1) You don't care about the old parent-child hierarchy. In this case you
don't need to do anything.
(2) You want to keep using the parent-child hierarchy. In this case you
need to read about hierarchyMode configuration in
http://platform.xwiki.org/xwiki/bin/view/Features/ContentOrganization/NestedPagesMigration/
(3) You want to convert / migrate the parent-child hierarchy to the
Nested-Pages hierarchy. In this case you either use the Nested Pages
Migrator, which automates this for you, or you do it manually my moving
pages around (e.g. in the example above you would move page B from A to X/Y
so that its location becomes X/Y/B).

Hope this helps,
Marius


>
> Best Regards,
> Julio
>
> 2016-12-14 18:46 GMT-02:00 Marius Dumitru Florea <
> mariusdumitru.flo...@xwiki.com>:
>
> > Hi Julio,
> >
> > You don't need to migrate individual wiki pages. You can continue to
> access
> > and edit them as before. The Nested Pages Migrator Application is useful
> if
> > you want to migrate from the old Parent-Child *hierarchy* to the new
> > Nested-Pages *hierarchy*. Otherwise, if you just want to add child pages
> to
> > an existing page that is not a space home page (in the old terminology)
> > then you can simply rename that page in order to make it "non-terminal".
> > See
> > http://platform.xwiki.org/xwiki/bin/view/Features/DocumentLifecycle#
> > HMove2FRename
> > . There's a note there:
> >
> > "And if you're an advanced user
> >  > HSimpleandAdvancededitingmodes>
> > you'll be able to also control whether the new page will be a Terminal
> page
> > (i.e. a page that cannot have children, see also Terminology
> >  > HTerminology>)
> > or not"
> >
> > Hope this helps,
> > Marius
> >
> > On Wed, Dec 14, 2016 at 10:03 PM, Julio Brum 
> wrote:
> >
> > > 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
> > >
> >
>


[xwiki-users] upgrading issues

2016-12-15 Thread hamiazuhk26
how to copy the configuration files and do the merge copy? 
What is merge copy? Directly copy paste or what.. 
Im stuck, please help me 



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/upgrading-issues-tp7602117.html
Sent from the XWiki- Users mailing list archive at Nabble.com.


[xwiki-users] Upgrading xwiki

2016-12-15 Thread Khu Gambateh
how to copy the configuration files and do the merge copy?
What is merge copy? Directly copy paste or what..
Im stuck, please help me