Fortinet white logo
Fortinet white logo

Administration Guide

Content fields

Content fields

The Content Editor allows you to modify the content of the portal pages seen by your network users. This editor only modifies portal pages distributed with FortiNAC in version 4.1.1 or higher. Legacy portal pages cannot be edited using this tool. See Portal content editor for additional information.

If you are familiar with HTML, you can add formatting within the content fields for your pages. Test each page carefully because your formatting may conflict with something that is in the default settings for the page. Make sure to test portal pages in a separate browser of a different brand. If you test in the same browser you will be logged out of the Admin user interface. For example, if you are running the Admin user interface in Google Chrome, test the portal pages in Internet Explorer.

  1. Select System > Portal Configuration.
  2. Click on the Content Editor tab.
  3. If you have created more than one portal, select the portal to be edited from the drop-down list at the bottom of the view.
  4. Click a node in the left hand pane to expand it.
  5. Click a page within the selected node. The properties for that page are displayed in the right pane.
  6. Modify the properties as needed and click Apply to save your changes. When changes are made to the portal pages there is a delay before the changes are displayed.

Field types on each page include the following:

Type

Description

Boolean

Check box that enables or disables a feature or subsequent field.

Text

Text fields are available for you to enter custom text that is displayed on your Captive Portal Page. If you are familiar with HTML, you can include HTML in these fields. For example, to make something bold and italics, you would do the following:

<b><i>Contact the Help Desk.</i></b>

The message on the web page would display as:

Contact the Help Desk.

For users who are accessing your web pages you may also have text fields. These fields are set to type Input and typically only allow text.

Input

If you have set a data entry field to type input, you are indicating that the web page user should enter text. You can enter a default value to prompt the user but it can be overridden. For example, if you set Postal Code to your local postal code, most users would not have to modify this field and it would save them a step.

Password

If you have set a data entry field to type password, any data typed into the field by the user will display as dots or asterisks to mask the actual characters being entered.

Hidden

If you have set a data entry field to type hidden, the user does not see it on the web page, however, it does contain data that is passed to the server. You must enter the data in the Portal Content Editor. For example, if all users who register via the Registration page should be set to a particular Role, such as, Staff, you can enter Staff in the Role field for them and mark it as hidden.

Select

If you have set a data entry field to type select, the user is presented with a drop-down list of options on the web page. To construct the list of options you must enter list items as follows:

(Value,Name : Value,Name)

Example: Color1,Blue : Color2,Red : Color3,Green

Inline Help icon

Displays inline help containing a description and usage for the field.

Note

Text fields in the Portal Contents Editor accept HTML. However, if you copy and paste HTML developed in another program you may corrupt the data stored for your web pages. Specifically, HTML containing curly or curved quotes instead of straight quotes will corrupt your web pages and they will become unusable.

The Content Editor is navigated using the tree control on the left side. The top level of the hierarchy represents the scope, such as Registration or Remediation. The Global scope contains common items that apply to all portal pages across all scopes. Within each scope are pages. When a page is selected the properties it contains are displayed on the right. Each page contains properties that can be edited such as Window titles or login text.

Content fields

Content fields

The Content Editor allows you to modify the content of the portal pages seen by your network users. This editor only modifies portal pages distributed with FortiNAC in version 4.1.1 or higher. Legacy portal pages cannot be edited using this tool. See Portal content editor for additional information.

If you are familiar with HTML, you can add formatting within the content fields for your pages. Test each page carefully because your formatting may conflict with something that is in the default settings for the page. Make sure to test portal pages in a separate browser of a different brand. If you test in the same browser you will be logged out of the Admin user interface. For example, if you are running the Admin user interface in Google Chrome, test the portal pages in Internet Explorer.

  1. Select System > Portal Configuration.
  2. Click on the Content Editor tab.
  3. If you have created more than one portal, select the portal to be edited from the drop-down list at the bottom of the view.
  4. Click a node in the left hand pane to expand it.
  5. Click a page within the selected node. The properties for that page are displayed in the right pane.
  6. Modify the properties as needed and click Apply to save your changes. When changes are made to the portal pages there is a delay before the changes are displayed.

Field types on each page include the following:

Type

Description

Boolean

Check box that enables or disables a feature or subsequent field.

Text

Text fields are available for you to enter custom text that is displayed on your Captive Portal Page. If you are familiar with HTML, you can include HTML in these fields. For example, to make something bold and italics, you would do the following:

<b><i>Contact the Help Desk.</i></b>

The message on the web page would display as:

Contact the Help Desk.

For users who are accessing your web pages you may also have text fields. These fields are set to type Input and typically only allow text.

Input

If you have set a data entry field to type input, you are indicating that the web page user should enter text. You can enter a default value to prompt the user but it can be overridden. For example, if you set Postal Code to your local postal code, most users would not have to modify this field and it would save them a step.

Password

If you have set a data entry field to type password, any data typed into the field by the user will display as dots or asterisks to mask the actual characters being entered.

Hidden

If you have set a data entry field to type hidden, the user does not see it on the web page, however, it does contain data that is passed to the server. You must enter the data in the Portal Content Editor. For example, if all users who register via the Registration page should be set to a particular Role, such as, Staff, you can enter Staff in the Role field for them and mark it as hidden.

Select

If you have set a data entry field to type select, the user is presented with a drop-down list of options on the web page. To construct the list of options you must enter list items as follows:

(Value,Name : Value,Name)

Example: Color1,Blue : Color2,Red : Color3,Green

Inline Help icon

Displays inline help containing a description and usage for the field.

Note

Text fields in the Portal Contents Editor accept HTML. However, if you copy and paste HTML developed in another program you may corrupt the data stored for your web pages. Specifically, HTML containing curly or curved quotes instead of straight quotes will corrupt your web pages and they will become unusable.

The Content Editor is navigated using the tree control on the left side. The top level of the hierarchy represents the scope, such as Registration or Remediation. The Global scope contains common items that apply to all portal pages across all scopes. Within each scope are pages. When a page is selected the properties it contains are displayed on the right. Each page contains properties that can be edited such as Window titles or login text.