11teebb_core :
2- # Dashboard 侧边栏菜单
3- side_menu :
4- content :
5- content :
6- label : Content
7- icon : fa-file-alt
8- items :
9- - label : Add Content
10- route : teebb_content_create_index
11- # route_params: {typeAlias: content}
12- groups : []
13- - label : Manage Content
14- route : teebb_content_index
15- groups : []
16- groups : []
17- type :
18- label : Type
19- icon : fa-boxes
20- items :
21- - label : Add Type
22- route : content_create
23- groups : []
24- - label : Manage Type
25- route : content_index
26- groups : []
27- groups : []
28- taxonomy :
29- label : Taxonomy
30- icon : fa-tags
31- items :
32- - label : Add Taxonomy
33- route : taxonomy_create
34- groups : []
35- - label : Manage Taxonomy
36- route : taxonomy_index
37- groups : []
38- groups : []
39- other :
40- menu :
41- label : Menu
42- icon : fa-list
43- items :
44- - label : Add Menu
45- route : teebb_menu_create
46- groups : []
47- - label : Manage Menu
48- route : teebb_menu_index
49- groups : []
50- groups : []
51- comment :
52- label : Comment
53- icon : fa-comment
54- items :
55- - label : Manage Comment
56- route : comment_index
57- groups : []
58- groups : []
59- user :
60- label : User
61- icon : fa-user
62- items :
63- - label : Manage User
64- route : user_people_index
65- groups : []
66- - label : User Group
67- route : user_group_index
68- groups : []
69- settings :
70- system :
71- label : System
72- icon : fa-tools
73- items :
74- - label : Settings
75- route : teebb_system_option
76- groups : []
77- - label : Text Formatter
78- route : teebb_formatter_index
79- groups : []
80- groups : []
81-
82- # dashboard index blocks
83- blocks :
84- - position : top
85- type : teebb.core.block.count # block service type
86- class : col-xl-3 col-md-6 mb-4 # block class
87- groups : [] # block show user groups
88- settings :
89- entity_class : Teebb\CoreBundle\Entity\Content # block admin. admin 对应的entity 应含有 createAt 和 updateAt 两个时间属性。
90- label : contents(last month) # block label
91- # translation_domain: #default: messages
92- icon : fas fa-file-alt # block icon
93- border : border-left-primary # block border
94- # property: createdAt #query object property. 要查询的Entity的属性以此属性统计数量
95- duration : -1 month # The count of content in a duration, must earlier than now. see php strtotime. default: -1 month
96- # template: #default template @TeebbCore/Block/count_block.html.twig
97-
98- - position : top
99- type : teebb.core.block.count # block service type
100- class : col-xl-3 col-md-6 mb-4 # block class
101- groups : [] # block show user groups
102- settings :
103- entity_class : Teebb\CoreBundle\Entity\Types\Types # block admin. admin 对应的entity 应含有 createAt 和 updateAt 两个时间属性。
104- bundle : content
105- label : content_types # block label
106- # translation_domain: #default: messages
107- icon : fas fa-boxes # block icon
108- border : border-left-success # block border
109- # property: createdAt #query object property. 要查询的Entity的属性以此属性统计数量
110- duration : -1 month # The count of content in a duration, must earlier than now. see php strtotime. default: -1 month
111- # template: #default template @TeebbCore/Block/count_block.html.twig
112-
113- - position : top
114- type : teebb.core.block.count # block service type
115- class : col-xl-3 col-md-6 mb-4 # block class
116- groups : [] # block show user groups
117- settings :
118- entity_class : Teebb\CoreBundle\Entity\User # block admin. admin 对应的entity 应含有 createAt 和 updateAt 两个时间属性。
119- label : users(last month) # block label
120- # translation_domain: #default: messages
121- icon : fas fa-user # block icon
122- border : border-left-info # block border
123- # property: createdAt #query object property. 要查询的Entity的属性以此属性统计数量
124- duration : -1 month # The count of content in a duration, must earlier than now. see php strtotime. default: -1 month
125- # template: #default template @TeebbCore/Block/count_block.html.twig
126-
127- - position : top
128- type : teebb.core.block.count # block service type
129- class : col-xl-3 col-md-6 mb-4 # block class
130- groups : [] # block show user groups
131- settings :
132- entity_class : Teebb\CoreBundle\Entity\Comment # block admin. admin 对应的entity 应含有 createAt 和 updateAt 两个时间属性。
133- label : comments(last month) # block label
134- # translation_domain: #default: messages
135- icon : fas fa-comments # block icon
136- border : border-left-warning # block border
137- # property: createdAt #query object property. 要查询的Entity的属性以此属性统计数量
138- duration : -1 month # The count of content in a duration, must earlier than now. see php strtotime. default: -1 month
139- # template: #default template @TeebbCore/Block/count_block.html.twig
140-
141- - position : left
142- type : teebb.core.block.text
143- settings :
144- label : Welcome to Teebb
145- content : Teebb Information
146- template : ' @TeebbCore\blocks\dashboard_base_block.html.twig'
147-
148- - position : left
149- type : teebb.core.block.types
150- settings :
151- label : Content Types
152- bundle : content
153-
154- - position : left
155- type : teebb.core.block.contents
156- settings :
157- label : New users
158- entity_class : Teebb\CoreBundle\Entity\User
159- property : createdAt
160- order : DESC
161- template : ' @TeebbCore\blocks\new_users.html.twig'
162-
163- - position : right
164- type : teebb.core.block.contents
165- settings :
166- label : Last contents
167- entity_class : Teebb\CoreBundle\Entity\Content
168- property : createdAt
169- order : DESC
170-
171- - position : right
172- type : teebb.core.block.contents
173- settings :
174- label : Last comments
175- entity_class : Teebb\CoreBundle\Entity\Comment
176- property : createdAt
177- order : DESC
178- template : ' @TeebbCore\blocks\last_comments.html.twig'
179-
2+ # 用于自动检测并获取teebb中的注解配置
1803 mapping :
1814 directories : ['%kernel.project_dir%/src']
1825
6+ # 邮件发送人配置此项必须配置,请修改为您的配置
7+ from_email :
8+ address : sender@quanweiwei.cn
9+ address_name : TEEBB.COM管理员
10+
11+
18312 fly_system :
18413 service : ' %fly_system_service%'
18514 # 此变量用于生成上传文件的链接
18615 root_host_url : ' %fly_system_host%/uploads'
18716
17+ # 文本过滤器用于 文本已格式化字段,长文本已格式化字段,长文本已格式化字段带摘要
18818 filter_settings :
18919 strip_tags :
19020 filter_class : Teebb\CoreBundle\TextFilter\StripTagsFilter
@@ -201,6 +31,7 @@ teebb_core:
20131 filter_class : Teebb\CoreBundle\TextFilter\EscapeHtmlFilter
20232 filter_label : teebb.core.form.escape_html_filter
20333
34+ # 配置页面中额外的assets库,使用TemplateRegister将对应库加入页面
20435 assets :
20536 extra :
20637 transliteration :
@@ -325,3 +156,7 @@ doctrine:
325156 dir : " %kernel.project_dir%/vendor/gedmo/doctrine-extensions/src/Tree/Entity"
326157 alias : GedmoTree # (optional) it will default to the name set for the mapping
327158 is_bundle : false
159+
160+ # 加入额外配置:控制台首页blocks和边栏菜单
161+ imports :
162+ - { resource: teebb_core/ }
0 commit comments