https://twill.io logo
Join Discord
Powered by
# ❓questions
  • i

    ifox

    11/24/2022, 10:23 AM
    yes it is
  • b

    BA7YA

    11/24/2022, 10:23 AM
    @ifox Does my problem have any workaround for now?
  • i

    ifox

    11/24/2022, 10:24 AM
    You could nullify the fields depending on the value of the checkbox fields in prepareFieldsBeforeSave
  • i

    ifox

    11/24/2022, 10:25 AM
    hmm it's in a block though
  • i

    ifox

    11/24/2022, 10:25 AM
    we'll have to look into it
  • i

    ifox

    11/24/2022, 10:25 AM
    did you try replacing the checkbox with a select?
  • b

    BA7YA

    11/24/2022, 10:26 AM
    Yes i tried. So this problem for all connected fields, and doesn't matter type of that field (checkbox,select..)
  • i

    ifox

    11/24/2022, 10:27 AM
    that shouldn't be the case with keepAlive => false on _connected _fields, which is the default
  • i

    ifox

    11/24/2022, 10:27 AM
    so there might be a regression or something preventing that in your codebase. We'll try to reproduce
  • k

    kalle

    11/24/2022, 10:28 AM
    @ifox I have 3 browsers in the form, if I remove 2 of them that one left is working 😄
  • b

    BA7YA

    11/24/2022, 10:28 AM
    @ifox Thank you! Let me know then)
  • k

    kalle

    11/24/2022, 10:28 AM
    I can share you syntax in the DM
  • k

    kalle

    11/24/2022, 10:59 AM
    @ifox saved the day, thank you! 😄
  • a

    amargoCactus

    11/24/2022, 3:06 PM
    hello, it's possible to migrate my local images/files to a s3 bucket?
  • a

    amargoCactus

    11/24/2022, 3:06 PM
    Or do I have to re-upload it manually?
  • i

    ifox

    11/24/2022, 3:14 PM
    hi @amargoCactus definitely possible, as long as you keep the uuid folders
  • f

    Franky

    11/24/2022, 5:19 PM
    Hi all. I'm not so familiar with Laravel. I want to try Twill for projects on conventional hosts (Siteground, Hostinger, etc)... Can anyone direct me on how to go about rolling out a project there?
  • i

    ifox

    11/24/2022, 5:39 PM
    Hi @Franky, Laravel can be installed on some shared hosts but it is definitely not recommended. https://www.siteground.com/kb/install-laravel/
  • a

    amargoCactus

    11/24/2022, 6:21 PM
    What about the glide_cache folder?
  • l

    Luís Novais

    11/24/2022, 9:46 PM
    date_picker 'disabled' => true doesn't work, how can I disable edit date_picker ?
    k
    i
    • 3
    • 13
  • l

    Luís Novais

    11/24/2022, 10:06 PM
    How can I disable manualy that ?
    k
    i
    • 3
    • 5
  • b

    BA7YA

    11/25/2022, 11:23 AM
    Hi! Did you try to reproduce it?)
  • z

    zynth

    11/25/2022, 12:11 PM
    Hi, is there something like a maintenance mode in twill? If I use the laravel maintenance mode, obviously the twill admin won't be accessible anymore.
  • z

    zynth

    11/25/2022, 12:16 PM
    But I want to be able to work on the site in the background while the user sees a "Under maintenance" view or something.
  • k

    kalle

    11/25/2022, 12:28 PM
    I think that you can make a middleware which you apply after web middleware, in which you can check if route accessing is Twill CMS and second check would be against your user session. That means you should check if that is your account and continue with request, otherwise redirect to maintaince route.
  • z

    zynth

    11/25/2022, 12:45 PM
    Yeah IP Address whitelisting would work. I was just curious if there's something integrated in twill. 😄 Thanks for the quick answer, appreciate it.
  • k

    kalle

    11/25/2022, 12:52 PM
    Hmm, no but It could be implemented. View exists, only funcionality is missing 😄
  • h

    Harings Rob

    11/25/2022, 12:53 PM
    https://laravel.com/docs/9.x/configuration#bypassing-maintenance-mode
  • k

    kalle

    11/25/2022, 12:55 PM
    But that would set the maintenance on whole app? I think he only needs it for the Twill routes.
  • h

    Harings Rob

    11/25/2022, 12:55 PM
    I understood the reverse, to put it in maintenance but have the ability to work on it 😄
1...428429430...484Latest