FAQ modifications

Changing the FAQs

Jomres includes popups in the administrator and property manager pages that provide information and guidance that can help site administrators and property managers to do their jobs.

faq screenshot

 

If you want to remove the output completely from the property manager area, edit top.html and remove the code {_JOMRES_FAQ}

 

To change the contents of the FAQ questions and answers, the best way is to use the administrator area feature "Translate language file strings".

Find the language string you want to modify by using your browser's search feature

faq lang strings

Then click on that string to bring up a popup. You can then edit the string directly here and the change will be reflected in the FAQ.

faq lang strings2

 

If you want to add or remove items from the FAQs you will need to edit j07060faq_manager_questions.class.php ( or for site admins, edit j07070faq_admin_questions.class.php ).

The script should be simple enough to understand. Let's take a look at the first question :

$kb->manager_faq['_JOMRES_FAQ_MANAGER_CATEGORY_PROPERTY'][] = array(
            'question' => jr_gettext('_JOMRES_FAQ_MANAGER_QUESTION_CREATPROPERTY', '_JOMRES_FAQ_MANAGER_QUESTION_CREATPROPERTY', false),
            'answer' => jr_gettext('_JOMRES_FAQ_MANAGER_ANSWER_CREATPROPERTY', '_JOMRES_FAQ_MANAGER_ANSWER_CREATPROPERTY', false),
            );

 

The first part _JOMRES_FAQ_MANAGER_CATEGORY_PROPERTY defines which category the Question and Answer set will be in. In this case, it's "Properties".

The second and third parts, define the question and answer.