Christfister
Christfister
TCTwill CMS
Created by Christfister on 7/21/2023 in #👊support
Date_picker withTime => false returns null values
Porting a 2.8 project over to 3 and the new date picker is causing trouble. I have a repeater with a date_picker field and when I set the withTime parameter to false, the form field value gets set to null before it gets to the afterSave() function in my repository. Any ideas or links to how to solve it?
1 replies
TCTwill CMS
Created by Christfister on 7/18/2023 in #👊support
Upgrading from 2.8 to 3
Trying to upgrade an existing Twill project. Keep getting the following error in the log [2023-07-18 17:50:09] production.ERROR: Target class [App\Http\Controllers\Admin\HomepageController] does not exist. {"exception":"[object] (Illuminate\Contracts\Container\BindingResolutionException(code: 0): Target class [App\Http\Controllers\Admin\HomepageController] does not exist. at /Users/mrpink/Desktop/Web Dev/acbsupgrade/vendor/laravel/framework/src/Illuminate/Container/Container.php:879) Updated the web routes to reflect the new \Twill\ directory structure. Updated composer dependencies. Tried running twill:build but fails when getting to the building Twill assets step because of a "digital envelope routines::unsupported" error. Any ideas on what might be happening or is there a more in depth article on upgrading than what's on Twills Official documentation?
4 replies
TCTwill CMS
Created by Christfister on 6/23/2023 in #👊support
Cloning Repeaters in 2.8 Not copying fields
Still using version 2.8. When cloning a repeater that stores dates and times, the cloned version has all its files empty. Is there a way to get the cloned version to copy the contents of that repeater into the new one?
1 replies
TCTwill CMS
Created by Christfister on 12/27/2022 in #👊support
Deleting an entry causes 500 error unless entry is destroyed
Been struggling with this for a bit and I'm out of ideas. I've got a browser that contains a list of other entries called 'sponsors'. When you delete the 'sponsor' it goes into the trash and is removed from the browser in the admin, but causes a 500 error when viewing the final page. If you destroy the 'sponsor' the page works fine. I've tried querying with ->get() using withTrashed() and then iterating over the query to filter out deleted 'partners' and still get a 500 error. Also tried whereNull('deleted_at') and have the same issue. Also tried other random stack overflow answers that still didn't work. Is there some form for querying related browsers that filters out trashed and unpublished entries that I'm unaware of?
9 replies