- {{getSetting($data->area->name.'_'.$data->part.'_title')}} + {{getSetting($data->area_name.'_'.$data->part.'_title')}}
- {{getSetting($data->area->name.'_'.$data->part.'_title')}} + {{getSetting($data->area_name.'_'.$data->part.'_title')}}
- {{getSetting($data->area->name.'_'.$data->part.'_title')}} + {{getSetting($data->area_name.'_'.$data->part.'_title')}}
- {{getSetting($data->area->name.'_'.$data->part.'_title')}} + {{getSetting($data->area_name.'_'.$data->part.'_title')}}
{{$productFav[0]->name}}
diff --git a/resources/views/segments/categories/FavProductWithMeta/FavProductWithMeta.php b/resources/views/segments/categories/FavProductWithMeta/FavProductWithMeta.php
index 0819626..96e600b 100644
--- a/resources/views/segments/categories/FavProductWithMeta/FavProductWithMeta.php
+++ b/resources/views/segments/categories/FavProductWithMeta/FavProductWithMeta.php
@@ -12,19 +12,19 @@ class FavProductWithMeta
{
$setting = new Setting();
$setting->section = 'theme';
- $setting->key = $part->area->name . '_' . $part->part.'_title';
+ $setting->key = $part->area_name . '_' . $part->part.'_title';
$setting->value = "Fav product";
$setting->type = 'text';
$setting->size = 6;
- $setting->title = $part->area->name . ' ' . $part->part;
+ $setting->title = $part->area_name . ' ' . $part->part;
$setting->save();
$setting = new Setting();
$setting->section = 'theme';
- $setting->key = $part->area->name . '_' . $part->part;
+ $setting->key = $part->area_name . '_' . $part->part;
$setting->value = Category::first()->id;
$setting->type = 'CATEGORY';
$setting->size = 6;
- $setting->title = $part->area->name . ' ' . $part->part;
+ $setting->title = $part->area_name . ' ' . $part->part;
$setting->save();
}
@@ -32,8 +32,8 @@ class FavProductWithMeta
{
- Setting::where('key',$part->area->name . '_' . $part->part)->first()?->delete();
- Setting::where('key',$part->area->name . '_' . $part->part.'_title')->first()?->delete();
+ Setting::where('key',$part->area_name . '_' . $part->part)->first()?->delete();
+ Setting::where('key',$part->area_name . '_' . $part->part.'_title')->first()?->delete();
}
public static function onMount(Part $part = null)
{
diff --git a/resources/views/segments/clips/AutoPlayClips/AutoPlayClips.blade.php b/resources/views/segments/clips/AutoPlayClips/AutoPlayClips.blade.php
index adccf1f..bc05b1e 100644
--- a/resources/views/segments/clips/AutoPlayClips/AutoPlayClips.blade.php
+++ b/resources/views/segments/clips/AutoPlayClips/AutoPlayClips.blade.php
@@ -1,7 +1,7 @@
- {{getSetting($data->area->name.'_'.$data->part.'_title')}}
+ {{getSetting($data->area_name.'_'.$data->part.'_title')}}
@foreach(\App\Models\Clip::where('status',1)->get() as $clip)
diff --git a/resources/views/segments/clips/AutoPlayClips/AutoPlayClips.php b/resources/views/segments/clips/AutoPlayClips/AutoPlayClips.php
index 8bced5a..17bad47 100644
--- a/resources/views/segments/clips/AutoPlayClips/AutoPlayClips.php
+++ b/resources/views/segments/clips/AutoPlayClips/AutoPlayClips.php
@@ -11,16 +11,16 @@ class AutoPlayClips
{
$setting = new Setting();
$setting->section = 'theme';
- $setting->key = $part->area->name . '_' . $part->part.'_title';
+ $setting->key = $part->area_name . '_' . $part->part.'_title';
$setting->value = "Clips list";
$setting->type = 'text';
$setting->size = 6;
- $setting->title = $part->area->name . ' ' . $part->part;
+ $setting->title = $part->area_name . ' ' . $part->part;
$setting->save();
}
public static function onRemove(Part $part = null)
{
- Setting::where('key',$part->area->name . '_' . $part->part.'_title')->first()?->delete();
+ Setting::where('key',$part->area_name . '_' . $part->part.'_title')->first()?->delete();
}
public static function onMount(Part $part = null)
{
diff --git a/resources/views/segments/compare/CompareProducts/CompareProducts.php b/resources/views/segments/compare/CompareProducts/CompareProducts.php
index e10912b..86ab786 100644
--- a/resources/views/segments/compare/CompareProducts/CompareProducts.php
+++ b/resources/views/segments/compare/CompareProducts/CompareProducts.php
@@ -12,17 +12,17 @@ class CompareProducts
$setting = new Setting();
$setting->section = 'theme';
- $setting->key = $part->area->name . '_' . $part->part.'_color';
+ $setting->key = $part->area_name . '_' . $part->part.'_color';
$setting->value = '#ffffff';
$setting->type = 'COLOR';
$setting->data = json_encode(['name' => 'compare-bg']);
$setting->size = 12;
- $setting->title = $part->area->name . ' ' . $part->part .' main color';
+ $setting->title = $part->area_name . ' ' . $part->part .' main color';
$setting->save();
}
public static function onRemove(Part $part = null)
{
- Setting::where('key',$part->area->name . '_' . $part->part.'_color')->first()?->delete();
+ Setting::where('key',$part->area_name . '_' . $part->part.'_color')->first()?->delete();
}
public static function onMount(Part $part = null)
diff --git a/resources/views/segments/contact/MeloContact/MeloContact.blade.php b/resources/views/segments/contact/MeloContact/MeloContact.blade.php
index a9ce496..309e163 100644
--- a/resources/views/segments/contact/MeloContact/MeloContact.blade.php
+++ b/resources/views/segments/contact/MeloContact/MeloContact.blade.php
@@ -2,21 +2,21 @@
- {{getSetting($data->area->name.'_'.$data->part.'_title')}}
+ {{getSetting($data->area_name.'_'.$data->part.'_title')}}
- @if(getGroupBySetting($data->area->name.'_'.$data->part)?->posts()->where('status',1)->where('is_pinned',1)->count() == 0)
+ @if(getGroupBySetting($data->area_name.'_'.$data->part)?->posts()->where('status',1)->where('is_pinned',1)->count() == 0)
- {{__("You must add a pinned post to :GROUP",['GROUP' => getGroupBySetting($data->area->name.'_'.$data->part)?->name])}}
+ {{__("You must add a pinned post to :GROUP",['GROUP' => getGroupBySetting($data->area_name.'_'.$data->part)?->name])}}
@else
- {{getGroupBySetting($data->area->name.'_'.$data->part)?->posts()->where('status',1)->where('is_pinned',1)->first()->title}}
+ {{getGroupBySetting($data->area_name.'_'.$data->part)?->posts()->where('status',1)->where('is_pinned',1)->first()->title}}
- {!! getGroupBySetting($data->area->name.'_'.$data->part)?->posts()->where('status',1)->where('is_pinned',1)->first()->body!!}
+ {!! getGroupBySetting($data->area_name.'_'.$data->part)?->posts()->where('status',1)->where('is_pinned',1)->first()->body!!}
diff --git a/resources/views/segments/footer/FireFooter/FireFooter.php b/resources/views/segments/footer/FireFooter/FireFooter.php
index ddf70e6..fa00b32 100644
--- a/resources/views/segments/footer/FireFooter/FireFooter.php
+++ b/resources/views/segments/footer/FireFooter/FireFooter.php
@@ -12,50 +12,50 @@ class FireFooter
{
$setting = new Setting();
$setting->section = 'theme';
- $setting->key = $part->area->name . '_' . $part->part.'_text';
+ $setting->key = $part->area_name . '_' . $part->part.'_text';
$setting->value = 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus aliquid consequuntur culpa cupiditate dignissimos dolor doloremque error facilis ipsum iure officia quam qui, tempora! Fuga harum impedit iusto magnam veniam.';
$setting->size = 12;
$setting->type = 'LONGTEXT';
// $setting->data = json_encode(['xmin' => 2, 'xmax' => 90]);
- $setting->title = $part->area->name . ' ' . $part->part. ' main text';
+ $setting->title = $part->area_name . ' ' . $part->part. ' main text';
$setting->save();
$setting = new Setting();
$setting->section = 'theme';
- $setting->key = $part->area->name . '_' . $part->part.'_title2';
+ $setting->key = $part->area_name . '_' . $part->part.'_title2';
$setting->value = 'FAQ';
$setting->size = 6;
$setting->type = 'TEXT';
// $setting->data = json_encode(['xmin' => 2, 'xmax' => 90]);
- $setting->title = $part->area->name . ' ' . $part->part. ' title 2';
+ $setting->title = $part->area_name . ' ' . $part->part. ' title 2';
$setting->save();
$setting = new Setting();
$setting->section = 'theme';
- $setting->key = $part->area->name . '_' . $part->part.'_group';
+ $setting->key = $part->area_name . '_' . $part->part.'_group';
$setting->value = Group::first()->id;
$setting->size = 6;
$setting->type = 'GROUP';
// $setting->data = json_encode(['xmin' => 2, 'xmax' => 90]);
- $setting->title = $part->area->name . ' ' . $part->part. ' group';
+ $setting->title = $part->area_name . ' ' . $part->part. ' group';
$setting->save();
$setting = new Setting();
$setting->section = 'theme';
- $setting->key = $part->area->name . '_' . $part->part.'_last';
+ $setting->key = $part->area_name . '_' . $part->part.'_last';
$setting->value = 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus aliquid consequuntur culpa cupiditate dignissimos dolor doloremque error facilis ipsum iure officia quam qui, tempora! Fuga harum impedit iusto magnam veniam.';
$setting->size = 12;
- $setting->title = $part->area->name . ' ' . $part->part. ' last content';
+ $setting->title = $part->area_name . ' ' . $part->part. ' last content';
$setting->type = 'EDITOR';
$setting->save();
}
public static function onRemove(Part $part = null)
{
- Setting::where('key',$part->area->name . '_' . $part->part.'_text')->first()?->delete();
- Setting::where('key',$part->area->name . '_' . $part->part.'_title2')->first()?->delete();
- Setting::where('key',$part->area->name . '_' . $part->part.'_group')->first()?->delete();
- Setting::where('key',$part->area->name . '_' . $part->part.'_last')->first()?->delete();
+ Setting::where('key',$part->area_name . '_' . $part->part.'_text')->first()?->delete();
+ Setting::where('key',$part->area_name . '_' . $part->part.'_title2')->first()?->delete();
+ Setting::where('key',$part->area_name . '_' . $part->part.'_group')->first()?->delete();
+ Setting::where('key',$part->area_name . '_' . $part->part.'_last')->first()?->delete();
}
public static function onMount(Part $part = null)
{
diff --git a/resources/views/segments/footer/ParallaxFooter/ParallaxFooter.blade.php b/resources/views/segments/footer/ParallaxFooter/ParallaxFooter.blade.php
index eefa3f6..667b82f 100644
--- a/resources/views/segments/footer/ParallaxFooter/ParallaxFooter.blade.php
+++ b/resources/views/segments/footer/ParallaxFooter/ParallaxFooter.blade.php
@@ -1,4 +1,4 @@
-
diff --git a/resources/views/segments/footer/ParallaxFooter/ParallaxFooter.php b/resources/views/segments/footer/ParallaxFooter/ParallaxFooter.php
index 350d0a7..5ab854c 100644
--- a/resources/views/segments/footer/ParallaxFooter/ParallaxFooter.php
+++ b/resources/views/segments/footer/ParallaxFooter/ParallaxFooter.php
@@ -14,62 +14,62 @@ class ParallaxFooter
$setting = new Setting();
$setting->section = 'theme';
- $setting->key = $part->area->name . '_' . $part->part.'_text';
+ $setting->key = $part->area_name . '_' . $part->part.'_text';
$setting->value = 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus aliquid consequuntur culpa cupiditate dignissimos dolor doloremque error facilis ipsum iure officia quam qui, tempora! Fuga harum impedit iusto magnam veniam.';
$setting->size = 12;
$setting->type = 'LONGTEXT';
// $setting->data = json_encode(['xmin' => 2, 'xmax' => 90]);
- $setting->title = $part->area->name . ' ' . $part->part. ' main text';
+ $setting->title = $part->area_name . ' ' . $part->part. ' main text';
$setting->save();
$setting = new Setting();
$setting->section = 'theme';
- $setting->key = $part->area->name . '_' . $part->part.'_title2';
+ $setting->key = $part->area_name . '_' . $part->part.'_title2';
$setting->value = 'FAQ';
$setting->size = 6;
$setting->type = 'TEXT';
// $setting->data = json_encode(['xmin' => 2, 'xmax' => 90]);
- $setting->title = $part->area->name . ' ' . $part->part. ' title 2';
+ $setting->title = $part->area_name . ' ' . $part->part. ' title 2';
$setting->save();
$setting = new Setting();
$setting->section = 'theme';
- $setting->key = $part->area->name . '_' . $part->part.'_group';
+ $setting->key = $part->area_name . '_' . $part->part.'_group';
$setting->value = Group::first()->id;
$setting->size = 6;
$setting->type = 'GROUP';
// $setting->data = json_encode(['xmin' => 2, 'xmax' => 90]);
- $setting->title = $part->area->name . ' ' . $part->part. ' group';
+ $setting->title = $part->area_name . ' ' . $part->part. ' group';
$setting->save();
$setting = new Setting();
$setting->section = 'theme';
- $setting->key = $part->area->name . '_' . $part->part.'_last';
+ $setting->key = $part->area_name . '_' . $part->part.'_last';
$setting->value = 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus aliquid consequuntur culpa cupiditate dignissimos dolor doloremque error facilis ipsum iure officia quam qui, tempora! Fuga harum impedit iusto magnam veniam.';
$setting->size = 12;
- $setting->title = $part->area->name . ' ' . $part->part. ' last content';
+ $setting->title = $part->area_name . ' ' . $part->part. ' last content';
$setting->type = 'EDITOR';
$setting->save();
$setting = new Setting();
$setting->section = 'theme';
- $setting->key = $part->area->name . '_' . $part->part.'_jpg';
+ $setting->key = $part->area_name . '_' . $part->part.'_jpg';
$setting->value = null;
$setting->type = 'FILE';
$setting->size = 12;
- $setting->title = $part->area->name . ' ' . $part->part.' Image';
+ $setting->title = $part->area_name . ' ' . $part->part.' Image';
$setting->save();
- File::copy(__DIR__.'/../../default-assets/bg-girl.jpg',public_path('upload/images/').$part->area->name . '.' . $part->part.'.jpg');
+ File::copy(__DIR__.'/../../default-assets/bg-girl.jpg',public_path('upload/images/').$part->area_name . '.' . $part->part.'.jpg');
}
public static function onRemove(Part $part = null)
{
- Setting::where('key',$part->area->name . '_' . $part->part.'_text')->first()?->delete();
- Setting::where('key',$part->area->name . '_' . $part->part.'_title2')->first()?->delete();
- Setting::where('key',$part->area->name . '_' . $part->part.'_group')->first()?->delete();
- Setting::where('key',$part->area->name . '_' . $part->part.'_last')->first()?->delete();
- Setting::where('key',$part->area->name . '_' . $part->part.'_jpg')->first()?->delete();
+ Setting::where('key',$part->area_name . '_' . $part->part.'_text')->first()?->delete();
+ Setting::where('key',$part->area_name . '_' . $part->part.'_title2')->first()?->delete();
+ Setting::where('key',$part->area_name . '_' . $part->part.'_group')->first()?->delete();
+ Setting::where('key',$part->area_name . '_' . $part->part.'_last')->first()?->delete();
+ Setting::where('key',$part->area_name . '_' . $part->part.'_jpg')->first()?->delete();
}
public static function onMount(Part $part = null)
{
diff --git a/resources/views/segments/footer/SimpleFooter/SimpleFooter.blade.php b/resources/views/segments/footer/SimpleFooter/SimpleFooter.blade.php
index b451880..8ee0729 100644
--- a/resources/views/segments/footer/SimpleFooter/SimpleFooter.blade.php
+++ b/resources/views/segments/footer/SimpleFooter/SimpleFooter.blade.php
@@ -4,9 +4,9 @@
- {{getSetting($data->area->name.'_'.$data->part.'_title1')}}
+ {{getSetting($data->area_name.'_'.$data->part.'_title1')}}
- @foreach( getGroupPostsBySetting($data->area->name.'_'.$data->part.'_group1',5) as $post )
+ @foreach( getGroupPostsBySetting($data->area_name.'_'.$data->part.'_group1',5) as $post )
-
{{Str::limit($post->title,40)}}
@@ -16,10 +16,10 @@
- {{getSetting($data->area->name.'_'.$data->part.'_title2')}}
+ {{getSetting($data->area_name.'_'.$data->part.'_title2')}}
- @foreach( getGroupPostsBySetting($data->area->name.'_'.$data->part.'_group2',5) as $post )
+ @foreach( getGroupPostsBySetting($data->area_name.'_'.$data->part.'_group2',5) as $post )
-
{{Str::limit($post->title,40)}}
@@ -29,7 +29,7 @@
- {!! getSetting($data->area->name.'_'.$data->part.'_last') !!}
+ {!! getSetting($data->area_name.'_'.$data->part.'_last') !!}
diff --git a/resources/views/segments/footer/SimpleFooter/SimpleFooter.php b/resources/views/segments/footer/SimpleFooter/SimpleFooter.php
index cdf92d8..978b00d 100644
--- a/resources/views/segments/footer/SimpleFooter/SimpleFooter.php
+++ b/resources/views/segments/footer/SimpleFooter/SimpleFooter.php
@@ -14,75 +14,75 @@ class SimpleFooter
$setting = new Setting();
$setting->section = 'theme';
- $setting->key = $part->area->name . '_' . $part->part.'_title1';
+ $setting->key = $part->area_name . '_' . $part->part.'_title1';
$setting->value = 'FAQ';
$setting->size = 6;
$setting->type = 'TEXT';
// $setting->data = json_encode(['xmin' => 2, 'xmax' => 90]);
- $setting->title = $part->area->name . ' ' . $part->part. ' title 1';
+ $setting->title = $part->area_name . ' ' . $part->part. ' title 1';
$setting->save();
$setting = new Setting();
$setting->section = 'theme';
- $setting->key = $part->area->name . '_' . $part->part.'_group1';
+ $setting->key = $part->area_name . '_' . $part->part.'_group1';
$setting->value = Group::first()->id;
$setting->size = 6;
$setting->type = 'GROUP';
// $setting->data = json_encode(['xmin' => 2, 'xmax' => 90]);
- $setting->title = $part->area->name . ' ' . $part->part. ' group1';
+ $setting->title = $part->area_name . ' ' . $part->part. ' group1';
$setting->save();
$setting = new Setting();
$setting->section = 'theme';
- $setting->key = $part->area->name . '_' . $part->part.'_title2';
+ $setting->key = $part->area_name . '_' . $part->part.'_title2';
$setting->value = 'FAQ';
$setting->size = 6;
$setting->type = 'TEXT';
// $setting->data = json_encode(['xmin' => 2, 'xmax' => 90]);
- $setting->title = $part->area->name . ' ' . $part->part. ' title 2';
+ $setting->title = $part->area_name . ' ' . $part->part. ' title 2';
$setting->save();
$setting = new Setting();
$setting->section = 'theme';
- $setting->key = $part->area->name . '_' . $part->part.'_group2';
+ $setting->key = $part->area_name . '_' . $part->part.'_group2';
$setting->value = Group::first()->id;
$setting->size = 6;
$setting->type = 'GROUP';
// $setting->data = json_encode(['xmin' => 2, 'xmax' => 90]);
- $setting->title = $part->area->name . ' ' . $part->part. ' group2';
+ $setting->title = $part->area_name . ' ' . $part->part. ' group2';
$setting->save();
$setting = new Setting();
$setting->section = 'theme';
- $setting->key = $part->area->name . '_' . $part->part.'_last';
+ $setting->key = $part->area_name . '_' . $part->part.'_last';
$setting->value = 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus aliquid consequuntur culpa cupiditate dignissimos dolor doloremque error facilis ipsum iure officia quam qui, tempora! Fuga harum impedit iusto magnam veniam.';
$setting->size = 12;
- $setting->title = $part->area->name . ' ' . $part->part. ' last content';
+ $setting->title = $part->area_name . ' ' . $part->part. ' last content';
$setting->type = 'EDITOR';
$setting->save();
// $setting = new Setting();
// $setting->section = 'theme';
-// $setting->key = $part->area->name . '_' . $part->part.'_bg';
+// $setting->key = $part->area_name . '_' . $part->part.'_bg';
// $setting->value = '#111111';
// $setting->type = 'COLOR';
// $setting->data = json_encode(['name' => 'simple-footer-bg']);
// $setting->size = 3;
-// $setting->title = $part->area->name . ' ' . $part->part .' background';
+// $setting->title = $part->area_name . ' ' . $part->part .' background';
// $setting->save();
}
public static function onRemove(Part $part = null)
{
- Setting::where('key',$part->area->name . '_' . $part->part.'_title1')->first()?->delete();
- Setting::where('key',$part->area->name . '_' . $part->part.'_group1')->first()?->delete();
- Setting::where('key',$part->area->name . '_' . $part->part.'_title2')->first()?->delete();
- Setting::where('key',$part->area->name . '_' . $part->part.'_group2')->first()?->delete();
- Setting::where('key',$part->area->name . '_' . $part->part.'_last')->first()?->delete();
-// Setting::where('key',$part->area->name . '_' . $part->part.'_bg')->first()?->delete();
+ Setting::where('key',$part->area_name . '_' . $part->part.'_title1')->first()?->delete();
+ Setting::where('key',$part->area_name . '_' . $part->part.'_group1')->first()?->delete();
+ Setting::where('key',$part->area_name . '_' . $part->part.'_title2')->first()?->delete();
+ Setting::where('key',$part->area_name . '_' . $part->part.'_group2')->first()?->delete();
+ Setting::where('key',$part->area_name . '_' . $part->part.'_last')->first()?->delete();
+// Setting::where('key',$part->area_name . '_' . $part->part.'_bg')->first()?->delete();
}
public static function onMount(Part $part = null)
{
diff --git a/resources/views/segments/footer/WaveFooter/WaveFooter.blade.php b/resources/views/segments/footer/WaveFooter/WaveFooter.blade.php
index b3a7a5c..a93f594 100644
--- a/resources/views/segments/footer/WaveFooter/WaveFooter.blade.php
+++ b/resources/views/segments/footer/WaveFooter/WaveFooter.blade.php
@@ -1,8 +1,8 @@
+ style="--speed: {{getSetting($data->area_name.'_'.$data->part.'_speed')}}s;
+ --speed2: {{getSetting($data->area_name.'_'.$data->part.'_speed2')}}s;
+ --speed3: {{getSetting($data->area_name.'_'.$data->part.'_speed3')}}s">
- {{getSetting($data->area->name.'_'.$data->part.'_title')}} + {{getSetting($data->area_name.'_'.$data->part.'_title')}}
- {{getSetting($data->area->name.'_'.$data->part.'_title')}} + {{getSetting($data->area_name.'_'.$data->part.'_title')}}
- {{__("You must add a pinned post to :GROUP",['GROUP' => getGroupBySetting($data->area->name.'_'.$data->part)?->name])}} + {{__("You must add a pinned post to :GROUP",['GROUP' => getGroupBySetting($data->area_name.'_'.$data->part)?->name])}}
@else- {{getGroupBySetting($data->area->name.'_'.$data->part)?->posts()->where('status',1)->where('is_pinned',1)->first()->title}} + {{getGroupBySetting($data->area_name.'_'.$data->part)?->posts()->where('status',1)->where('is_pinned',1)->first()->title}}
- {!! getGroupBySetting($data->area->name.'_'.$data->part)?->posts()->where('status',1)->where('is_pinned',1)->first()->body!!} + {!! getGroupBySetting($data->area_name.'_'.$data->part)?->posts()->where('status',1)->where('is_pinned',1)->first()->body!!}- {{getSetting($data->area->name.'_'.$data->part.'_title1')}} + {{getSetting($data->area_name.'_'.$data->part.'_title1')}}
- @foreach( getGroupPostsBySetting($data->area->name.'_'.$data->part.'_group1',5) as $post ) + @foreach( getGroupPostsBySetting($data->area_name.'_'.$data->part.'_group1',5) as $post )- {{getSetting($data->area->name.'_'.$data->part.'_title2')}} + {{getSetting($data->area_name.'_'.$data->part.'_title2')}}
-
- @foreach( getGroupPostsBySetting($data->area->name.'_'.$data->part.'_group2',5) as $post )
+ @foreach( getGroupPostsBySetting($data->area_name.'_'.$data->part.'_group2',5) as $post )
- {{Str::limit($post->title,40)}} @@ -29,7 +29,7 @@