h1. Administrator {anchor:id=Answer_user_guide.Administrator} 
The administrators have the global role and take care of the entire management tasks.

h2. Set up Answers portlet {anchor:id=KSuser.Answer_Administrator.Set_up_Answers_portlet}

{docbook}
<note>
<para>
In case the <emphasis role="bold">Answers</emphasis> portlet has not been activated yet, you need to add it to a page by

dragging and dropping it from <emphasis role="bold">Page Editor/Edit Inline Composer --> Applications --> Collaboration --> Answers</emphasis> to the main pane. This can be done when <link linkend="sect-User_Guide-Manage_Pages-Adding_a_new_Page">creating a new page</link> or <link linkend="sect-User_Guide-Manage_Pages-Edit_a_Page">editing an existing page</link> or <link linkend="proc-User_Guide-Manage_Portals-Edit_Layout">editing the layout of a portal</link>.

You can also configure the <emphasis role="bold">Answers</emphasis> portlet as in the <link linkend="edit a specific portlet">sect-User_Guide-Dashboard_Portlet-Edit_Specific_Portlet</link> section.
</para>
</note>
{docbook}


When adding a portlet to a page, you have to configure this portlet to make it work in your desired way.


{docbook}
<citetitle>
<para>
    <emphasis role="bold">Configure the Answers portlet</emphasis>
</para>
</citetitle>
{docbook}


*1.*  Open the page edit mode via one of the following ways:

* *The first way*

*i.* Click !images/Setting_gear.png! *--> Portal --> Page* on the *Administration* bar.

!images/edit_pages1.png|align="center"!

*ii.* Click !images/Edit_icon.png! that corresponds to the page contaning the *Answers* portlet in the *Page Management* page.

!images/Page_manager_page.png|align="center"!     {anchor:id="page_management_page}

* *The second way*

*i.* Select a portal that contains a page with the *Answers* portlet, then open the page.

*ii.* Hover your cursor over *Edit --> Page*, then click *Layout*.

!images/Answer_page_layout.png|align="center"!

Now, you should be in the page edit mode.

!images/Answer_portlet_edit_mode.png|align="center"!

*3.* Hover your cursor over the *Answers* portlet, then click !images/edit_icon3.png! on the quick toolbar that appears.

*4.* Make changes in the *Answer Portlet* form.

!images/Answer_porlet_edit_form.png|align="center"!

In this form, you can:

- [Change the display mode|#KSuser.Answer_Moderator.Change_display_mode]
- [Customize email notification template|#KSuser.Answer_Moderator.Customize_Email_template]
- [Enable the "Discuss in Forum" feature|#KSuser.Answer_Moderator.Enable_discuss_in_forum]


h3. Change the display mode {anchor:id=KSuser.Answer_Moderator.Change_display_mode}

In the *Display Mode* tab, you can set all the default display properties of the *Answers* application, including:

* *Display*: Display all entries in the *Answers* application. 
** *'All'*: all entries, including approved and unapproved entries/questions, are displayed in a list when users view.
** *'Approved'*: Only approved entries are displayed in the list when users view.
* *Order by*: The order to display all questions in the *Answers* application.
** *Created Date*: Entries in the list are displayed to the entries's created date order.
** *Alphabet/Index*: Entries in the list are displayed to the alphabet order.

The type of sorting entries in the list may be: *Ascending* or *Descending*. 

* *Enable Votes and Comments*: Enable votes and comments to be available in *Answers*. If this checkbox is selected, users can comment and vote in *Answers*. If not, these functions are disabled.
* *Anonymous users may submit questions*: Enable anonymous users to submit questions in *Answers* or not. If this checkbox is selected, anonymous users are entitled to submit questions. If not, they cannot submit questions.
* *Enable Automatic RSS*: Enable the RSS feeds function to be available in Answers or not. If this option is selected, users can get RSS information in *Answers*. If not, the RSS function is disabled.
* *Display Avatars*: Enable avatars to be viewed in *Answers* or not. If this checkbox is selected, the avatar of eXo members are shown in *Answers*. If not, they are hidden.
* *Allow users to post questions in the root category:* Enable users to post questions in the root category or not.

{docbook}
<para>
<prompt>
    <emphasis role="bold">See also</emphasis>
</prompt>
</para>
{docbook}


* [View details of Answers|#Answer_user_guide.View_details]
* [Customize the email notification template|#KSuser.Answer_Moderator.Customize_Email_template]
* [Enable the "Discuss in Forum" feature|#KSuser.Answer_Moderator.Enable_discuss_in_forum]
* [Define the default category for discussions|#KSuser.Answer_Moderator.Define_discuss_category]
	
h3. Customize email notification template {anchor:id=KSuser.Answer_Moderator.Customize_Email_template}
When there are new questions or answers in the category or topic that a user has watched, the use will receive the email notification. 
In the *Email Notifications* tab, change the content of the email notification manually or edit the template for each email notification. 

!images/Answer_porlet_edit_form2.png|align="center"!

* *New Question* tab: The content of the email notification.
* *Edit/Answer* tab: The content of the email notification that has been answered or edited.
* *Move Question* tab: The content of the email notification that notifies about the question that has been moved to another category.

The followings are variables that you can use in your template:

*{noformat}&categoryName_{noformat}*: will be replaced by the watched category.

*{noformat}&questionContent_{noformat}*: will be replaced by the content of the new questions.

*{noformat}&questionResponse_{noformat}*: will be replaced by the content of the new questions' reply.

*{noformat}$questionLink_{noformat}*: will be replaced by the link to new questions in the *Answers* portlet.

These variables are used to load the content dynamically. Thus, you should not edit them. In case the template is changed unexpectedly, you can go back to the default template by clicking !images/Back_to_default_btn.png!.
You can use the text editor to format the template as you wish.

{docbook}
<para>
<prompt>
    <emphasis role="bold">See also</emphasis>
</prompt>
</para>
{docbook}


* [View details of Answers|#Answer_user_guide.View_details]
* [Change the display mode|#KSuser.Answer_Moderator.Change_display_mode]
* [Enable the "Discuss in Forum" feature|#KSuser.Answer_Moderator.Enable_discuss_in_forum]
* [Define the default category for discussions|#KSuser.Answer_Moderator.Define_discuss_category]

h3. Enable the "Discuss in Forum" feature {anchor:id=KSuser.Answer_Moderator.Enable_discuss_in_forum}

In the *Discussion* tab, enable/disable the *Discuss in Forum* function in *Answers* and set the default forum for this function by selecting/deselecting the checkbox.

!images/Answer_porlet_edit_form3.png|align="center"!

{docbook}
<para>
<prompt>
    <emphasis role="bold">See also</emphasis>
</prompt>
</para>
{docbook}


* [View details of Answers|#Answer_user_guide.View_details]
* [Change the display mode|#KSuser.Answer_Moderator.Change_display_mode]
* [Customize the email notification template|#KSuser.Answer_Moderator.Customize_Email_template]
* [Define the default category for discussions|#KSuser.Answer_Moderator.Define_discuss_category]

h3. Define the default category for discussions {anchor:id=KSuser.Answer_Moderator.Define_discuss_category}

*1.* Click !images/Plus_icon.png! next to the *Select the forum* field to open the *Select a forum* form in the *Discussion* tab.

!images/Select_forum_form.png|align="center"!

*2.* Click a specific category/forum title to select it.

*3.* Click *Save* to accept saving changes in the *Discussion* tab.


{docbook}
<citetitle>
<para>
    <emphasis role="bold">Select the category scoping</emphasis>
</para>
</citetitle>
{docbook}

In the *Category Scoping* tab, show/hide categories in *Answers*. The hidden category is not displayed in *Answers*.

!images/Answer_porlet_edit_form4.png|align="center"!

To hide/show any category, simply deselect/select its checkbox and click *Save*.

{docbook}
<para>
<prompt>
    <emphasis role="bold">See also</emphasis>
</prompt>
</para>
{docbook}


* [View details of Answers|#Answer_user_guide.View_details]
* [Change the display mode|#KSuser.Answer_Moderator.Change_display_mode]
* [Customize email notification template|#KSuser.Answer_Moderator.Customize_Email_template]
* [Enable the "Discuss in Forum" feature|#KSuser.Answer_Moderator.Enable_discuss_in_forum]

h2. Set up FAQ portlet {anchor:id=KSuser.Answer_Moderator.Set_up_FAQ_portlet}

The *FAQ* portlet can be added to a page for users to view questions and answers quickly and easily.

!images/FAQ_screen.png|align="center"!

The *Edit Mode* of the *FAQ* portlet allows you to set the properties to display questions and answers in the View mode.

{docbook}
<citetitle>
<para>
    <emphasis role="bold">Configure the FAQ portlet</emphasis>
</para>
</citetitle>
{docbook}

*1.* Click !images/Setting_gear.png! *--> Portal --> Pages*.

!images/edit_pages1.png.png|align="center"!

The *Page Manager* page will be displayed.

!images/Page_manager_page.png|align="center"!

*2.* Click !images/edit_icon.png! that corresponds to the *FAQ* page in the page list. Now, you should be in the page edit mode.

*3.* Hover your cursor over the *FAQ* portlet and click !images/edit_icon3.png! in the quick edit toolbar that appears.

!images/FAQ_portlet_edit.png|align="center"!

*i.* In the *Display Category* tab, you can control what categories will be displayed.
 

!images/FAQ_portlet_edit_form.png|align="center"!


*ii.* In the *Edit Template* tab, you can use CSS to customize the *FAQ* template.

!images/FAQ_portlet_edit_form2.png|align="center"!

This is an example of the *FAQ* template after applying the new style.

!images/FAQ_template_edit.png|align="center"!

*iii.* In the *Preference* tab, you can enable or disable the bookmarkable URLs in *FAQ*.

!images/FAQ_portlet_edit_form3.png|align="center"!

By not using Ajax, the *FAQ* will generate plain URLs in the links. The added benefit will be bookmarkability and better SEO as the links will be permalinks.
Using Ajax, the links will be JavaScript-based and generate Ajax calls. This should make browsing faster because the whole page is not reloaded.

{docbook}
<para>
<prompt>
    <emphasis role="bold">See also</emphasis>
</prompt>
</para>
{docbook}


* [View details of Answers|#Answer_user_guide.View_details]
* [Set up the Answers portlet|#KSuser.Answer_Administrator.Set_up_Answers_portlet]
