How the FAQ Component Works

To display the FAQ information on your site, you must first add a page for the FAQ Admin component and a separate page for the FAQ Details component.

  1. From the Custom Components toolbox, select NOF FAQ>FAQ Admin.

  2. Draw a box on the Layout to indicate where you want to position the FAQ Admin component.

The NOF FAQ dialog appears.

  1. If you have not created a Component Suite, create a new one by typing a name for the suite in the New name field. To include the component as part of an existing suite, click the Existing radio button and select the Component Suite that you want to add the component to. See Using Component Suites.

  2. From the Profile drop-down list, select the settings profile that you want to use for the component. If you have not created a settings profile, the default profile will be used. See Creating Component Profiles.

  3. Click OK to close the NOF FAQ dialog.

The FAQ Admin dialog box appears.

  1. On the Settings tab, select the number of FAQs that you want to display per page by either typing a number in the text field or using the up and down arrows in the Record per page box.

  2. Click the Design tab to customize the appearance of your FAQ Admin page by choosing a template from the Style drop-down list.

The default theme is the SiteStyle theme that is used for the current Active SiteStyle. When selected, a preview for this theme is only available from the Style view. A short description of the selected style and a preview image of the additional themes will be displayed in the dialog box.

  1. Click General tab to configure the general settings for your FAQ Admin page.

Script type displays either ASP or PHP, depending on settings from the General tab of the Current Site Options dialog.

 

Note: The FAQ Component creates three flat database files on the remote server, and they are by default: rank, categories and FAQ. The prefix you have specified in the Database prefix field will be added in front of each file name, therefore the complete file names are prefixrank.csv, prefixcategories.csv and prefixfaq.csv. By default the files are created in the /scripts folder, so you have to grant write permission to the /scripts folder.

Note: If you enter a relative path in the Database prefix field, for example: ../db/prefix, then it will be treated as such by the Component. This means you will have to manually create the /db folder on the server (in the folder where you publish the site) and grant write permission to the /db folder. The rank, categories and FAQ files will be created in the /db folder, as prefixrank.csv, prefixcategories.csv and prefixfaq.csv.

Note: If you remove the default "prefix" value and you do not enter anything else in the Database prefix field, then the files will be created in the /scripts folder as rank.csv, categories.csv and faq.csv.

  1. To save the FAQ Admin Component settings as a profile that can be applied to additional NOF FAQ components that you add to your site, click Save Profile. See Creating Component Profiles.

  2. Click OK to close the FAQ Admin dialog box.

The FAQ Admin component is not password-protected. It is recommended that you exclude the page containing the FAQ Admin component from navigation by checking the Exclude from Navigation check box on the Page Properties panel in Site view.