Authors Detail

Make sure the Authors module is installed. You may also want to install the Blog module.
Create an Authors detail layout, or install one from the SiteBuilder module. An Authors detail layout should:
Be stored in the code editor folder: layouts/modules/module_6/<layout_name>/detail/
Contain at least a wrapper.liquid and an item.liquid file.
The wrapper file should contain the code below where the dynamic single item.liquid file for the specific author should be outputted:
{%- include 'modules/siteglide_system/get/get_items', item_layout: 'item' -%}The item file should contain the fields needed to display information about a specific author. You can check available data by outputting the
thisobject as JSON using{{this}}.You may also wish to output a Blog list view, filtered so that only the current author's articles are displayed:
{% include 'module', id: '3', author_id: this.id, type: 'list', layout: '<layout_name>', per_page: 3, show_pagination: 'false' %}Make sure to replace<layout_name>with the name of your blog list layout. Since you're including a list view inside a detail view, the "type" parameter is mandatory here.
Navigate to Modules/Authors in the Admin Menu

Click the View Table button to update settings

Turn on Detail views, and select a slug, Page Template and Detail layout.

Last updated
Was this helpful?

