how to update translations for vue, new translate work only php not vue
sgweb
@sgweb
Posts made by sgweb
-
how to update translations for vue
-
RE: How to set the current template from the controller level
I created a flatly based theme, wanted to choose the right theme in the controller for the user
-
How to set the current template from the controller level
How to set the current template from the controller level
-
RE: url image module media file
solution in blade in loop
Imagy::getThumbnail( (string)$offer_item->filesByZone('icon')->first()['path_string']thx
-
RE: url image module media file
i have no idea
one object work
$mod = new Offer();
$offers = $mod->first();
$offers->filesByZone('icon')->first();
array object no return file
$mod = new Offer();
$offers = $mod->all();
$offers[0]->filesByZone('icon')->first(); -
RE: url image module media file
Not only photo, other values like title will load
@sgweb said in url image module media file:
The problem occurs in an array of objects
one object
$offer = $this->offer->findBySlug($slug); - workcontroller $offers = $this->offer->allTranslatedIn(App::getLocale());
view <?php foreach ($offers as $item): ?>
<img src="{{ Imagy::getThumbnail($item->filesByZone('icon')->first(), 'mediumThumb') }}" alt="{{ $item->title }}" />not work
-
RE: url image module media file
The problem occurs in an array of objects
one object
$offer = $this->offer->findBySlug($slug); - workcontroller $offers = $this->offer->allTranslatedIn(App::getLocale());
view <?php foreach ($offers as $item): ?>
<img src="{{ Imagy::getThumbnail($item->filesByZone('icon')->first(), 'mediumThumb') }}" alt="{{ $item->title }}" />not work
-
RE: url image module media file
next problem "Trying to get property of non-object"
code in blade: {{ Imagy::getThumbnail($offer->files()->where('zone', 'icon')->first()->path, 'mediumThumb') }}
in controller:
code: $offer->files()->where('zone', 'icon')->first()->path
return
MediaPath {#942 ▼
-path: "/assets/media/93463806.jpg"
} -
RE: url image module media file
It helped to update the filesystem configuration file. The url parameter for driver local was missing. thanks
-
url image module media file
hi
i upgrade platform and url media change from /assets/media/correct_smallThumb.png to/storage//assets/media/correct_smallThumb.png Is there any path configuration?