5 Dec
2013
5 Dec
'13
10:43 p.m.
Eduard, Well I'm sorry I've exhausted you. I sent my previous email before seeing this one. I, as Admin, have tried to re-save http://wiki.opensource.org/xwiki/bin/view/AnnotationCode/Style But the Annotations are still not working as expected. I'll try poking around again tomorrow. Thanks for all your help, Patrick On 12/05/2013 04:52 PM, Eduard Moraru wrote: > Hi Patrick, > > Wanting to go to bed, I checked your site and you seem to have resaved the > page I`ve asked you to: AnnotationCode.Script. This seems to have had the > right effect of enabling the Annotations javascript and now the Annotations > button seems to show up. That is great. > > However, I see that there are problems in displaying the Annotations box > that pops up when pressing the Annotations button (plus there is no icon > for the Annotations button). This means that you need to re-save (with the > Admin user which has PR) another page which handles the styling of the > Annotations application. This page is: > http://wiki.opensource.org/xwiki/bin/view/AnnotationCode/Style > > Once you handle this step as well, you should be good and the Annotations > app should be running well. Just remember to refresh your browser`s cache > after you resave the Style page. Select some text in a page (where you have > some content, of course), press CTRL+M and the annotation popup should > appear asking you to comment on the selected piece of text. > > Hope this helped, > Eduard > > > > On Thu, Dec 5, 2013 at 11:06 PM, Eduard Moraru <[email protected]> wrote: > >> Hi, >> >> On Thu, Dec 5, 2013 at 9:31 PM, Patrick Masson <[email protected]>wrote: >> >>> Eduard, >>> >>> Thanks but sadly this did not resolve the issue. Here is what I did: >>> >>> >>>> About the annotations tab. You might have used "Look & Feel > Page >>> Elements >>>>> Document metadata visibility > Show document annotations". That >>> option is >>>> there only for backwards compatibility reasons and should not be used >>>> unless you have a custom annotations class that is different from >>>> XWiki.XWikiComment. If you don't have a custom annotation class, make >>> sure >>>> to leave it set to "No" as default. >>> 1. Logged in as wiki admin >>> 2. Went to "Administration » Look & Feel » Page Elements" >>> 3. Set the following, >>> "Show document annotations" to "No" >>> "Show document comments" to "---" >>> "Show document attachments" to "---" >>> "Show document history" to "---" >>> "Show document information" to "---" >>> 4. Clicked "Save" >>> 5. Went to "Administration » Applications » Annotations" >>> 6. Set the following: >>> "Annotations are activated" to "Yes" >>> "Except for the following spaces" [NONE SELECTED] >>> "Display annotations by default" to "Yes" >>> "Display annotations highlight by default" to "Yes" >>> "XWiki class defining annotations structure" to "XWiki.XWikiComments" >>> 7. Clicked "Save" >>> >>> >>>> First of all, to make sure the annotations application is loaded properly >>>> and working, you need to see the "Annotations" button on the right side of >>>> "Edit", "Export" and "More Actions": >>> The Annotations button does not show up. See: >>> http://wiki.opensource.org/xwiki/bin/view/Sandbox/WebHome >>> >>>> If that does not show up, then there is a problem with the extension's JSX >>>> not loading up. You might need to resave the page "AnnotationCode.Script" >>>> **with Programming Rights** (generally, as the main wiki's Admin). >>> I am not sure how to find the page "AnnotationCode.Script". >>> >> Whenever we mention a page name in XWiki in the form SomeSpace.SomePage, >> that page can be located by going to the URL: http:// >> <hostname>:<port>/xwiki/bin/view/SomeSpace/SomePage >> In your case, the page I was referring to is: >> http://wiki.opensource.org/xwiki/bin/view/AnnotationCode/Script >> >> Please try to resave that page as Admin (with PR) and then refresh your >> browser`s cache (CTRL+F5 if using Firefox, for example). >> >> Does this make the Annotations button show up? >> >> Cheers, >> Eduard >> >> >>> I did find >>> http://wiki.opensource.org/xwiki/bin/view/Admin/CheckProgrammingRights >>> I also checked and both my Admin account and the group that account is in >>> (XWikiAdminGroup) have a green check in the "Program" checkbox on >>> "Administration » Users & Groups » Rights" >>> >>> Any help appreciated, thanks, >>> Patrick >>> >>> >>> >>> >>> >>> On 12/05/2013 01:15 PM, Eduard Moraru wrote: >>> >>> Hi Patrick, >>> >>> About the annotations tab. You might have used "Look & Feel > Page Elements >>> >>> Document metadata visibility > Show document annotations". That option is >>> >>> there only for backwards compatibility reasons and should not be used >>> unless you have a custom annotations class that is different from >>> XWiki.XWikiComment. If you don't have a custom annotation class, make sure >>> to leave it set to "No" as default. As Vincent already mentioned, the >>> annotations are supposed to appear together with regular comments in the >>> "Comments" tab at the bottom of a page. >>> >>> First of all, to make sure the annotations application is loaded properly >>> and working, you need to see the "Annotations" button on the right side of >>> "Edit", "Export" and "More Actions":http://extensions.xwiki.org/xwiki/bin/view/Extension/Annotations+Application#HShowannotations >>> >>> If that does not show up, then there is a problem with the extension's JSX >>> not loading up. You might need to resave the page "AnnotationCode.Script" >>> **with Programming Rights** (generally, as the main wiki's Admin). If you >>> don`t do this, the application can not execute properly and plug itself >>> into XWiki's UI on every document. >>> >>> Hope this helps, >>> Eduard >>> >>> >>> >>> On Thu, Dec 5, 2013 at 7:20 PM, Patrick Masson <[email protected]> <[email protected]>wrote: >>> >>> >>> Resending as attachments exceeded size limits and my email was sent for >>> moderation... >>> >>> On 12/03/2013 12:42 PM, Patrick Masson wrote: >>> >>> Guillaume, >>> >>> >>> On 12/03/2013 11:47 AM, Guillaume Fenollar wrote: >>> >>> >>> FTR Vincent, you can see the actual error on Patrick's wiki, since OSI >>> wiki >>> is available in view to guests (BTW, is this wanted, Patrick?) >>> >>> Yes, some (most) wiki pages/spaces should be available to unregistered >>> >>> guests to view. Ideally we want all, members and staff: all users can view >>> and comment on public pages, members can view edit and comment on public >>> pages, staff can view, edit, comment on all pages (public and private). But >>> considering my knuckle-headed moves with permissions so far I am trying to >>> keep it basic for now. >>> >>> >>> Patrick, could you explain what you did exactly to "install" this plugin ? >>> >>> I did not install any plug-ins. I only referenced the plugin as the page >>> >>> I was looking at (http://extensions.xwiki.org/xwiki/bin/view/Extension/ >>> Annotations+Application) to try and discover the fix for my annotation >>> problem referenced a plugin, and to make sure it was installed. I simply >>> looked in the Extension Manager to ensure it was checked. My administration >>> screen (see attached: XWiki Preferences (XWiki.XWikiPreferences) - >>> XWiki.png) looks just like the one on that page (http://extensions.xwiki.org/xwiki/bin/view/Extension/ >>> Annotations+Application#HConfigureannotations). I also have this admin >>> page where I can make annotations visable or not: XWiki Preferences >>> (XWiki.XWikiPreferences) - XWiki 02.png >>> >>> >>> >>> >>> 2013/12/[email protected] <[email protected]> <[email protected]> >>> >>> Hi Patrick, >>> >>> On 2 Dec 2013 at 17:16:38, Patrick Masson ([email protected]) wrote: >>> >>> I have a hosted (xwiki.com) Enterprise XWiki and would like to enable >>> the Annotations feature >>> (http://extensions.xwiki.org/xwiki/bin/view/Extension/ >>> Annotations+Application >>> ). >>> They do not appear now. >>> >>> After reviewing the above page, I am able to activate the Annotations >>> tab, however the I cannot find out how to turn on / make available the >>> That’s weird, there shouldn’t be a Annotations tab ;) We merged the >>> Comments and Annotations tabs a while back, as you can see for example athttp://playground.xwiki.org/xwiki/bin/view/Sandbox/WebHome (if you’re >>> fast enough to check since playground gets reset every night ;)). >>> >>> I don’t know why you’re getting the tab ATM. >>> >>> annotations tool itself to create the annotations. That is, I do not >>> have the Annotations tool button in the "Edit" "Export" "More Actions" >>> header on the top of the page (see attached image). >>> Annotations are not available to the Admin role, as a registered user or >>> anonymous user. >>> I have tried the Ctrl + M (Meta + M) as well, thinking this still might >>> work even without the button, but nothing happens. >>> Ctrl+M should work fine always (try it on playground). >>> >>> The Annotations plugin is installed (as I said I, can see the >>> "Annotations" tab on each page across the wiki at the top and bottom >>> next to "Comments" Attachments" etc.). >>> What plugin? did you install something? >>> >>> I am running the XWiki.DefaultSkin running the "Mint" color theme. >>> I have tried viewing on Ubuntu Firefox and Chrome; Mac Safari 6 and >>> Windows IE10. >>> Within the Annotations Application on the Administration page I have the >>> settings at: >>> >>> * Annotations are activated: YES >>> * Except for the following spaces: NONE selected >>> * Display annotations by default: YES >>> * Display annotations highlight by default: YES >>> * XWiki class defining annotations structure: XWiki.XWikiComments >>> (this was already set--default?-- when I first visited the page). >>> I do see a note on the Annotations page, "/If you are using a custom >>> annotations class other than the previously default/ >>> AnnotationsCode.AnnotationsClass /in the annotations configuration.../" >>> >>> I have cleared my browser cache after selecting and saving the above. >>> Hmm that’s strange because I had the same issue on >>> playground.xwiki.organd clearing my cache made it work. I’ve createdhttp://jira.xwiki.org/browse/XWIKI-9759 >>> >>> Make sure you force clear your cache maybe. >>> >>> Thanks >>> >>> -Vincent >>> >>> I have searched the FAQ: >>> http://www.xwiki.org/xwiki/bin/view/FAQCode/FAQSearch? >>> space=FAQ&text=Annotations >>> >>> I have searched the lists and found: >>> >>> *http://xwiki.475771.n2.nabble.com/Annotations-not- >>> working-td7345638.html >>> >>> >>> *http://xwiki.475771.n2.nabble.com/Annotations-comments- >>> merge-validation-td7582245.html >>> >>> This thread indicates XWiki.XWikiComments is correct, "/Basically >>> the new format is XWiki.XWikiComments class instead of the old / >>> AnnotationCode.AnnotationClass" >>> *http://xwiki.475771.n2.nabble.com/Re-display-issues-in-IE- >>> td7587297.html#a7587298 >>> >>> >>> Any advise appreciated, thanks, >>> Patrick >>> >>> >>> >>> >>> >>> >>> >>> -- >>> || | | |||| || || | |||| ||| | ||| >>> Patrick Masson >>> General Manager, Director & Secretary to the Board >>> Open Source Initiative >>> 855 El Camino Real, Ste 13A, #270 >>> Palo Alto, CA 94301 >>> United States >>> Sk: massonpj >>> Ph: (970) 4MASSONEm:[email protected] <mailto:[email protected]> <[email protected]>Ws:www.opensource.org <http://www.opensource.org> <http://www.opensource.org> >>> _______________________________________________ >>> users mailing [email protected]://lists.xwiki.org/mailman/listinfo/users >>> _______________________________________________ >>> users mailing [email protected]://lists.xwiki.org/mailman/listinfo/users >>> >>> _______________________________________________ >>> >>> users mailing [email protected]://lists.xwiki.org/mailman/listinfo/users >>> >>> -- >>> >>> || | | |||| || || | |||| ||| | ||| >>> Patrick Masson >>> General Manager, Director & Secretary to the Board >>> Open Source Initiative >>> 855 El Camino Real, Ste 13A, #270 >>> Palo Alto, CA 94301 >>> United States >>> Sk: massonpj >>> Ph: (970) 4MASSON >>> Em: [email protected] <[email protected]> >>> Ws: www.opensource.org >>> >> > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users -- || | | |||| || || | |||| ||| | ||| Patrick Masson General Manager, Director & Secretary to the Board Open Source Initiative 855 El Camino Real, Ste 13A, #270 Palo Alto, CA 94301 United States Sk: massonpj Ph: (970) 4MASSON Em: [email protected] <mailto:[email protected]> Ws: www.opensource.org <http://www.opensource.org>