2021-03-05 08:12:56 +00:00
|
|
|
fields:
|
|
|
|
|
title:
|
2021-05-21 08:54:14 +00:00
|
|
|
label: 'rainlab.blog::lang.post.title'
|
|
|
|
|
placeholder: 'rainlab.blog::lang.post.title_placeholder'
|
|
|
|
|
type: text
|
2021-03-05 08:12:56 +00:00
|
|
|
slug:
|
2021-05-21 08:54:14 +00:00
|
|
|
label: 'rainlab.blog::lang.post.slug'
|
|
|
|
|
placeholder: 'rainlab.blog::lang.post.slug_placeholder'
|
2021-03-05 08:12:56 +00:00
|
|
|
preset:
|
|
|
|
|
field: title
|
|
|
|
|
type: slug
|
2021-05-21 08:54:14 +00:00
|
|
|
type: text
|
2021-03-05 08:12:56 +00:00
|
|
|
toolbar:
|
|
|
|
|
type: partial
|
|
|
|
|
path: post_toolbar
|
|
|
|
|
cssClass: collapse-visible
|
|
|
|
|
secondaryTabs:
|
|
|
|
|
fields:
|
2021-04-02 11:28:40 +00:00
|
|
|
content:
|
2021-05-21 08:54:14 +00:00
|
|
|
tab: 'rainlab.blog::lang.post.tab_edit'
|
2021-05-11 12:39:09 +00:00
|
|
|
type: RainLab\Blog\FormWidgets\BlogMarkdown
|
2021-05-21 08:54:14 +00:00
|
|
|
cssClass: 'field-slim blog-post-preview'
|
2021-03-05 08:12:56 +00:00
|
|
|
stretch: true
|
|
|
|
|
mode: split
|
2021-03-29 10:39:52 +00:00
|
|
|
locale:
|
2021-05-21 08:54:14 +00:00
|
|
|
label: 'Language of Post'
|
2021-03-29 10:39:52 +00:00
|
|
|
options:
|
|
|
|
|
ru: Russian
|
|
|
|
|
en: English
|
2022-12-06 15:33:01 +00:00
|
|
|
tm: Turkmen
|
|
|
|
|
showSearch: true
|
|
|
|
|
span: left
|
|
|
|
|
default: 'rainlab.blog::lang.ru'
|
|
|
|
|
type: dropdown
|
|
|
|
|
tab: 'rainlab.blog::lang.post.tab_categories'
|
|
|
|
|
id_en:
|
|
|
|
|
label: 'Translated Post ID En'
|
|
|
|
|
span: right
|
|
|
|
|
dependsOn:
|
|
|
|
|
- locale
|
2021-04-08 08:08:59 +00:00
|
|
|
type: number
|
2021-05-21 08:54:14 +00:00
|
|
|
tab: 'rainlab.blog::lang.post.tab_categories'
|
2022-12-06 15:33:01 +00:00
|
|
|
id_tm:
|
|
|
|
|
label: 'Translated Post ID Tm'
|
2021-04-08 08:08:59 +00:00
|
|
|
span: right
|
2022-12-06 15:33:01 +00:00
|
|
|
dependsOn:
|
|
|
|
|
- locale
|
|
|
|
|
type: number
|
|
|
|
|
tab: 'rainlab.blog::lang.post.tab_categories'
|
|
|
|
|
id_ru:
|
|
|
|
|
label: 'Translated Post ID Ru'
|
|
|
|
|
span: right
|
|
|
|
|
dependsOn:
|
|
|
|
|
- locale
|
|
|
|
|
type: number
|
|
|
|
|
tab: 'rainlab.blog::lang.post.tab_categories'
|
2021-04-08 08:08:59 +00:00
|
|
|
active_categories:
|
2021-05-21 08:54:14 +00:00
|
|
|
tab: 'rainlab.blog::lang.post.tab_categories'
|
2021-03-05 08:12:56 +00:00
|
|
|
type: relation
|
2021-05-21 08:54:14 +00:00
|
|
|
commentAbove: 'rainlab.blog::lang.post.categories_comment'
|
|
|
|
|
placeholder: 'rainlab.blog::lang.post.categories_placeholder'
|
2022-12-06 15:33:01 +00:00
|
|
|
span: auto
|
2021-05-21 08:54:14 +00:00
|
|
|
author:
|
|
|
|
|
label: 'Post author'
|
|
|
|
|
span: auto
|
2021-05-24 07:52:04 +00:00
|
|
|
default: 'ORIENT news'
|
2021-05-21 08:54:14 +00:00
|
|
|
type: text
|
|
|
|
|
tab: 'rainlab.blog::lang.post.tab_manage'
|
|
|
|
|
featured:
|
|
|
|
|
label: Featured
|
|
|
|
|
span: auto
|
|
|
|
|
type: checkbox
|
|
|
|
|
tab: 'rainlab.blog::lang.post.tab_manage'
|
2021-03-05 08:12:56 +00:00
|
|
|
published_at:
|
2021-05-21 08:54:14 +00:00
|
|
|
tab: 'rainlab.blog::lang.post.tab_manage'
|
|
|
|
|
label: 'rainlab.blog::lang.post.published_on'
|
2021-03-05 08:12:56 +00:00
|
|
|
span: left
|
|
|
|
|
cssClass: checkbox-align
|
|
|
|
|
type: datepicker
|
|
|
|
|
mode: datetime
|
|
|
|
|
trigger:
|
|
|
|
|
action: enable
|
|
|
|
|
field: published
|
|
|
|
|
condition: checked
|
2021-03-29 10:39:52 +00:00
|
|
|
published:
|
2021-05-21 08:54:14 +00:00
|
|
|
tab: 'rainlab.blog::lang.post.tab_manage'
|
|
|
|
|
label: 'rainlab.blog::lang.post.published'
|
2021-03-29 10:39:52 +00:00
|
|
|
span: right
|
|
|
|
|
type: checkbox
|
2021-03-05 08:12:56 +00:00
|
|
|
excerpt:
|
2021-05-21 08:54:14 +00:00
|
|
|
tab: 'rainlab.blog::lang.post.tab_manage'
|
|
|
|
|
label: 'rainlab.blog::lang.post.excerpt'
|
2021-03-05 08:12:56 +00:00
|
|
|
type: textarea
|
|
|
|
|
size: small
|
2021-03-14 13:53:00 +00:00
|
|
|
featured_image:
|
2021-05-21 08:54:14 +00:00
|
|
|
label: 'Featured image'
|
|
|
|
|
tab: 'rainlab.blog::lang.post.tab_manage'
|
2021-03-14 13:53:00 +00:00
|
|
|
type: mediafinder
|
2021-03-05 08:12:56 +00:00
|
|
|
mode: image
|
2021-03-14 13:53:00 +00:00
|
|
|
span: storm
|
|
|
|
|
cssClass: col-xs-12
|
|
|
|
|
imageWidth: 300
|
|
|
|
|
imageHeight: 300
|