Once you have one or more feeds created, the next step is to make sure your user/patrons are able to access the information your are importing.
There are various methods that could be used, one of the most common is to add a block directly to your homepage or another landing page; however you can also direct people to the feeds page through menu links, header buttons, other Stacks features, or a footer link.
No one method is necessarily the best, ultimately the best method is determined by how you want your users/patrons to find and navigate to content on your site.
Adding Feeds to a Landing Page
Adding feeds to your homepage or another landing page can be done in one of two ways, either via a pre-built RSS Block or by adding the feed and configuring the settings directly on the landing page, both methods will be discussed here.
RSS Block
By creating an RSS Block, you are in essence creating a block that is pre-filtered to display certain feed items, this block can then be added to any of the landing pages on your Stacks site.
Creating RSS Blocks
- From the Dashboard, then click the Feeds tile
- Click RSS Block, then Add New
- Provide a Title for the block
- Select the RSS Date:
- All - to import all items available on the feed
- Upcoming - to import items with upcoming dates
- Select the RSS Sort:
- Ascending - oldest feed items first
- Descending - oldest feed items last
- Select the RSS Feeds to include in the RSS Block
- To select multiple feeds
- Windows - hold Ctrl key, then click the feeds
- Mac - hold Cmd key, then click the feeds
- To select multiple feeds
- Click the desired checkboxes to display:
- Date, Source, and Time of each RSS item
- Select the Display Limit
- The default value is None, which will display 10 RSS items
- Click Save
Adding a RSS Block to a Landing Page
- Navigate to the page you wish to add the form to
- Click the Layout tab just below the header
- If needed, add a new section to the landing page, otherwise go to step 4
- For instructions on adding new sections, see the article Layouts and Content
- In the desired section, click + Add block
- In the window that opens scroll to the RSS Block section; OR enter the block's title in the filter field at the top
- Once found, click the block's Title
- A window will open displaying the current Heading
- By default this will be the Title value entered when the rss block was created, 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 eyeball icon to the right
- The field (and helper text field below) will then be "greyed-out" and cannot be edited
-
Helper Text, if applicable, enter a short description or instructions to provide guidance to the user/patron
- This will appear as an 'i' icon to the right of the heading, users/patrons can click or hover over the icon to view the helper text
-
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/window
- By default this will be the Title value entered when the rss block was created, you have 3 options
- Click Add Block
- A window will open displaying the current Heading
- Scroll to the top of the page, then click Save Layout to save your changes
Adding a Feed to a Landing Page without a RSS Block
As mentioned feeds can be added to a page without the need of creating an RSS block, in this scenario, you'll see in the layout builder you can configure the same settings you would for a RSS block when adding a feed to a page.
- Follow steps 1 through 4 from the instructions above
- In the window that opens scroll to the System Blocks section, then click RSS
- In the window that opens, review and if needed update the current Heading
- By default this will be RSS, 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 eyeball icon to the right
- The field (and helper text field below) will then be "greyed-out" and cannot be edited
-
Helper Text, if applicable, enter a short description or instructions to provide guidance to the user/patron
- This will appear as an 'i' icon to the right of the heading, users/patrons can click or hover over the icon to view the helper text
-
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/window
-
Show content from
- All, select this option display content from all your added feeds
- Specific item(s), select this option to display content from selected feeds
- Display date, check this box to display the rss item date
- Display time, check this box to display the rss item time
- Display source, check this box to display the rss item source
- Show pager
-
Items, this will only appear if Specific item(s) has been selected
- Select the feed(s) to display in the block
-
Sort by date, select the desired sort by option, select from
- Ascending or Descending
- Limit, enter a numerical value to set the number of rss items to be displayed in the block
- By default this will be RSS, you have 3 options
- Click Add Block
- In the window that opens, review and if needed update the current Heading
- Scroll to the top of the page, then click Save Layout to save your changes
Menu Links
Stacks has 2 menu areas, the top menu and the main menu; either of which could be used to provide access to your feeds. The links used here could be to either the pre-built Stacks feeds list page (/news) or the URL alias of any RSS blocks you have created (as described above).
To add a menu link:
- From the Dashboard, click the Menus tile
- Under the Operations column, click List Links for either the Main Menu or Top Menu option (the following steps will be the same for both options)
- Click +Add Link
- Menu Link Title - enter the name you wish to appear in the menu
- Link - add the default path /feeds to direct users/patrons to the pre-built feed listing page
- Enabled, check this box to enable visibility to the link, or leave unchecked to hide it
- Language, if applicable, select the most appropriate language
-
Domain (this area only applies to multi-domain sites)
- Domain Access, select the domain(s) that will use this menu link
- Send for all affliates, when enabled will make the menu link accessible on all domains
-
Parent Link (on the right)
- Select <Main menu> - to add the link to the main menu
- Select <Top menu> - to add the link the top menu
- All previously added menu links will also be listed, select any other link to embed this link under your selection, like a drop-down
- Important! The show as expanded (explained below) must be selected for the parent link for all child links to be displayed
-
Display Settings (on the right)
-
Weight, enter a numerical value to dictate the placement of the link in the menu
- Alternatively, after creating this link, click and drag the 4-way arrow in the list links screen to manually adjust the order of appearance
- Show as expanded, check this box to display all children links below
-
Weight, enter a numerical value to dictate the placement of the link in the menu
-
Description (on the right)
- Description, if applicable, add a brief description to display when hovering over the link
- Click Save to complete the addition of the new link
Header Button
Call to Action (CTA) buttons are up to 4 custom buttons that can be enabled in you header and used for navigating to content, other Stacks pages, or external websites. Depending on the header layout, these buttons typically appear beside or just under the main search bar in your header.
- From the Dashboard, click the System Configuration tile
- Click the Header tile, then the Header CTA Buttons option from the menu on the left
- Enable, check the box to enable the CTA button feature
-
Header Button 1 through 4
- Title, enter the button name, this will be visible to the user/patron
- URL, enter the path to the feeds page, /feeds, or the URL alias of a created RSS Block
- Click Save configuration when done
Other Stacks Features
Another method to to direct users/patrons to your feeds is through another Stacks feature such as a Callout, Slider, or Custom Block as example. The advantage of using features like these in particular, are the image options that can be used as a way of drawing the attention to the content the user/patron may want to access.
As described in the menu link section above, the key to directing people to the feeds page is by using the path (/feeds or the URL alias of a created RSS Block) in the appropriate link or URL field.
For more information on creating or editing features such as Callouts, Sliders, Custom Blocks, etc.. please see the associated user guide articles for the desired feature type.
Footer Link
The footer of your Stacks site allows for the addition of custom content and links that can be used for navigating throughout your site, including the easyform you created.
- From the Dashboard, click the System Configuration tile
- Click the Footer tile, then click the Custom Link option from the menu on the left
- Custom Link Title, enter a name for the custom link section, this can be enabled to be displayed in the footer if desired
- Display Title, check this box to display the Custom Link title in the footer section
-
Custom Link 1 through 4, click the title to expand the section
- Custom Link Title, then the name for the link, this will be visible to the user/patron
-
URL, enter the full URL to your database listing page
- Unlike other areas, this requires the full URL (for example: https://yoursitename.com/feeds)
- Click Save configuration when done