MODULES
Siteglide Modules

Authors

5min
a useful complement to the blog module, the authors module lets you link authors to blog posts they've written and vice versa the authors module can be installed on any site and are typically used in connection with the blog module to group posts and display who has written a blog post authors can also be used independently in webapps by using datasources you can also add social media and website links to each author which enables visitors to engage with the authors on other platforms prerequisites you have installed the blog module syntax {% include 'module' id '6' layout 'default' per page 20 sort type 'properties name' sort order 'asc' %} parameters id the module's id item ids output one or more module items, comma seperated category ids output all items in one or more categories, comma seperated layout default is /default/ 'layout' values are relative to the folder layouts/modules/authors (module 6)/\[layout name] per page defines the number of items outputted on the page show pagination default is 'true' defines if items should be paginated when the per page is met sort type defines the type by which items are ordered properties name name of the module item (alphabetical) created at date the module item was created updated at date the module item was last edited properties weighting weighting of the module item properties release date date the item is set to be released sort order defines the order in which the type is sorted asc sort items in ascending order desc sort items in descending order collection default is false if you set it as true, then any layout is suppressed data is accessible via {{context exports webapp 1 data}} for example, name would be {{context exports webapp 1 data result items\[0]\['name']}} liquid tags field name liquid tag description item name {{ this\['name'] }} name of the author weighting {{ this\['weighting'] }} weight of item, used for sorting release date {{ this\['release date'] }} release date of the item expiry date {{ this\['expiry date'] }} expiry date of the item enabled {{ this\['enabled'] }} enable/disable the item title {{ this\['title'] }} name of the author subtitle {{ this\['subtitle'] }} job title or other short text about the author description {{ this\['description'] }} description of the author image {{ this\['image'] | asset url }} image of the author image alt {{ this\['image alt'] }} image alt of the author image linkedin url {{ this\['linkedin url'] }} linkedin profile url of the author facebook url {{ this\['facebook url'] }} facebook profile url of the author twitter url {{ this\['twitter url'] }} twitter profile url of the author instagram url {{ this\['instagram url'] }} instagram profile url of the author pinterest url {{ this\['pinterest url'] }} pinterest profile url of the author layout files authors module layouts are stored in the following folder structure, which you can view via code editor assets/layouts/modules/authors (module 6)/ within this module folder you will find the following layout folders default/ the default layout folder detail/ full page layouts folder (default not in use) item liquid detail item content file wrapper liquid detail item wrapper file list/ page section layouts folder item liquid list item content file wrapper liquid list item wrapper file