{% set user = __SELF__.user %} {% set posts = __SELF__.posts %}

User & List Properties

This plugin component ({{ __SELF__.alias }}) provides default markup as a convenience to developers but should be overridden by the theme (October CMS Docs).

To view and download a completed theme to help with implementation, please see oc-posts.dynamedia.uk and Github. The demo theme is MIT licensed and is therefore free to modify and redistribute.

User (\Backend\Models\User Array Representation - Sensitive fields hidden)

A dump of the model as an array

{{ dump(user | modelToArray) }}

Post List (First Item)

Dumping the first item of the post list

{{ dump(posts.first | modelToArray) }}