Authors List

  1. Make sure the Authors Module is installed.

  2. Create a new page to display your list on.

  3. Select a Page Template for your page.

  4. Create a new Authors List Layout, or install one using the SiteBuilder Module. A list layout should:

    1. Be stored in the code editor folder: layouts/modules/module_6/<layout_name>/list/

    2. Contain at least a wrapper.liquid and an item.liquid file.

    3. The wrapper file should contain the code below where it should loop over each list item and output the author item.liquid file: {%- include 'modules/siteglide_system/get/get_items', item_layout: 'item' -%}

    4. The item file should contain the fields needed to display information about a specific author. You can check available data by outputting the this object as JSON using {{this}} .

  5. Add a Liquid include tag to the page:

    1. For Studio Pages either:

      1. If you created a layout using the SiteBuilder module version >= 4.19.1, you can add as a dynamic section to your page.

      2. Create an ordinary static section and add the following code inside: {%- include 'module', id: '6', layout: '<layout_name>', per_page: '20', show_pagination: 'true', sort_type: 'properties.name', sort_order: 'asc' -%}

    2. For ordinary Pages, add the following code: {%- include 'module', id: '6', layout: '<layout_name>', per_page: '20', show_pagination: 'true', sort_type: 'properties.name', sort_order: 'asc' -%}

Last updated

Was this helpful?