Authors Detail
Written By Luke Wakefield
Last updated 2 months ago

- 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:
{% hash_assign context['params']['module_field_3_4'] = this.id %}{% include 'module', id: '3', type: 'list', layout: '<layout_name>', per_page: 12, show_pagination: 'false', use_adv_search: 'true' %}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.
- Be stored in the code editor folder: layouts/modules/module_6/
- 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.
