From 372c512ef366bdb4f7bc71449fb5b58084b180e8 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Tue, 24 May 2016 18:29:08 +0300 Subject: [PATCH] image size --- backend/views/articles/view.php | 3 --- backend/views/event/view.php | 12 ------------ 2 files changed, 0 insertions(+), 15 deletions(-) diff --git a/backend/views/articles/view.php b/backend/views/articles/view.php index ab5ad65..cda06cd 100755 --- a/backend/views/articles/view.php +++ b/backend/views/articles/view.php @@ -31,13 +31,10 @@ $this->params['breadcrumbs'][] = $this->title; 'id', 'date', 'title', - 'body:ntext', - 'image', 'translit', 'meta_title', 'meta_keywords', 'meta_description', - 'seo_text:ntext', 'h1', ], ]) ?> diff --git a/backend/views/event/view.php b/backend/views/event/view.php index 700a1c7..d33ceb4 100755 --- a/backend/views/event/view.php +++ b/backend/views/event/view.php @@ -31,21 +31,9 @@ $this->params['breadcrumbs'][] = $this->title; 'event_id', 'name', 'alias', - 'body:ntext', - [ - 'format' => 'html', - 'attribute' => 'imageUrl', - 'value' => function($data) { - return \common\components\artboximage\ArtboxImageHelper::getImage($data->imageUrl, 'list'); - }, - ], 'meta_title', 'description', 'h1', - 'seo_text:ntext', - 'created_at', - 'updated_at', - 'end_at', ], ]) ?> -- libgit2 0.21.4