[xwiki-users] Tooltip macro in XEM 2.3.1
Hi XWiki users, I encounter some difficulties with the Tooltip macro. I use XEM 2.3.1 in "path" mode. And I discovered on xwiki.org a wonderful macro to display tooltips in a wiki page. First, I add the Tooltip macro xar to the Admin Wiki. At this step, the macro works only in the Admin Wiki and only for the Admin user. In fact, by default, the Tooltip macro has a macro visibility set to "Current User" (I hope this will be changed in the future). I changed that setting to "Global", and I filled the Description field (it was empty). Then, the Tooltip macro is working fine for any user in the Admin Wiki (present in the wysiwyg editor, correctly rendered). My last remaining problem is that it doesn't work in the Wiki Instances. I can insert a tooltip (using the wysiwyg editor, or manually), the macro is correctly inserted in the page but the tooltip is never rendered (nothing is displayed: no question mark, no tooltip). I'm sad. Do you have any idea to investigate ? Best regards, Maxime
I found a strange error that can help : In the page (in view mode), a specific tooltip javascript is included and the response to the request (http://<server>/xwiki/wiki/welcome/ssx/XWiki/Tooltip?language=fr) is 404 (welcome is the name of the instance wiki). Maxime
My conclusion : The Tooltip macro package must be imported in the Admin wiki of a wiki farm. Due to a bug, the tooltip macro is not rendered in wiki instances of the farm because the resources of the macro (javascript, stylesheet) are searched in the instance wiki (in place of the Admin wiki). A workaround is to import the tooltip package in the instance wiki where you want to use it. Could someone confirm my thought ? Best regards, Maxime
participants (1)
-
GeLo