Once one or more locations have been created, the next step is to make this information available to your users/patrons, this can be done in a couple of ways:
- Add a Locations block on your homepage or any other landing page on your Stacks site
- Add a location drop-down that appears in your top menu
- Add a link to the Locations list view page in your main menu or through other Stacks features
Adding the locations block on your homepage (or other landing pages)
One of the most common ways people display their location and hours of operation is by adding the Locations block to their homepage (or any other landing page).
To add the locations block to an existing section:
- Once logged into your site with the appropriate user, navigate to the page you wish to add the block to
- Click the Layout tab just under the header
- Scroll to the section where the block should be placed
- For more information on adding new sections, see the Layouts and Content article
- Click + Add block
- A window will open on the right listing the content that can be added to the section
- Content will be organized by feature type, scroll to the System Blocks section, then click Locations
- In the next window, configure the appearance of the block, starting with the Heading, here you have 3 options
- Leave the heading as is, by default this will be visible to your users/patrons
- Change the heading name, click into the field and type in a new heading name
-
Hide the heading, if you do not wish to show any heading, click the
icon to the right
-
Helper Text, if applicable, enter a short description or instructions to provide guidance to the user/patron
- This will appear as an
icon to the right of the heading, users/patrons can click or hover over the icon to view the helper text
- Please note, visibility of the helper text is tied to the visibility of the Heading; meaning, if the heading is hidden, the helper text will be as well
- This will appear as an
- Subheading, if applicable, enter a value to display as a subheading
- Sub-Title URL, if applicable, enter the full URL to the page you wish to direct users/patrons to when they click the displayed subheading
- Open in new tab/window, if adding a Sub-Title URL, check this box to open that page in a new browser tab/windowIn the window that opens a default heading will be displayed, you have 3 options
- Click Add Block to finish adding the block to the page
- In the next window, configure the appearance of the block, starting with the Heading, here you have 3 options
- Content will be organized by feature type, scroll to the System Blocks section, then click Locations
- A window will open on the right listing the content that can be added to the section
- Once finished scroll to the top of the page and click Save Layout to save the changes to the page.
Adding the location and hours information as a top menu drop-down
Another option for displaying location and hours information is to enable the location modal, which will appear as a drop-down option in the top menu of your Stacks site. When clicked, this drop-down will display the name, hours of operation, and phone number information for your locations.
To enable this drop-down:
- From the Dashboard, click the System Configuration tile
- Click the Header tile
- Click Location bar
- Enable, check this box to enable the location bar
- Modal Image, not applicable, you can leave this blank
- Location Image Path, not applicable, you can leave this blank
- Click Save Configuration when finished
Add a link to the locations list view
The third option for providing access to your Locations information is to add a link to the pre-built location and hours list view page within Stacks. This link can be added as a link in your main menu, call to action buttons in your header, or through other Stacks features.
In the appropriate link or URL field for any of the options listed, use the path (URL alias) /location-and-hours to direct your users/patrons to the pre-built locations page. When using this option, take a look at the settings for the listing view and details view pages to ensure you display the information you want.
Settings for the location list view page
Additional settings can also be configured here to control the how your users/patrons will see location and hour information when viewing the Listing View or Detail View for your locations.
- Listing View - this is the initial list of directory listing entries users/patrons will see when they navigate to the /location-and-hours page
- Details View - this is the view users/patrons will see when they click on any one listing entry
- From the Dashboard, click the Location & Hours tile
- Click the Settings tab at the top of the screen
- Click the Listing View sub-tab
-
Enable Listing View, when checked this enables access to the listing view for the content type
- If disabled, when a user attempts to load the URL for this content, they will be redirected to the homepage
- Title, edit the title for the page if desired, the default value is Location and Hours
- Description, enter a description for the page if desired, this will be visible to users/patrons
-
Display section
- Expand First Group by Default, check this box to expand the items, when they are grouped
- Display search form, check this box to display a search bar for entries
- Display A-Z Link Index, check this box to display a link on the list view when "Group by None" is selected
- Enable Add to saved list button, check this box to enable a save to list button
-
Defaults section
- Default Page Limit, select the number of entries to be displayed before pagination is enforced
-
Default Grouping, select the default value locations should be grouped by
- Note: users/patrons can change this when viewing the list of locations
- Default Sort Field, select the default value locations should be sorted by
-
Default Sort Order, select the default order in which locations should be sorted
- Note: users/patrons can change this when viewing the list of locations
-
Field Visibility section
- Check the box beside each field that should be made visible to users/patrons when viewing the list of location entries
- Click Save configuration when finished
-
Enable Listing View, when checked this enables access to the listing view for the content type
- Click the Details View sub-tab
-
Field Visibility section
- Check the box beside each field that should be made visible to users/patrons when viewing the list of location entries
- Enable Add to saved list button, check this box to enable a save to list button
- Click Save configuration when finished
-
Field Visibility section