49 lines
1.0 KiB
YAML
49 lines
1.0 KiB
YAML
# ===================================
|
|
# List Behavior Config
|
|
# ===================================
|
|
|
|
# Model List Column configuration
|
|
list: ~/plugins/rainlab/blog/models/post/columns.yaml
|
|
|
|
# Model Class name
|
|
modelClass: RainLab\Blog\Models\Post
|
|
|
|
# List Title
|
|
title: rainlab.blog::lang.posts.list_title
|
|
|
|
# Link URL for each record
|
|
recordUrl: rainlab/blog/posts/update/:id
|
|
|
|
# Message to display if the list is empty
|
|
noRecordsMessage: backend::lang.list.no_records
|
|
|
|
# Records to display per page
|
|
recordsPerPage: 25
|
|
|
|
# Displays the list column set up button
|
|
showSetup: true
|
|
|
|
# Displays the sorting link on each column
|
|
showSorting: true
|
|
|
|
# Default sorting column
|
|
defaultSort:
|
|
column: published_at
|
|
direction: desc
|
|
|
|
# Display checkboxes next to each record
|
|
showCheckboxes: true
|
|
|
|
# Toolbar widget configuration
|
|
toolbar:
|
|
# Partial for toolbar buttons
|
|
buttons: list_toolbar
|
|
|
|
# Search widget configuration
|
|
|
|
#search:
|
|
# prompt: backend::lang.list.search_prompt
|
|
|
|
# Filter widget configuration
|
|
filter: config_filter.yaml
|