|
23 | 23 | 'default' => 'blogexample_post', |
24 | 24 | ], |
25 | 25 | ], |
26 | | - 'interface' => [ |
27 | | - 'maxDBListItems' => 100, |
28 | | - 'maxSingleDBListItems' => 500, |
29 | | - ], |
30 | 26 | 'columns' => [ |
31 | 27 | 'blog' => [ |
32 | 28 | 'exclude' => true, |
|
143 | 139 | ], |
144 | 140 | 'comments' => [ |
145 | 141 | 'exclude' => true, |
146 | | - 'label' => 'LLL:blog_example.db:tx_blogexample_domain_model_post.comments', |
| 142 | + 'label' => 'Comments', |
147 | 143 | 'config' => [ |
148 | | - 'type' => 'inline', |
| 144 | + 'type' => 'group', |
| 145 | + 'allowed' => 'tx_blogexample_domain_model_comment', |
149 | 146 | 'foreign_table' => 'tx_blogexample_domain_model_comment', |
150 | 147 | 'foreign_field' => 'post', |
| 148 | + 'foreign_table_where' => 'ORDER BY tx_blogexample_domain_model_comment.uid', |
151 | 149 | 'size' => 10, |
152 | | - 'autoSizeMax' => 30, |
153 | | - 'multiple' => 0, |
154 | | - 'appearance' => [ |
155 | | - 'collapseAll' => 1, |
156 | | - 'expandSingle' => 1, |
157 | | - ], |
| 150 | + 'maxitems' => 9999, |
| 151 | + 'minitems' => 0, |
| 152 | + 'default' => '', |
158 | 153 | ], |
159 | 154 | ], |
160 | 155 | 'related_posts' => [ |
|
194 | 189 | 'maxitems' => 1, |
195 | 190 | ], |
196 | 191 | ], |
197 | | - 'additional_comments' => [ |
198 | | - 'exclude' => true, |
199 | | - 'label' => 'LLL:blog_example.db:tx_blogexample_domain_model_post.additional_comments', |
200 | | - 'config' => [ |
201 | | - 'type' => 'inline', // this will store the comments uids in the additional_comments field (CSV) |
202 | | - 'foreign_table' => 'tx_blogexample_domain_model_comment', |
203 | | - 'minitems' => 0, |
204 | | - 'maxitems' => 200, |
205 | | - ], |
206 | | - ], |
207 | 192 | 'category' => [ |
208 | 193 | 'config' => [ |
209 | 194 | 'type' => 'category', |
|
213 | 198 | 'types' => [ |
214 | 199 | '1' => ['showitem' => ' |
215 | 200 | --div--;LLL:core.form.tabs:general, |
216 | | - blog, title, date, author, second_author, content, tags, comments, related_posts, additional_name, additional_info, additional_comments, |
| 201 | + blog, title, date, author, second_author, content, tags, comments, related_posts, additional_name, additional_info, |
217 | 202 | --div--;LLL:core.form.tabs:categories, |
218 | 203 | category, |
219 | 204 | --div--;LLL:core.form.tabs:access, |
|
0 commit comments