Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Here you will find notes/solutions/etc about using a DFW instance in private/public config.

Azure Authentication

Employees must log in to view private pages in DFW. Login authenticates against the Azure web application, which controls user access. You will need to provide a list of domain URLs to your Azure administrator to use this authentication process.

Login / Logout

Employees who log in to view private pages will not see the Drupal administration menu so will and need a way to log out of the website. One easy way to do this is to add Login and Logout links to the Utility menu.

Home > Administration > Structure > Menus > Utility Bar Edit Menu > Add link

Add these links to the utility bar menu:

  • Login URL: /login

  • Logout URL: /user/logout

Style as a button: You can add a background color to these links by selecting the preferred color in the Attributes menu.

This example shows that prior to employee login only the blue Login button displays in the utility menu.

screenshot with blue Login button at top right of websiteImage Removed

This example shows that after the employee login, the black Logout button displays in the utility menu.

screenshot with black Logout button at top right of websiteImage Removed

To provide this functionality, the utility menu includes a Log out link button.

The Log out link toggles between Log in for the anonymous user and Log out for the authenticated user. If you do not wish to use this feature in the utility menu simply disable it.

This example shows the utility menu before employee login. The blue Log in button displays in the top right.

screenshot showing blue log in button in top right cornerImage Added

This example shows the utility menu after employee login. The black Log out button displays in the top right.

screenshot showing black log out button in top right cornerImage Added

Note: After the employee logs out of the DFW site, the Logout Log out button will disappeartoggle back to the Log in button.

The search feature provides an internal search of both public and private pages. Search will not reveal private page results unless the employee is already logged into the DFW website.

This example shows the search results when the words human resources are entered into the search box.

The description beneath the page title and breadcrumb is sourced from the Description field in Meta Tags. The example below shows the text entered in the meta tags description field.

Public/Private Pages

Private pages require user authentication to view. To make a page a Private page, enable the checkbox next to Private.

An example showing the checkbox enabled to make a page private.

screenshot of private checkbox enabled