from server 31.12
This commit is contained in:
parent
39d5c9fc50
commit
daf1fad957
|
|
@ -35,7 +35,7 @@ class postsController extends Controller
|
|||
'postGroup' => input('group'),
|
||||
'published' => true,
|
||||
'featured' => input('featured') == true ? 1 : 0,
|
||||
'select' => ['id','title','slug','published_at',DB::raw("IF(featured_image<>'',concat('$path',featured_image),featured_image) as main_image")]
|
||||
'select' => ['id','title','slug','published_at', 'more_photo', DB::raw("IF(featured_image<>'',concat('$path',featured_image),featured_image) as main_image")]
|
||||
]);
|
||||
|
||||
if($data){
|
||||
|
|
|
|||
|
|
@ -120,6 +120,26 @@ items:
|
|||
isHidden: '0'
|
||||
cssClass: ''
|
||||
isExternal: '0'
|
||||
-
|
||||
title: 'Новости бизнеса'
|
||||
nesting: null
|
||||
type: url
|
||||
url: /ru/new/posts/news/novosti-biznesa
|
||||
code: ''
|
||||
reference: null
|
||||
cmsPage: null
|
||||
replace: null
|
||||
viewBag:
|
||||
locale:
|
||||
en:
|
||||
title: 'Business news'
|
||||
url: /en/new/posts/news/business-news
|
||||
tm:
|
||||
title: 'Biznes habarlary'
|
||||
url: /tm/new/posts/news/biznes-habarlary
|
||||
isHidden: '0'
|
||||
cssClass: ''
|
||||
isExternal: '0'
|
||||
-
|
||||
title: Спорт
|
||||
nesting: null
|
||||
|
|
@ -200,26 +220,6 @@ items:
|
|||
isHidden: '0'
|
||||
cssClass: ''
|
||||
isExternal: '0'
|
||||
-
|
||||
title: 'Новости бизнеса'
|
||||
nesting: null
|
||||
type: url
|
||||
url: /ru/new/posts/news/novosti-biznesa
|
||||
code: ''
|
||||
reference: null
|
||||
cmsPage: null
|
||||
replace: null
|
||||
viewBag:
|
||||
locale:
|
||||
en:
|
||||
title: 'Business news'
|
||||
url: /en/new/posts/news/business-news
|
||||
tm:
|
||||
title: 'Biznes habarlary'
|
||||
url: /tm/new/posts/news/biznes-habarlary
|
||||
isHidden: '0'
|
||||
cssClass: ''
|
||||
isExternal: '0'
|
||||
-
|
||||
title: Статьи
|
||||
nesting: null
|
||||
|
|
@ -423,9 +423,13 @@ items:
|
|||
isExternal: '0'
|
||||
-
|
||||
title: Медиа
|
||||
nesting: null
|
||||
type: url
|
||||
url: /ru/new/posts/media
|
||||
code: ''
|
||||
reference: null
|
||||
cmsPage: null
|
||||
replace: null
|
||||
viewBag:
|
||||
locale:
|
||||
en:
|
||||
|
|
|
|||
Loading…
Reference in New Issue