Producing Side Navigation Output

After making decisions about how you want your Side Navigation output to look and work, you can follow the necessary steps to produce it.

How to Produce Side Navigation Output

  1. Add a Side Navigation skin to your project (Project > New > Add Skin). See Adding Skin Files.
  2. (Optional) You can edit the Side Navigation skin and its styles, just like you can edit other types of skins. See Editing Skin Settings and HTML5 Skin Styles.

    Following are a few of the more common adjustments that are made in skins:

    Main Menu Position

    On the Setup tab of the Skin Editor, you can set the main menu position to Top, Left, or Right. This is the primary menu (links to topics) that is based on your TOC when the output is being viewed on a large screen (not tablet or mobile). In a new Side Navigation skin, this field is set to Left by default, meaning the main menu will be placed on the left side of the screen. However, you can change it to Right if you want the menu shown on the other side of the screen. If you choose Top, you will no longer be using a Side Navigation skin, but rather a Top Navigation skin, where the main menu is positioned at the top of the screen.

    Slide-out Position

    On the Setup tab of the Skin Editor, you can position the pane either on the Left or Right. This is the flyout menu pane that is seen on the side of the output when it is being viewed on a tablet or mobile device, replacing the menu that is seen on larger screens.

    Slide-Out Menu Style

    On the Setup tab of the Skin Editor, you can choose the look of the slide-out menu for Side Navigation output (i.e., the menu that opens when you click the “hamburger” icon in tablet or mobile view). See Setting the Slide-Out Menu for Side or Top Navigation Output.

    You can select a drilldown format. Any item containing sub-items has a double-arrow next to it. When you click on such an item, the entire menu changes, showing only that item and its sub-items.

    Alternatively, you have the option of using a tree format instead. With this format, any item containing sub-items has a down arrow next to it. When you click on that item, the sub-items are shown, but the rest of the menu remains in view as well.

    Fixed Header

    On the Setup tab of the Skin Editor, you can fix the header portion of the topic so that it stays in place when users scroll down to see more content. For Side Navigation skins, you can do this for all screen sizes (web, tablet, mobile), or for web only. See Setting a Fixed Header for Side or Top Navigation Output.

    Logo

    On the Styles tab of the Skin Editor, you can replace the generic logo with your own (if you have not already done so using the branding feature).

    Whatever image you use for your logo, it is automatically set to link to the topic that you've set as the Startup Topic on the General tab of the Target Editor. However, you can select a different topic or even enter the URL to your company's website instead (remember to include http:// at the beginning of the path if you link to a website). This can be done on the Setup tab of the Skin Editor.

    Alignment for Logo and Search Bar

    There are some flexbox-related options on the Styles tab that let you align the logo and search bar in the header. These fields are called “Full Row” and “Order.”

    • Full Row This option allows the element to take up all of the space horizontally in the header.
    • Order This option determines which element comes first, second, or third in the header. Side Navigation has only two elements (logo and search bar), but Top Navigation has three (logo, search bar, and main menu).

    Example You add a new Side Navigation skin. Initially it looks like this:

    The logo comes first (Order=1) and is positioned left, whereas the search bar comes second (Order=3) and is positioned right.

    Maybe you want to reverse this, placing the search bar first (aligned left) and the logo second (aligned far right).

    In that case, you would change the settings like this:

    Now suppose you create a new Top Navigation skin. Initially it looks like this:

    The logo comes first (Order=1) and is positioned left. The menu is second (Order=2) and is positioned right. The Central account link is third (Order=3). The search bar is fourth (Order=4) and is set to take up a full row.

    Now maybe you want each element to take up all the space on its row, centered, with the logo first, the search bar second, followed by the menu, and then the Central account link.

    In that case, you would change the settings like this:

  3. Open your HTML5 target and on the Skin tab, associate the Side Navigation skin with it. See Associating Skins With Targets.

  4. (Optional) By default, the Side Navigation skin includes a menu on the side and a search bar at the top of topics, but if you want to add elements such as these directly in topics or template pages, you can add small HTML5 skin components to your project to include special menus, search elements, and toolbars. This is the same process as adding a regular skin (Project > New > Add Skin), except you are adding an individual component.

    Actually, you can add features such as these in your output without adding skin components. You can do this by inserting the appropriate proxies (see step 11). The skin components are used to create a custom look for the elements, while their related proxies are used to perform the actual generation of the elements. So although adding skin components is an optional step, it is likely that you will want to do it if you decide to add navigation proxies.

    For more details about these elements, see Skin Components and Proxies.

  5. (Optional) In the same way that you can edit a regular skin, you can edit individual skin components. When you open a component to edit it, you will notice that the Skin Editor is slimmed down to show only the properties and fields related to that component. See Editing Skin Settings and HTML5 Skin Styles.

  6. Create a Home topic. This is the first topic shown when users open the output. It is just a regular topic, but you might decide to design it to stand out from the rest of the topics. Make sure to set this topic as your startup topic. You can do this by opening the Target Editor, selecting the General tab, and choosing the topic in the Startup Topic field.

    For more details, see Home Topic.

  7. (Optional) You can create other topics, including regular topics that contain the bulk of your content.

    You can also create a special topic to hold generated search results. A Side Navigation skin already includes a search bar, and you do not need to do anything else to incorporate search into your output. When an end user searches for text, Flare displays the results in its default format. However, if you want to be able to customize your own search results page, you can create a topic specifically for that purpose and insert a Search Results proxy into it (Insert > Proxy > Insert Search Results Proxy). This works with the Search Results skin component that you can add to a project (see step 4).

  8. Add topics to a TOC file. See Creating a TOC.

    The Side Navigation skin uses the structure and contents of your TOC to populate the menu that appears at the left or right side of topics.

    Tip Although Flare lets you create books in the TOC file that do not link to anything (i.e., merely using the book to organize the TOC), it is a best practice for Side Navigation output to make sure that all TOC books and items are linked to something.

    Tip It is standard practice in web design to not include your Home page as a menu text link. The default behavior in Side Navigation output is to link the logo to the Home page, so it is not necessary to add this topic to your TOC.

  9. (Optional) It is not mandatory to create any template pages in order to have Side Navigation output. However, template pages can be particularly useful, especially if you want the same content to automatically show up at the bottom or top of topics. They can also useful if you want your Home page's design to be much different from that of the rest of your topics. So if you would like to incorporate one or more template pages, create them. See Creating Template Pages.

    Example In Flare's Side Navigation template, we wanted to show footer content at the bottom of the Home page, so we created a template page just for that topic, and we added footer content under the Topic Body proxy.

    Then on the rest of the topics we wanted breadcrumbs to be displayed above the topic content. So we created a second template page (“Other-Topics.flmsp”) for all of those topics and inserted a Breadcrumbs proxy above the Topic Body proxy.

  10. (Optional) You can select a template page on the Advanced tab of your HTML5 target. See Associating Template Pages With Targets.

    This tells Flare that, unless otherwise directed, all topics will use the template page you selected. But if you want to use a second template page, you can open the Properties dialog for a particular topic and point to a different template page. In that case, the template page set in the target is typically the one that the majority of your topics will use. But for the other topic(s) using a different template page, you can override the target setting. See Associating Template Pages With Topics.

    Example In this example, the template page that we want to use for most of our pages in the output is named "Other-Topics." So on the Advanced tab of the Target Editor, we selected it.

    Then we opened the Properties dialog for the Home topic (open topic, then File > Properties). On the Topic Properties tab, we clicked in the Template Page field and selected Home-Page. Now this topic will use the "Home-Page" template page instead of the other one for the rest of the topics.

  11. (Optional) You have the option of inserting a variety of proxies (Insert > Proxy > [Name of Proxy]) into your template page(s) and topics. This includes proxies that correspond to the different kinds of skin components you can add to your project (e.g., Menu, Topic Toolbar, Search Bar, Search Results). See Proxies.

    For more details, see Skin Components and Proxies.

  12. (Optional) If you have added skin components to your project, you can associate them with an entire target or with individual proxies. If one skin component is associated with the target and a different one is associated with a proxy, the one associated with the proxy has precedence.

    Target

    To associate a skin component with an HTML5 target, open the Skin tab in the Target Editor, then make your selection in the Component Default Skins section. See Associating Skin Components With Targets.

    It is not necessary to select anything in these fields, especially if you have only one type of a particular skin component (e.g., one Topic Toolbar component). But if you have more than one type of a skin component (e.g., two Topic Toolbar components), you can choose one of them as the default for all of the topics in the target. Then for the other component(s) of that same type, you can override the target setting by pointing to it in the relevant proxy (see below).

    Proxies

    To associate a skin component with a proxy, open the template page or topic where you've inserted the proxy. Then right-click the proxy and use the dialog to choose the skin component.

    For more information about associating skin components with proxies, see Skin Components and Proxies.

    Note It's possible that you will not need skin components in your project at all. If you have not added a skin component but you insert a proxy related to it, Flare will just use the default design from the application.

  13. Create and edit stylesheets to control the look of your content in the output. See Styles and Stylesheets, Creating Stylesheets, and Editing Styles in a Regular Stylesheet.

  14. Make sure your stylesheet(s) are associated with the appropriate files.

    In Flare's Side Navigation template, you will notice that one stylesheet is used. It is already selected at the project level (Project > Project Properties) so that it is automatically used for all content files in the project.

  15. (Optional) Responsive output is automatically enabled for Side Navigation skins. But you can set a few additional options on the Skin tab of the Target Editor. See Responsive Web Design and Responsive Skins.

    When a skin is responsive, the navigation elements are automatically adjusted depending on the size of the screen.

    • Tablet Breakpoint Enter the number of pixels for the maximum width of a Tablet view.
    • Mobile Breakpoint Enter the number of pixels for the maximum width of a Mobile (or phone) view.
    • Use device with media queries Select this option if you want to base the responsive output not merely on the width of the output display, but on its width in the actual device (browser, tablet, or mobile). In other words, if you do not have this option selected and you view the output on a full browser, you can see the tablet and mobile layouts simply by reducing the size of the browser window. But if you select this option and you reduce the width of the browser, the layout will not change to the tablet or mobile formats.