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 the Answers portlet {anchor:id=KSuser.Answer_Administrator.Set_up_Answers_portlet}

When adding the *Answwers* 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|width="4mm" fo:scalefit="1" html:scalefit="0"! *--> Portal --> Page* on the *Administration* bar.

!images/edit_pages1.png|align="center" width="50mm" fo:scalefit="1" html:scalefit="0"!

*ii.* Click !images/Edit_icon.png|width="4mm" fo:scalefit="1" html:scalefit="0"! that corresponds to the page containing the *Answers* portlet in the *Page Management* page.

!images/Page_manager_page.png|align="center" width="150mm" fo:scalefit="1" html:scalefit="0"!     {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" width="50mm" fo:scalefit="1" html:scalefit="0"!

Now, you should be in the *Edit* mode of the page.

!images/Answer_portlet_edit_mode.png|align="center" width="150mm" fo:scalefit="1" html:scalefit="0"!

*3.* Hover your cursor over the *Answers* portlet, then click !images/edit_icon3.png|width="4mm" fo:scalefit="1" html:scalefit="0"! on the quick toolbar that appears.

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

!images/Answer_porlet_edit_form.png|align="center" width="130mm" fo:scalefit="1" html:scalefit="0"!

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 for administrators and moderators.
** *All*: All entries, including approved and unapproved entries/questions, are displayed in a list when administrators and moderators view.
** *Approved*: Only approved entries are displayed in the list when administrators and moderators 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*.
* *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*.
* *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 the 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" width="120mm" fo:scalefit="1" html:scalefit="0"!

* *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:

*&categoryName\_*: will be replaced by the watched category.

*&questionContent\_*: will be replaced by the content of the new questions.

*&questionResponse\_*: will be replaced by the content of the new questions' reply.

*&questionLink\_*: will be replaced by the link for going to new questions.

*&answerNowLink\_*: will be replaced by the link for going to new questions and open pop-up form Answer question.


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|width="4mm" fo:scalefit="1" html:scalefit="0"!.
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" width="120mm" fo:scalefit="1" html:scalefit="0"!

{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|width="4mm" fo:scalefit="1" html:scalefit="0"! 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" width="80mm" fo:scalefit="1" html:scalefit="0"!

*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" width="120mm" fo:scalefit="1" html:scalefit="0"!

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 the 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" width="120mm" fo:scalefit="1" html:scalefit="0"!

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|width="4mm" fo:scalefit="1" html:scalefit="0"! *--> Portal --> Pages*.

!images/edit_pages1.png|align="center" width="50mm" fo:scalefit="1" html:scalefit="0"!

The *Page Manager* page will be displayed.

!images/Page_manager_page.png|align="center" width="150mm" fo:scalefit="1" html:scalefit="0"!

*2.* Click !images/edit_icon.png|width="4mm" fo:scalefit="1" html:scalefit="0"! 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|width="4mm" fo:scalefit="1" html:scalefit="0"! in the quick edit toolbar that appears.

!images/FAQ_portlet_edit.png|align="center" width="120mm" fo:scalefit="1" html:scalefit="0"!

*i.* In the *Display Category* tab, you can control what categories will be displayed.
 
!images/FAQ_portlet_edit_form.png|align="center" width="120mm" fo:scalefit="1" html:scalefit="0"!

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

!images/FAQ_portlet_edit_form2.png|align="center" width="120mm" fo:scalefit="1" html:scalefit="0"!

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

!images/FAQ_template_edit.png|align="center" width="140mm" fo:scalefit="1" html:scalefit="0"!

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

!images/FAQ_portlet_edit_form3.png|align="center" width="120mm" fo:scalefit="1" html:scalefit="0"!

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]
