[xwiki-users] profile in a pop up
Hi everyone, I'm working on a XEM platform 2.2.1 and I need to display the page of the profile in a pop-up. I know it's possible because I have this pop-up at the adress: http://mydomain/xwiki/bin/admin/XWiki/XWikiPreferences?section=Users, there's a table with the list of all my users, and I can edit them by clickink on an icon, the edition is in a pop-up. Problem is I can't find out where's the URL of this pop-up, because the code of this page is based on the javascript: var ta = new XWiki.widgets.LiveTable("$url", "userstable", displayUsers); I've read the documentation on XWiki.widgets.LiveTanle at his adress: http://svn.xwiki.org/svnroot/xwiki/platform/web/trunk/standard/src/main/weba... http://svn.xwiki.org/svnroot/xwiki/platform/web/trunk/standard/src/main/weba... but I haven't found what I was looking for: the part of code to display the popup. If anyone could give me some help... In advance thanks Raphaelle -- View this message in context: http://n2.nabble.com/profile-in-a-pop-up-tp4675477p4675477.html Sent from the XWiki- Users mailing list archive at Nabble.com.
By popup you mean lightbox? (the whole screen gets dark with the page displayed in the middle) The pencil icon next to each user in the table on the admin users section is javascript injected by http://svn.xwiki.org/svnroot/xwiki/platform/web/trunk/standard/src/main/weba... specifically around line 306. Hope that helps Caleb raphaelle wrote:
Hi everyone,
I'm working on a XEM platform 2.2.1 and I need to display the page of the profile in a pop-up. I know it's possible because I have this pop-up at the adress: http://mydomain/xwiki/bin/admin/XWiki/XWikiPreferences?section=Users, there's a table with the list of all my users, and I can edit them by clickink on an icon, the edition is in a pop-up. Problem is I can't find out where's the URL of this pop-up, because the code of this page is based on the javascript: var ta = new XWiki.widgets.LiveTable("$url", "userstable", displayUsers);
I've read the documentation on XWiki.widgets.LiveTanle at his adress: http://svn.xwiki.org/svnroot/xwiki/platform/web/trunk/standard/src/main/weba... http://svn.xwiki.org/svnroot/xwiki/platform/web/trunk/standard/src/main/weba... but I haven't found what I was looking for: the part of code to display the popup.
If anyone could give me some help...
In advance thanks
Raphaelle
You can also use the ModalBox application: http://code.xwiki.org/xwiki/bin/view/Applications/ModalBoxApplication Jeremie 2010/3/4 Caleb James DeLisle <[email protected]>
By popup you mean lightbox? (the whole screen gets dark with the page displayed in the middle)
The pencil icon next to each user in the table on the admin users section is javascript injected by
http://svn.xwiki.org/svnroot/xwiki/platform/web/trunk/standard/src/main/weba... specifically around line 306.
Hope that helps
Caleb
raphaelle wrote:
Hi everyone,
I'm working on a XEM platform 2.2.1 and I need to display the page of the profile in a pop-up. I know it's possible because I have this pop-up at the adress: http://mydomain/xwiki/bin/admin/XWiki/XWikiPreferences?section=Users, there's a table with the list of all my users, and I can edit them by clickink on an icon, the edition is in a pop-up. Problem is I can't find out where's the URL of this pop-up, because the code of this page is based on the javascript: var ta = new XWiki.widgets.LiveTable("$url", "userstable", displayUsers);
I've read the documentation on XWiki.widgets.LiveTanle at his adress:
http://svn.xwiki.org/svnroot/xwiki/platform/web/trunk/standard/src/main/weba...
http://svn.xwiki.org/svnroot/xwiki/platform/web/trunk/standard/src/main/weba...
but I haven't found what I was looking for: the part of code to display the popup.
If anyone could give me some help...
In advance thanks
Raphaelle
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi, Thank you Caleb and Jerem for your answers, ModalBox does indeed suit to the display I was looking for, but I can't find the url of the user, in usersandgroups.js. Do you know if it's possible to create a new XWiki.widgets.LiveTable but not for all users, only for one? And if yes, how? If anyone can have any documentation or links on the suject, I'd be interested. In advance thanks raphaelle -- View this message in context: http://xwiki.475771.n2.nabble.com/profile-in-a-pop-up-tp4675477p4969342.html Sent from the XWiki- Users mailing list archive at Nabble.com.
Me again, here is the code of my page: -- View this message in context: http://xwiki.475771.n2.nabble.com/profile-in-a-pop-up-tp4675477p4974250.html Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (3)
-
Caleb James DeLisle -
Jeremie BOUSQUET -
raphaelle