1.1.6. Answers

Warning

You are looking at documentation for an older release. Not what you want? See the current release documentation.

The Answers portlet is the application to create answers, reply and manage questions.

Package

This portlet is packaged in the faq.war file.

Portlet.xml

Portlet Preferences

The Answers portlet consists of preferences as follows:

Preference namePossible valueDefault valueDescription
enableViewAvatar true, false true Enables users to view the avatar of owner posting the question.
enableAutomaticRSS true, false true Enables users to get RSS automatically.
enableVotes AndComments true, false true Enables users to give votes and comments for the question.
enableAnonymous SubmitQuestion true, false true Enables anonymous users to submit questions.
display approved, both both Enables administrators to view unapproved questions in the questions list in UIQuestions.
SendMailAdd NewQuestion string empty Displays the content of sent email when a new question is added.
SendMailEdit ResponseQuestion string empty Displays the email content when a response is edited.
emailMoveQuestion string empty Displays the email content when a question is moved.
orderBy alphabet, created alphabet Arranges questions in the alphabet or created date order.
orderType asc, desc asc Displays questions in the ascending or descending order.
isDiscussForum true, false false Enables the DiscussQuestions function.
idNameCategoryForum CategoryName, ForumName empty Selects categories and forums for the DiscussionQuestions function.
uploadFileSizeLimitMB integer 20 Sets the maximum size of uploaded files in MB.

FAQ

Warning

You are looking at documentation for an older release. Not what you want? See the current release documentation.

The FAQ portlet is the application to show questions and answers.

Package

This portlet is packaged in the faq.war file.

Portlet.xml

  • See the portlet.xml file in the project following this path: /webapps/faq/WEB-INF/portlet.xml.

Portlet Preferences

The FAQ portlet includes some portlet preferences that you can configure to alter the behavior.

At runtime, you can use the EDIT mode portlet to set the preferences:

Alternatively, you can configure the portlet in the portet-preferences.xml file.

Preference namePossible valueDefault valueDescription
useAjax true, false false Specifies if the AJAX load or HREF load is used.
Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus