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

    ifox

    02/08/2023, 5:18 PM
    as in you published twill views
  • i

    ifox

    02/08/2023, 5:19 PM
    if you did, that's where the problem is
  • i

    ifox

    02/08/2023, 5:19 PM
    You don't need them if you didn't customize them
  • i

    ifox

    02/08/2023, 5:19 PM
    if you did you'll need to merge changes from the original
  • j

    joshyhud

    02/08/2023, 5:21 PM
    thanks i fox i am asking the devs the questions now
  • j

    joshyhud

    02/08/2023, 5:22 PM
    so we do have some customised layouts
  • j

    joshyhud

    02/08/2023, 5:28 PM
    these have minimal amends in them. the dev is saying that running the twill update is what is breaking the cms, if we dont run it then its fine
  • i

    ifox

    02/08/2023, 5:30 PM
    they need to compare their customized layouts with the one in vendor for the new version and make the changes in theirs
  • i

    ifox

    02/08/2023, 5:30 PM
    they can use GitHub to compare them across version
  • i

    ifox

    02/08/2023, 5:31 PM
    https://github.com/area17/twill/blob/ff6c7ef8233a81626553042e475f900ae0416f68/views/layouts/main.blade.php#L86
  • j

    joshyhud

    02/08/2023, 5:32 PM
    This is brill, i will ask them to check and let you know
  • i

    ifox

    02/08/2023, 5:32 PM
    This is most likely the culprit line
  • j

    joshyhud

    02/08/2023, 5:32 PM
    cool
  • j

    joshyhud

    02/08/2023, 5:47 PM
    So my devs are going to check now. I can see that in our vendor files the line matches what you have sent in the git link above
  • k

    Keyel

    02/09/2023, 8:23 PM
    Hello, good afternoon, I used the make:module command and it did not generate the modulename/form.blade.php, would anyone know how to help me? am I doing something wrong? I'm using the latest version 3.0.0.-rc3
  • h

    Harings Rob

    02/09/2023, 8:27 PM
    hey @Keyel in Twill 3 it does not generate a form.blade.php anymore. The form is part of your controller.
  • h

    Harings Rob

    02/09/2023, 8:28 PM
    If you wish to have the blade form instead you can use --form I believe
  • k

    kalle

    02/09/2023, 8:28 PM
    I think its
    --bladeForm
    option per code, docs are missing this info atm.
  • k

    Keyel

    02/09/2023, 8:29 PM
    Hmm, I see, Thanks for the help, I'll check here how I do it then. I found Twill yesterday and I'm trying to learn to use it in future projects.
  • k

    Keyel

    02/09/2023, 8:29 PM
    Thank you very much!
  • o

    Olivier

    02/10/2023, 1:33 PM
    I'm looking for some inspiration, I need to build a simple management for our front-end menus. Does anyone have a public repo I could check (Twill 2)? Do you people put it in it's own module or in the settings? I think I can get away with a simple title/url and maybe a class field for css, but I also need nesting for a submenu.
  • h

    Harings Rob

    02/10/2023, 1:36 PM
    hey @Olivier you maybe can get some from https://github.com/Webisolv/base-twill-project that I made some time ago
  • p

    pauldwight

    02/10/2023, 1:46 PM
    @Olivier we built a really simple capsule for managing menus, it was a couple years ago and we haven't updated it since but that should give you some ideas as well https://github.com/cwsdigital/twill-capsule-menus
  • o

    Olivier

    02/10/2023, 2:20 PM
    awesome, thank you !
  • j

    jefsev

    02/10/2023, 7:55 PM
    Did something change with $block->file() and $block->image() ?
  • j

    jefsev

    02/10/2023, 7:55 PM
    Im also missing title in the list when having more multilingual:
  • i

    ifox

    02/10/2023, 8:00 PM
    this looks to be due to a mismatch between your main app locale and the first locale in your translatable.php config
  • i

    ifox

    02/10/2023, 8:01 PM
    no, what's up?
  • j

    jefsev

    02/10/2023, 8:10 PM
    Maybe it's me but i only seem to get imageAsArray to work but not image()
  • j

    jefsev

    02/10/2023, 8:20 PM
    "crops" => [ "image" => [ "desktop" => [ [ "name" => "default", ], ], ], "image_1" => [ "desktop" => [ [ "name" => "default", ], ], ], ], i have this in twill.php in block_editor
1...463464465...484Latest