User Tools

Site Tools


en:user:user_comments

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:user:user_comments [2017/06/28 07:46] anupamaen:user:user_comments [2023/03/13 01:46] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +
 +
 +
 =====Enabling user comments===== =====Enabling user comments=====
 Greenstone 2 and 3 both support allowing users to add comments to individual //documents//. A user merely needs to have an account on that Greenstone DL in order to leave comments on any accessible document, and need not have collection editing permissions on that or any collection. Greenstone 2 and 3 both support allowing users to add comments to individual //documents//. A user merely needs to have an account on that Greenstone DL in order to leave comments on any accessible document, and need not have collection editing permissions on that or any collection.
Line 4: Line 7:
 For each collection, you can decide whether to allow user comments to be added to its documents or not. By default this ability is turned off. To turn it on for any collection: For each collection, you can decide whether to allow user comments to be added to its documents or not. By default this ability is turned off. To turn it on for any collection:
  
-<TABAREA tabs="Greenstone3,Greenstone2"> +<tabbox Greenstone3>
-<TAB>+
   * Open the collection in GLI and go to Format panel > Format Features   * Open the collection in GLI and go to Format panel > Format Features
-  * Select the ''display'' format feature and set the value of the ''AllowUserComments'' ''gsf:option'' to ''true'', or add the option if not already present. \\ ''<gsf:option name="AllowUserComments" value="true"/>''+  * Select the ''display'' format feature and set the value of the ''allowUserComments'' ''gsf:option'' to ''true'', or add the option if not already present. \\ ''<gsf:option name="allowUserComments" value="true"/>''
   * If you had already built the collection, you can Preview it straight away. Any document page in the collection should provide a link in green at the bottom labelled ''Add Comment''. If you're not already logged in, you will be taken to a log in screen and, once authenticated, you can proceed to add a comment. Once you're done leaving comments, you can press the green ''Logout'' link.   * If you had already built the collection, you can Preview it straight away. Any document page in the collection should provide a link in green at the bottom labelled ''Add Comment''. If you're not already logged in, you will be taken to a log in screen and, once authenticated, you can proceed to add a comment. Once you're done leaving comments, you can press the green ''Logout'' link.
-</TAB+<tabbox Greenstone2
-<!-- ############################################################################################## +
-################################################################################################# +
-##################################################--> +
-<TAB>+
   * Open the collection in GLI and go to Format panel > Format Features   * Open the collection in GLI and go to Format panel > Format Features
   * Under Choose Feature, select Allow User Comments   * Under Choose Feature, select Allow User Comments
Line 19: Line 18:
   * Tick the Enabled button   * Tick the Enabled button
   * If you had already built the collection, you can Preview it straight away. Any document page in the collection should provide a link in green at the bottom labelled Add Comment. If you're not already logged in, you will be taken to a log in screen and, once authenticated, you can proceed to add a comment. Once you're done leaving comments, you can press the green Logout link.   * If you had already built the collection, you can Preview it straight away. Any document page in the collection should provide a link in green at the bottom labelled Add Comment. If you're not already logged in, you will be taken to a log in screen and, once authenticated, you can proceed to add a comment. Once you're done leaving comments, you can press the green Logout link.
-</TAB> 
  
-</TABAREA>+</tabbox>
 **Notes:** **Notes:**
   * User comments cannot be added if the GS2 server is being run from GLI. Attempting to do so will result in an error mentioning that the document or collection is locked. Run the standalone GS2 server to add user comments instead.   * User comments cannot be added if the GS2 server is being run from GLI. Attempting to do so will result in an error mentioning that the document or collection is locked. Run the standalone GS2 server to add user comments instead.
-  * Users need to have an account in your digital library in order to add comments. If you're adminyou can create a user account as follows: +  * Users need to have an account in your digital library in order to add comments. They can register themselves as a useror an administrator can add them as a user. See the user management pages for more details: [[en:user_advanced:gs3_user_management|Greenstone 3]] or [[en:user_advanced:gs2_user_management|Greenstone 2]].
- +
-  - Go to your Greenstone home web page. +
-  - Click on the Administration Page link +
-  - Click the Add a New User link to the left +
-  - You'll be requested for the admin username (type "admin") and password, which will be what you chose upon installing Greenstone+
-  - Enter the username and password for the new user. The password has to be between and 8 characters long. +
-  - In the Groups field, type "personal-collections-editor"+
-  - Press the Submit button. +
  
en/user/user_comments.1498635965.txt.gz · Last modified: 2017/06/28 07:46 by anupama