Re: [xwiki-users] Xwiki Appli: how can I remove bold in view mode?

2015-03-09 Thread Pascal BASTIEN
Nope it is not the cause of the problem.
By default, in view mode,  $doc.display($prop.getName()) displayed between 
strong tag.

Keep looking...


En date de : Sam 7.3.15, Eduard Moraru enygma2...@gmail.com a écrit :

 Objet: Re: [xwiki-users] Xwiki Appli: how can I remove bold in view mode?
 À: Pascal BASTIEN pbasnews-xw...@yahoo.fr, XWiki Users users@xwiki.org
 Date: Samedi 7 mars 2015, 21h08
 
 Hi,
 
 You have probably entered the bold
 styling by mistake. Have a look at the stored content of
 that property ($doc.getValue($fieldName)) and you will
 probably notice that there are instructions (**something**)
 in it to make it bold. If this is true, edit the property
 accordingly... select all the text, bold it and then un-bold
 it again in an effort to get rid of all traces of bold
 styling in your content.
 
 Hope this helps,
 Eduard
 
 On Fri, Mar 6, 2015 at
 12:41 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr
 wrote:
 Hello,
 
 In my XWiki application, I have a Sheet + Class with a
 property with textArea/wysiwyg type.
 
 I use public String display(String fieldname, String
 mode)
 
 
http://maven.xwiki.org/site/docs/xwiki-javadoc-5.0.x/com/xpn/xwiki/api/Document.html#display%28java.lang.String,%20java.lang.String%29
 
 
 
 Unfortunaly in view mode all values are rendering between
 strong /strong.
 
 How can I remove them?
 
 
 
 An example, in edit mode, in my  textArea/wysiwyg, I
 have
 
 -
 
 Some text bold
 
 
 
    1. first
 
    2. second
 
 -
 
 
 
 In view mode I obtein:
 
 Some text bold
 
 
 
   2. first
 
   3. second
 
 (I must reinit counter list too)
 
 
 
 HTML code:
 
 strong/strong
 
 p
 
 strong
 
 Some text
 
 strongbold/strong
 
 /strong
 
 /p
 
 ol
 
 li style=list-style-type: none
 
 strong/strong
 
 /li
 
 li
 
 strongfirst/strong
 
 /li
 
 li
 
 /ol
 
 Of course i cannot remove strong/strong or
 modify style because I want to keep this one:
 strongbold/strong
 
 
 
 Thxs for any help
 
 
 
 
 
 Pascal B
 
 
 
 ___
 
 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] Xwiki Appli: how can I remove bold in view mode?

2015-03-09 Thread Eduard Moraru
Hi,

Perhaps I do not understand properly your issue. Is it a rendering issue?
Can you reproduce it on the page content of a document instead of doing it
in a property of an object? Can you give a complete example (copy/paste or
xar export) where this is happening so we can reproduce it?

Thanks,
Eduard

On Mon, Mar 9, 2015 at 2:31 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr
wrote:

 Nope it is not the cause of the problem.
 By default, in view mode,  $doc.display($prop.getName()) displayed between
 strong tag.

 Keep looking...

 
 En date de : Sam 7.3.15, Eduard Moraru enygma2...@gmail.com a écrit :

  Objet: Re: [xwiki-users] Xwiki Appli: how can I remove bold in view mode?
  À: Pascal BASTIEN pbasnews-xw...@yahoo.fr, XWiki Users 
 users@xwiki.org
  Date: Samedi 7 mars 2015, 21h08

  Hi,

  You have probably entered the bold
  styling by mistake. Have a look at the stored content of
  that property ($doc.getValue($fieldName)) and you will
  probably notice that there are instructions (**something**)
  in it to make it bold. If this is true, edit the property
  accordingly... select all the text, bold it and then un-bold
  it again in an effort to get rid of all traces of bold
  styling in your content.

  Hope this helps,
  Eduard

  On Fri, Mar 6, 2015 at
  12:41 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr
  wrote:
  Hello,

  In my XWiki application, I have a Sheet + Class with a
  property with textArea/wysiwyg type.

  I use public String display(String fieldname, String
  mode)


 http://maven.xwiki.org/site/docs/xwiki-javadoc-5.0.x/com/xpn/xwiki/api/Document.html#display%28java.lang.String,%20java.lang.String%29



  Unfortunaly in view mode all values are rendering between
  strong /strong.

  How can I remove them?



  An example, in edit mode, in my  textArea/wysiwyg, I
  have

  -

  Some text bold



 1. first

 2. second

  -



  In view mode I obtein:

  Some text bold



2. first

3. second

  (I must reinit counter list too)



  HTML code:

  strong/strong

  p

  strong

  Some text

  strongbold/strong

  /strong

  /p

  ol

  li style=list-style-type: none

  strong/strong

  /li

  li

  strongfirst/strong

  /li

  li

  /ol

  Of course i cannot remove strong/strong or
  modify style because I want to keep this one:
  strongbold/strong



  Thxs for any help





  Pascal B



  ___

  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] Installed version 6.4.1 is not valid

2015-03-09 Thread Marius Dumitru Florea
On Fri, Mar 6, 2015 at 3:14 PM, Conficio kajkand...@conficio.com wrote:
 I did follow the Upgrade guide, off course. What makes me confused is that it
 talks (like the install guide) of replacing the war file, when I have to
 unpack the war file in order to configure the hibernate.cfg and the
 xwiki.cfg and xwiki.properties.

 I also missed the importance of actually setting the permanent.directory, as
 it is by default stored in a temp location.

 So now I did restore the 6.4.1 environment and then moved the permanent
 directory then started again and it ran through the upgrade wizard for 6.4.1
 seemingly successfully. Then I did upgrade to 6.4.2 again (replaced the
 directory of webapp (with the unpacked war content and made sure the config
 is right). 6.4.2 greats me with the same screen (6.4.1 UI invalid) clicking
 upgrade results in teh following



 The following extensions will be upgraded:

 Admin User Application6.4.2 (in wiki Home) Version 6.4.1 is installed
 Attachment Application6.4.2 (in wiki Home) Version 6.4.1 is installed
 Administration Application6.4.2 (in wiki Home) Version 6.4.1 is
 installed
 XWiki Platform - Livetable - UI6.4.2 (in wiki Home) Version 6.4.1 is
 installed
 Icon Theme Application6.4.2 (in wiki Home) Version 6.4.1 is installed
 Font Awesome Icon Theme6.4.2 (in wiki Home) Version 6.4.1 is installed
 Tree Macro6.4.2 (in wiki Home) Version 6.4.1 is installed
 Index Application6.4.2 (in wiki Home) Version 6.4.1 is installed
 XWiki Platform - Panels - UI6.4.2 (in wiki Home) Version 6.4.1 is
 installed
 XWiki Platform - Scheduler - UI6.4.2 (in wiki Home) Version 6.4.1 is
 installed
 Activity Stream Application6.4.2 (in wiki Home) Version 6.4.1 is
 installed
 Message Stream Application6.4.2 (in wiki Home) Version 6.4.1 is
 installed
 User Profile Application6.4.2 (in wiki Home) Version 6.4.1 is installed
 Watchlist Application6.4.2 (in wiki Home) Version 6.4.1 is installed
 XWiki Platform - Statistics - UI6.4.2 (in wiki Home) Version 6.4.1 is
 installed
 Lucene Search Application6.4.2 (in wiki Home) Version 6.4.1 is installed
 Search Application6.4.2 (in wiki Home) Version 6.4.1 is installed
 Solr Search Application6.4.2 (in wiki Home) Version 6.4.1 is installed
 Office Importer Application6.4.2 (in wiki Home) Version 6.4.1 is
 installed
 XWiki Platform - WebDAV - UI6.4.2 (in wiki Home) Version 6.4.1 is
 installed
 XWiki Platform - Tag - UI6.4.2 (in wiki Home) Version 6.4.1 is installed
 XWiki Platform - Rendering - Wiki Macro Bridge - UI6.4.2 (in wiki Home)
 Version 6.4.1 is installed
 XWiki Platform - Annotations - UI6.4.2 (in wiki Home) Version 6.4.1 is
 installed
 XWiki Platform - Invitation - UI6.4.2 (in wiki Home) Version 6.4.1 is
 installed
 XWiki Platform - Extension - UI6.4.2 (in wiki Home) Version 6.4.1 is
 installed
 XWiki Platform - Sheet - UI6.4.2 (in wiki Home) Version 6.4.1 is
 installed
 XWiki Platform - User Interface Extension - UI6.4.2 (in wiki Home)
 Version 6.4.1 is installed
 App Within Minutes Application6.4.2 (in wiki Home) Version 6.4.1 is
 installed
 XWiki Platform - LinkChecker - UI6.4.2 (in wiki Home) Version 6.4.1 is
 installed
 Dashboard Application6.4.2 (in wiki Home) Version 6.4.1 is installed
 User Directory Application6.4.2 (in wiki Home) Version 6.4.1 is
 installed
 XWiki Platform - Logging - UI6.4.2 (in wiki Home) Version 6.4.1 is
 installed
 Color Themes Application6.4.2 (in wiki Home) Version 6.4.1 is installed
 Sandbox Application6.4.2 (in wiki Home) Version 6.4.1 is installed
 Help Application6.4.2 (in wiki Home) Version 6.4.1 is installed
 WYSIWYG Editor Configuration Application6.4.2 (in wiki Home) Version
 6.4.1 is installed
 Flamingo Theme Application6.4.2 (in wiki Home) Version 6.4.1 is
 installed
 Bootswatch Themes for Flamingo6.4.2 (in wiki Home) Version 6.4.1 is
 installed
 Mail Application6.4.2 (in wiki Home) Version 6.4.1 is installed
 XWiki Enterprise - UI - Common6.4.2 (in wiki Home) Installed version
 6.4.1 is not valid
 Blog Application6.4.2 (in wiki Home) Version 6.4.1 is installed
 XWiki Platform - Wiki - UI - Common6.4.2 (in wiki Home) Version 6.4.1 is
 installed
 Wiki Application6.4.2 (in wiki Home) Version 6.4.1 is installed
 XWiki Enterprise - UI - Main wiki6.4.2 (in wiki Home)

 Seemingly failing, as the same message persists, albeit now I have a
 continue button -
 https://www.dropbox.com/s/6e7n0i0974k5q2h/Screen%20Shot%202015-03-05%20at%2011.31.01%20PM.png?dl=0

It's not failing. This is the Upgrade Plan. By clicking on Continue
you confirm that you want the Upgrade Plan to be applied. And the
message Installed version 6.4.1 is not valid is normal: you changed
the war (so you have new XWiki APIs, v6.4.2) but the UI that is
installed (the wiki pages you have in database) are using the old APIs
(6.4.1). Clicking on Continue should update the UI 

Re: [xwiki-users] Document tree macro including pages from other spaces

2015-03-09 Thread Marius Dumitru Florea
On Thu, Mar 5, 2015 at 10:29 PM, Jamal ram...@gmail.com wrote:
 Hi,

 I have a wiki in which several spaces have pages with the same name, like
 so:

 Space 1
 |_ MyPage

 Space 2
 |_ MyPage

 I would like for the MyPage in each space to list its child documents.


 When I use the Document Tree macro for this, it lists the subpages of every
 page named MyPage, irrespective of what space it's in.

It works fine for me, see http://imgur.com/hMeH5IB . First MyPage is
from Space 1 and the second is from Space 2. Each has its own distinct
children.

If you can send me a XAR with some sample document hierarchy that
reproduces the problem then I can debug it.

Thanks,
Marius


 This happens even when I specify the full document:wiki:Space.Path in the
 root setting.

 If I rename the pages as MyPage - Space 1 and MyPage - Space 2 for
 example, this doesn't happen.

 Is this the normal behavior when 2 or more spaces have pages with identical
 names?

 Thanks,

 J



 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/Document-tree-macro-including-pages-from-other-spaces-tp7594225.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] Readers type extension or feature

2015-03-09 Thread Marius Dumitru Florea
On Mon, Mar 9, 2015 at 11:13 AM, Guillaume Lerouge guilla...@xwiki.com wrote:
 Hi Mahomed,


 this is doable if you activate the statistics module:

Unfortunately the statistics module stores only aggregated data. You
can see how many users have viewed a particular page and how many
pages a particular user has seen. But the way it works right now, you
cannot see which users (i.e. an enumeration of user names) have seen a
specific page or which pages have been seen by a specific user.

Hope this helps,
Marius


-
http://extensions.xwiki.org/xwiki/bin/view/Extension/Statistics+Application

 First you need to activate it in the xwiki.cfg file:

-

 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#%23HEnabling2FDisablingStatistics

 Once the statistics are activated, every view action by every user is
 recorded. Now all you need to do is write the code to retrieve the stats
 about the specific page you're looking at, and put in in a panel.

 You can find inspiration for this in the following extensions:

-
http://extensions.xwiki.org/xwiki/bin/view/Extension/Recently+Visited+Pages
-
http://extensions.xwiki.org/xwiki/bin/view/Extension/Most+Viewed+Articles
-

 http://extensions.xwiki.org/xwiki/bin/view/Extension/Number+Of+Active+Users+Per+Day+And+Per+Week

 Best,

 Guillaume

 On Sun, Mar 8, 2015 at 10:36 PM, Mahomed Hussein maho...@custodiandc.com
 wrote:

 Hi

 I’m a new user to XWiki here. Running 6.4.2. We recently setup mediawiki
 but due to some limitations (and then finding XWiki), we’ve decided to move
 to XWiki. One feature that we would REALLY love to have similar to
 mediawiki is the readers feature. It shows which registered users have
 viewed a page. I have done some Google searching and I have looked through
 the extensions but I cannot find anything. The closest extension I found is
 one that shows how to run a query to display the editors, but I couldn’t
 see a way to modify that to show the readers. This makes me think it might
 not be possible, but I know very little about the way the system works so I
 hope someone can help.

 Thanks in advance for your help and time.

 Kind regards,

 Mahomed
 ___
 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
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Readers type extension or feature

2015-03-09 Thread Mahomed Hussein
Hi

Thank you both for the responses. I am going to opt instead to get users to put 
a comment once they've read the document (This is a requirement for one of our 
certifications - that users confirm they've read a document). This is probably 
a better and simpler option anyway.

Thank you again for your help. I am loving XWiki!!


Kind regards,

Mahomed




-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea
Sent: 09 March 2015 14:26
To: XWiki Users
Subject: Re: [xwiki-users] Readers type extension or feature

On Mon, Mar 9, 2015 at 11:13 AM, Guillaume Lerouge guilla...@xwiki.com wrote:
 Hi Mahomed,


 this is doable if you activate the statistics module:

Unfortunately the statistics module stores only aggregated data. You
can see how many users have viewed a particular page and how many
pages a particular user has seen. But the way it works right now, you
cannot see which users (i.e. an enumeration of user names) have seen a
specific page or which pages have been seen by a specific user.

Hope this helps,
Marius


-
http://extensions.xwiki.org/xwiki/bin/view/Extension/Statistics+Application

 First you need to activate it in the xwiki.cfg file:

-

 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#%23HEnabling2FDisablingStatistics

 Once the statistics are activated, every view action by every user is
 recorded. Now all you need to do is write the code to retrieve the stats
 about the specific page you're looking at, and put in in a panel.

 You can find inspiration for this in the following extensions:

-
http://extensions.xwiki.org/xwiki/bin/view/Extension/Recently+Visited+Pages
-
http://extensions.xwiki.org/xwiki/bin/view/Extension/Most+Viewed+Articles
-

 http://extensions.xwiki.org/xwiki/bin/view/Extension/Number+Of+Active+Users+Per+Day+And+Per+Week

 Best,

 Guillaume

 On Sun, Mar 8, 2015 at 10:36 PM, Mahomed Hussein maho...@custodiandc.com
 wrote:

 Hi

 I’m a new user to XWiki here. Running 6.4.2. We recently setup mediawiki
 but due to some limitations (and then finding XWiki), we’ve decided to move
 to XWiki. One feature that we would REALLY love to have similar to
 mediawiki is the readers feature. It shows which registered users have
 viewed a page. I have done some Google searching and I have looked through
 the extensions but I cannot find anything. The closest extension I found is
 one that shows how to run a query to display the editors, but I couldn’t
 see a way to modify that to show the readers. This makes me think it might
 not be possible, but I know very little about the way the system works so I
 hope someone can help.

 Thanks in advance for your help and time.

 Kind regards,

 Mahomed
 ___
 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
___
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] Performance Frustrations

2015-03-09 Thread Mahomed Hussein
Hi

We were chugging along quite happily with XWiki then we started to notice a 
slowdown. Simple pages (like the space webhome page) were taking 3 – 4 seconds 
to load. This is with only 1 user testing it and about 5 articles in the whole 
system. Using htop, we can see that the tomcat process are being created and 
the CPU is going to over 150% - 400% (total across several cores). I have tried 
modifying the JAVA_OPTS in /etc/default/tomcat7 with little to no effect what 
so ever. I have tried googling it and almost everyone says to change those 
options and I’ve tried basing it on the recommendation in 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HMemory and my 
current line reads:

JAVA_OPTS=-Djava.awt.headless=true -Xmx800m -XX:MaxPermSize=196m 
-XX:+UseConcMarkSweepGC

We are running XWiki 6.4.2
xwiki-enterprise-tomcat7-mysql package installed using apt-get.
OS: Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-46-generic x86_64)
RAM: 4096
vCPU: 12
Hypervisor: Hyper-v

There aren’t any IO or memory issues that we can see. I don’t see any immediate 
errors in the logs either.

To be honest the high CPU isn’t that much of an issue. The problem is that it’s 
using high CPU and STILL has slow performance. If I compare the response of 
loading a 75 line article to loading 
http://extensions.xwiki.org/xwiki/bin/view/ExtensionCode/ExtensionSearch?space=Extensiontext=child,
 the extension page loads about 3 times faster (not scientifically accurate 
timing but it’s different enough to notice consistently).

Any help would be greatly appreciated because no matter how great XWiki is, if 
I can’t get it to perform quickly enough, users will avoid using it.

Thanks again for your time and any help.


Kind regards,

Mahomed






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


Re: [xwiki-users] Cannot upgrade Enterprise UI Extension to 6.4.2

2015-03-09 Thread Thomas Mortagne
On Fri, Mar 6, 2015 at 7:59 PM, Charlie Mann charlie.m...@aed.pro wrote:
 Thomas,

 Thanks for the quick reply.  Here is a little more background on our
 install.  We have a test server set up with a mirror of production and that
 is where I am doing the upgrade testing, so I can go back to the current 6.3
 at any time and redo the process till I get it right. We have a main wiki
 with 7 or 8 subwikis.  Despite many different attempts, I have never been
 able to get the Distribution Wizard to appear.   So we have taken to just
 deploying the latest War file and then using the Extension Updater.  I
 generally chose 'Check for updates on farm'.  This then provides me with a
 list of extension that are out of date.  I then go through and update every
 extension that is out of date.  This had worked with every upgrade I have
 tried until 6.4.2.  It worked with 6.4.1 in our test environment, but we
 didn't actually go to 6.4.1 in production because of some the issues present
 in 6.4.1.

 What is the best option here for the place we are at?  Should I try to get
 the Distribution Wizard to appear so that it will handle the upgrade from
 6.3 to 6.4.2?  If so, are there any suggestions on how to do this?

 Or would it be better to try and clean things out first?  Im not quite sure
 how to determine which installed extensions don't make sense. Also, when you
 say clean up, how should I do that?  For most of the extensions I only have
 Uninstall and Downgrade options.  (not sure why there are Downgrade options,
 as I have only seen in that when trying to go to 6.4.2).

I fixed various inconsistencies check in 6.4.2 regarding installed
extensions and in your case it found quite a mess since you seems to
have the all in one UI installed in one wiki and
org.xwiki.platform:xwiki-platform-appwithinminutes-ui extension (which
is part of the standard all in one XAR too and so they conflict with
each other) which is installed in root namespace (On farm option in
the install UI). You should have various warnings about that in the
log at startup.

So it all depends why it's like this and which one is right exactly.
If you want to go back to a more standard state you can send me the
content of permdir/xwiki/extension/repository if you want me to look
at it and maybe cleanup a bit directly (it might be a bit big if you
installed lots of extensions).

The difference you will have with Distribution Wizard regarding farm
upgrade is that it's not upgrading the whole farm in a single job, you
upgrade the main wiki in a first step and then you take care of other
wikis either in a following step or you go to each one to have a
dedicated Distribution Wizard (in case each or some wikis have
different admins like in http://myxwiki.org farm for example).


 Thanks for the help!
 Charlie

 -Original Message-
 From: users [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne
 Sent: Friday, March 6, 2015 3:18 AM
 To: XWiki Users
 Subject: Re: [xwiki-users] Cannot upgrade Enterprise UI Extension to 6.4.2

 You have several very weird things in your setup:
 * first as you can see in the error it seems like you installed
 org.xwiki.platform:xwiki-platform-appwithinminutes-ui at farm level which is
 a really unusual thing to do for a XAR and especially for a XAR which is a
 standard XE dependency
 * this extension is 6.3 which mean you did not fully upgraded from 6.3 to
 6.4.1 and you have some leftover for some reason
 * as far as I understand you are not using the Distribution Wizard (as
 otherwise you wouldn't have ended up with XWiki Enterprise - UI - Main Wiki
 All and at all or some standard extension installed at farm level), is there
 a specific reason for that ?

 I ideally I would suggest to cleanup a bit (look at installed extension and
 try to clean anything that don't make much sense like
 6.3 standard extension leftover or standard extension installed at farm
 level instead of in the wiki they are used) and then use the Distribution
 Wizard to so a proper upgrade but I don't know your constraints.

 On Thu, Mar 5, 2015 at 10:28 PM, Charlie Mann charlie.m...@aed.pro wrote:
 I am using the Extension Updater to upgrade our XWiki instance from
 6.3 to
 6.4.2  Whenever I try to upgrade the 'XWiki Enterprise - UI - Main Wiki
 All'
 package, I get the following error:

 * An extension with feature
 [org.xwiki.platform:xwiki-platform-appwithinminutes-ui] is already
 installed on root namespace
 ([org.xwiki.platform:xwiki-platform-appwithinminutes-ui-6.3])

 class org.xwiki.extension.InstallException: Failed to resolve
 extension at
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensi
 on(Abs
 tractInstallPlanJob.java:770) at
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensi
 on(Abs
 tractInstallPlanJob.java:393) at
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensi
 on(Abs
 tractInstallPlanJob.java:290) at
 

Re: [xwiki-users] Readers type extension or feature

2015-03-09 Thread Guillaume Lerouge
Hi Mahomed,

this is doable if you activate the statistics module:

   -
   http://extensions.xwiki.org/xwiki/bin/view/Extension/Statistics+Application

First you need to activate it in the xwiki.cfg file:

   -
   
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#%23HEnabling2FDisablingStatistics

Once the statistics are activated, every view action by every user is
recorded. Now all you need to do is write the code to retrieve the stats
about the specific page you're looking at, and put in in a panel.

You can find inspiration for this in the following extensions:

   -
   http://extensions.xwiki.org/xwiki/bin/view/Extension/Recently+Visited+Pages
   -
   http://extensions.xwiki.org/xwiki/bin/view/Extension/Most+Viewed+Articles
   -
   
http://extensions.xwiki.org/xwiki/bin/view/Extension/Number+Of+Active+Users+Per+Day+And+Per+Week

Best,

Guillaume

On Sun, Mar 8, 2015 at 10:36 PM, Mahomed Hussein maho...@custodiandc.com
wrote:

 Hi

 I’m a new user to XWiki here. Running 6.4.2. We recently setup mediawiki
 but due to some limitations (and then finding XWiki), we’ve decided to move
 to XWiki. One feature that we would REALLY love to have similar to
 mediawiki is the readers feature. It shows which registered users have
 viewed a page. I have done some Google searching and I have looked through
 the extensions but I cannot find anything. The closest extension I found is
 one that shows how to run a query to display the editors, but I couldn’t
 see a way to modify that to show the readers. This makes me think it might
 not be possible, but I know very little about the way the system works so I
 hope someone can help.

 Thanks in advance for your help and time.

 Kind regards,

 Mahomed
 ___
 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] Need help with xWiki Enterprise 6.3

2015-03-09 Thread Luba
That is a very good idea and now I solve my two problems.

Thanks @ all for your help! 



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Need-help-with-xWiki-Enterprise-6-3-tp7594161p7594265.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] Need help with xWiki Enterprise 6.3

2015-03-09 Thread Luba
Thank you Yvan!

That helps me a lot 



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Need-help-with-xWiki-Enterprise-6-3-tp7594161p7594264.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