2021-03-05 08:12:56 +00:00
|
|
|
fields:
|
|
|
|
|
title:
|
2021-05-21 08:54:14 +00:00
|
|
|
label: 'rainlab.blog::lang.post.title'
|
2023-01-10 10:27:42 +00:00
|
|
|
span: full
|
2021-05-21 08:54:14 +00:00
|
|
|
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'
|
2023-01-10 10:27:42 +00:00
|
|
|
span: full
|
2021-05-21 08:54:14 +00:00
|
|
|
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:
|
2023-01-10 10:27:42 +00:00
|
|
|
span: full
|
2021-03-05 08:12:56 +00:00
|
|
|
cssClass: collapse-visible
|
2023-01-10 10:27:42 +00:00
|
|
|
path: post_toolbar
|
|
|
|
|
type: partial
|
2021-03-05 08:12:56 +00:00
|
|
|
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
|
2023-01-10 10:27:42 +00:00
|
|
|
tab: 'Language and Tag'
|
2022-12-06 15:33:01 +00:00
|
|
|
id_en:
|
|
|
|
|
label: 'Translated Post ID En'
|
|
|
|
|
span: right
|
|
|
|
|
dependsOn:
|
|
|
|
|
- locale
|
2021-04-08 08:08:59 +00:00
|
|
|
type: number
|
2023-01-10 10:27:42 +00:00
|
|
|
tab: 'Language and Tag'
|
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
|
2023-01-10 10:27:42 +00:00
|
|
|
tab: 'Language and Tag'
|
2022-12-06 15:33:01 +00:00
|
|
|
id_ru:
|
|
|
|
|
label: 'Translated Post ID Ru'
|
|
|
|
|
span: right
|
|
|
|
|
dependsOn:
|
|
|
|
|
- locale
|
|
|
|
|
type: number
|
2023-01-10 10:27:42 +00:00
|
|
|
tab: 'Language and Tag'
|
|
|
|
|
awtor:
|
|
|
|
|
label: Authors
|
|
|
|
|
nameFrom: name
|
|
|
|
|
descriptionFrom: description
|
2021-05-21 08:54:14 +00:00
|
|
|
span: auto
|
2023-01-10 10:27:42 +00:00
|
|
|
type: relation
|
|
|
|
|
tab: 'rainlab.blog::lang.post.tab_manage'
|
|
|
|
|
author_name:
|
|
|
|
|
label: 'Author Name'
|
|
|
|
|
span: auto
|
2023-01-12 11:30:17 +00:00
|
|
|
dependsOn: awtor
|
|
|
|
|
readOnly: true
|
2021-05-21 08:54:14 +00:00
|
|
|
type: text
|
|
|
|
|
tab: 'rainlab.blog::lang.post.tab_manage'
|
|
|
|
|
featured:
|
2022-12-18 08:28:49 +00:00
|
|
|
label: 'показать в слайдере на главной странице'
|
2023-01-10 10:27:42 +00:00
|
|
|
span: right
|
2021-05-21 08:54:14 +00:00
|
|
|
type: checkbox
|
2022-12-18 08:28:49 +00:00
|
|
|
comment: 'не отмечать если не нужно выставлять на слайдере'
|
2021-05-21 08:54:14 +00:00
|
|
|
tab: 'rainlab.blog::lang.post.tab_manage'
|
2023-01-10 11:22:27 +00:00
|
|
|
on_morque:
|
|
|
|
|
label: 'Бегущая строка'
|
|
|
|
|
span: right
|
|
|
|
|
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
|
|
|
label: 'rainlab.blog::lang.post.excerpt'
|
2021-03-05 08:12:56 +00:00
|
|
|
size: small
|
2023-01-10 11:22:27 +00:00
|
|
|
span: auto
|
2022-12-23 09:55:31 +00:00
|
|
|
type: textarea
|
|
|
|
|
tab: 'rainlab.blog::lang.post.tab_manage'
|
2023-01-10 11:22:27 +00:00
|
|
|
img_source:
|
|
|
|
|
label: 'Image Source'
|
|
|
|
|
span: left
|
|
|
|
|
required: 1
|
|
|
|
|
type: text
|
2022-12-23 09:55:31 +00:00
|
|
|
tab: 'rainlab.blog::lang.post.tab_manage'
|
2021-03-14 13:53:00 +00:00
|
|
|
featured_image:
|
2021-05-21 08:54:14 +00:00
|
|
|
label: 'Featured image'
|
2021-03-05 08:12:56 +00:00
|
|
|
mode: image
|
2022-12-23 09:55:31 +00:00
|
|
|
imageWidth: '300'
|
2021-03-14 13:53:00 +00:00
|
|
|
imageHeight: 300
|
2022-12-23 09:55:31 +00:00
|
|
|
span: left
|
|
|
|
|
cssClass: col-xs-12
|
|
|
|
|
type: mediafinder
|
|
|
|
|
tab: 'rainlab.blog::lang.post.tab_manage'
|
|
|
|
|
more_photo:
|
|
|
|
|
label: Images
|
|
|
|
|
prompt: 'Add new image'
|
|
|
|
|
style: default
|
|
|
|
|
span: right
|
|
|
|
|
type: repeater
|
|
|
|
|
tab: 'rainlab.blog::lang.post.tab_manage'
|
|
|
|
|
form:
|
|
|
|
|
fields:
|
|
|
|
|
photoq:
|
|
|
|
|
label: Image
|
|
|
|
|
mode: file
|
|
|
|
|
imageWidth: '300'
|
|
|
|
|
imageHeight: '300'
|
|
|
|
|
span: full
|
|
|
|
|
type: mediafinder
|
2022-12-14 15:55:13 +00:00
|
|
|
type_post:
|
|
|
|
|
label: 'Select Main Category'
|
|
|
|
|
dependsOn: category_groups
|
|
|
|
|
span: right
|
|
|
|
|
options:
|
|
|
|
|
turkmenistan: Turkmenistan
|
|
|
|
|
world: 'In the world'
|
|
|
|
|
required: 0
|
|
|
|
|
type: balloon-selector
|
|
|
|
|
tab: 'Category Group'
|
|
|
|
|
category_groups:
|
|
|
|
|
span: left
|
|
|
|
|
path: field_category_group_item
|
|
|
|
|
type: partial
|
|
|
|
|
tab: 'Category Group'
|
|
|
|
|
categories:
|
|
|
|
|
tab: 'Category Group'
|
|
|
|
|
type: checkboxlist
|
|
|
|
|
dependsOn: category_groups
|
|
|
|
|
options: getActiveCategoriesOptions
|
|
|
|
|
span: auto
|
2022-12-18 08:28:49 +00:00
|
|
|
afisha_phone:
|
|
|
|
|
label: Afisha
|
|
|
|
|
span: left
|
|
|
|
|
type: text
|
|
|
|
|
dependsOn: category_groups
|
|
|
|
|
tab: 'Category Group'
|
|
|
|
|
afisha_address:
|
|
|
|
|
label: 'Afisha Address'
|
|
|
|
|
span: left
|
|
|
|
|
type: text
|
|
|
|
|
dependsOn: category_groups
|
|
|
|
|
tab: 'Category Group'
|