optipub-authors

This "optipub-element" retrieves all of the authors listed on a specific publication. Check out Getting Started With OptiPub Elements first.

713

Usage

❗️

Required Property

The "optipub-authors" element requires a "publication-id" property to be defined on the element.

<optipub-authors publication-id="1"></optipub-authors>

Custom Properties

Additional properties exist on the "optipub-authors" element that allow more control over the element without having to overwrite any of the template.

PropertyDescriptionExample
"url"Used to overwrite the url schema for links. Allows dot-notation for data loaded from a relationship.url="group.name/display_name"
"group-id"Used to filter the results by the author's group ID.group-id="2"
"image-size"Used to quickly change the size of the image width.image-size="125px"

Full Properties Example

<optipub-authors
                 url="group.name/display_name"
                 publication-id="17"
                 group-id="1"
                 image-size="200px"
                 columns="display_name,blurb,rank,website_image_id,group_id,active,display_on_website"
                 sort="display_name|asc"
                 per-page="2"
                 page="1"
></optipub-authors>