Commit 372c512ef366bdb4f7bc71449fb5b58084b180e8

Authored by Administrator
1 parent 0f76d3d6

image size

backend/views/articles/view.php
@@ -31,13 +31,10 @@ $this->params['breadcrumbs'][] = $this->title; @@ -31,13 +31,10 @@ $this->params['breadcrumbs'][] = $this->title;
31 'id', 31 'id',
32 'date', 32 'date',
33 'title', 33 'title',
34 - 'body:ntext',  
35 - 'image',  
36 'translit', 34 'translit',
37 'meta_title', 35 'meta_title',
38 'meta_keywords', 36 'meta_keywords',
39 'meta_description', 37 'meta_description',
40 - 'seo_text:ntext',  
41 'h1', 38 'h1',
42 ], 39 ],
43 ]) ?> 40 ]) ?>
backend/views/event/view.php
@@ -31,21 +31,9 @@ $this->params['breadcrumbs'][] = $this->title; @@ -31,21 +31,9 @@ $this->params['breadcrumbs'][] = $this->title;
31 'event_id', 31 'event_id',
32 'name', 32 'name',
33 'alias', 33 'alias',
34 - 'body:ntext',  
35 - [  
36 - 'format' => 'html',  
37 - 'attribute' => 'imageUrl',  
38 - 'value' => function($data) {  
39 - return \common\components\artboximage\ArtboxImageHelper::getImage($data->imageUrl, 'list');  
40 - },  
41 - ],  
42 'meta_title', 34 'meta_title',
43 'description', 35 'description',
44 'h1', 36 'h1',
45 - 'seo_text:ntext',  
46 - 'created_at',  
47 - 'updated_at',  
48 - 'end_at',  
49 ], 37 ],
50 ]) ?> 38 ]) ?>
51 39