undersound
undersound
TCTwill CMS
Created by undersound on 4/28/2023 in #👊support
Fetch all models with field value of X
Thanks @agnonym , that's helpful and nice to see other approaches for getting content.
19 replies
TCTwill CMS
Created by undersound on 4/28/2023 in #👊support
Fetch all models with field value of X
As far as I understand the WorkRepository class gets created when creating a module through php artisan twill:make:module . So in my case WorkRepository got created and extends ModuleRepository. I am using this class WorkRepository in my WorkController to fetch Work models for my frontend Route::get('/work', [WorkController::class , 'index']); I think this WorkRepository class is also used by the admin views but I am not sure. Anyways, in this case I want to use it for filtering in the frontend.
19 replies
TCTwill CMS
Created by undersound on 4/28/2023 in #👊support
Fetch all models with field value of X
@agnonym that works like a charm, thank you very much! Out of curiousity... how would I implement the same functionality but than with the get function https://github.com/area17/twill/blob/3.x/src/Repositories/ModuleRepository.php#L55. Would I want to use the filter parameter there?
19 replies
TCTwill CMS
Created by undersound on 4/28/2023 in #👊support
Fetch all models with field value of X
y eah I thought that, appreciated
19 replies
TCTwill CMS
Created by undersound on 4/28/2023 in #👊support
Fetch all models with field value of X
Sorry real beginner here with Laravel 🙂
19 replies
TCTwill CMS
Created by undersound on 4/28/2023 in #👊support
Fetch all models with field value of X
Is the published feature of Twill you mention to indicate if a model instance is published? Because the available field on my model does not represent this state of the model instance. It is more a value to indicate if a piece of work is availble for sale
19 replies
TCTwill CMS
Created by undersound on 4/28/2023 in #👊support
Fetch all models with field value of X
Thanks @agnonym , is this also applicable to laravel 9.x?
19 replies
TCTwill CMS
Created by undersound on 4/5/2023 in #👊support
[3.0.0-rc4] Images not found on remote server - League\\Glide\\Filesystem\\FileNotFoundException
Hey, do you mean the failed to clear cache error or the images not showing up in general? For the latter it was a missing gd extension in my case
31 replies
TCTwill CMS
Created by undersound on 4/6/2023 in #👊support
[3.0.0-rc4] - How to show current value in a select form field
hi @ifox.dev , sorry for late reply....testing this currently. I don't have any model accessor on that column
3 replies
TCTwill CMS
Created by undersound on 4/5/2023 in #👊support
[3.0.0-rc4] Images not found on remote server - League\\Glide\\Filesystem\\FileNotFoundException
31 replies
TCTwill CMS
Created by undersound on 4/5/2023 in #👊support
[3.0.0-rc4] Images not found on remote server - League\\Glide\\Filesystem\\FileNotFoundException
Do read some stuff about it but this will probably be solved by following your link I suppose?
31 replies
TCTwill CMS
Created by undersound on 4/5/2023 in #👊support
[3.0.0-rc4] Images not found on remote server - League\\Glide\\Filesystem\\FileNotFoundException
Failed to clear cache. Make sure you have the appropriate permissions.
31 replies
TCTwill CMS
Created by undersound on 4/5/2023 in #👊support
[3.0.0-rc4] Images not found on remote server - League\\Glide\\Filesystem\\FileNotFoundException
Still getting this one though
31 replies
TCTwill CMS
Created by undersound on 4/5/2023 in #👊support
[3.0.0-rc4] Images not found on remote server - League\\Glide\\Filesystem\\FileNotFoundException
Ok everything is working now, can't believe I forgot that one 🙃 thanks
31 replies
TCTwill CMS
Created by undersound on 4/5/2023 in #👊support
[3.0.0-rc4] Images not found on remote server - League\\Glide\\Filesystem\\FileNotFoundException
ok just uploadeon through media library and tailing the laravel.log gave me a missing gd extension , arghhh, let me install that quickly
31 replies
TCTwill CMS
Created by undersound on 4/5/2023 in #👊support
[3.0.0-rc4] Images not found on remote server - League\\Glide\\Filesystem\\FileNotFoundException
So i uploaded some images through an image field in the backend locally, the showed up in the frontend and then I deployed the website to production
31 replies
TCTwill CMS
Created by undersound on 4/5/2023 in #👊support
[3.0.0-rc4] Images not found on remote server - League\\Glide\\Filesystem\\FileNotFoundException
In the frontend as well as in the media library
31 replies
TCTwill CMS
Created by undersound on 4/5/2023 in #👊support
[3.0.0-rc4] Images not found on remote server - League\\Glide\\Filesystem\\FileNotFoundException
Some show up some don't
31 replies
TCTwill CMS
Created by undersound on 4/5/2023 in #👊support
[3.0.0-rc4] Images not found on remote server - League\\Glide\\Filesystem\\FileNotFoundException
Yeah I just deployed my local instance whereI synced the code files through jenkins and imported the local db on production
31 replies
TCTwill CMS
Created by undersound on 4/5/2023 in #👊support
[3.0.0-rc4] Images not found on remote server - League\\Glide\\Filesystem\\FileNotFoundException
Nothing seems to happen in storage/app/public/uploads/ and storage/app/glide_cache/
31 replies