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

    Sami

    07/10/2022, 2:38 PM
    https://github.com/area17/twill/issues/1733
  • d

    dedli

    07/10/2022, 8:12 PM
    Is it possible to put new created item in module to the top?
  • i

    ifox

    07/10/2022, 8:15 PM
    @dedli that should be the default unless you are using HasPosition/reorder https://github.com/area17/twill/blob/f9cd9eee5d07543230d65dd0a5f90ec556363db7/src/Http/Controllers/Admin/ModuleController.php#L156
  • d

    dedli

    07/10/2022, 10:28 PM
    Thanks a lot ) I use sortabe, that was a problem.
  • d

    dedli

    07/11/2022, 3:35 AM
    Hi ) I have problem. When I transfer my app from local development to server, I transfer storage folder too. So I miss part files and medias. What best can I do in this case. Can I create manually folders with same name and with the same files https://monosnap.com/file/W9CuZ5ZB8qD9B1EZs4DIJYMZcKItJt ? Maybe there is more simple way to do it?
  • d

    DKC

    07/11/2022, 3:36 AM
    yesyes, And there is another problem too My current block structure is: blocks/card_c -> repeater/item_c -> repeater/button when I clone blocks/card_c, all repeater/item_c are still here, but repeater/button is gone.
  • b

    BA7YA

    07/11/2022, 6:30 AM
    Hi again. Sorry for bothering you. I added new directory for blocks , but 'Fields' is not working
  • h

    Harings Rob

    07/11/2022, 7:16 AM
    Just make sure they are absolutely correct. This should not be an issue if files are in the same spot. There are no hardcoded system paths in the database everything is relative.
  • h

    Harings Rob

    07/11/2022, 7:17 AM
    What is the parent "config" key of "directories?
  • b

    BA7YA

    07/11/2022, 7:21 AM
    It's just located in 'twill.directories'. I was trying to move 'source' inside 'twill.block_editor' , but nothing.
  • h

    Harings Rob

    07/11/2022, 7:23 AM
    it should be twill.block_editor.directories
  • d

    devtutorum

    07/11/2022, 8:23 AM
    What is the common problem when an image doesn't stay attached to the content post?
  • i

    ifox

    07/11/2022, 8:29 AM
    missing/incorrect mediasParams or block_editor.crops config @devtutorum
  • d

    dedli

    07/11/2022, 8:55 AM
    @ifox @Harings Rob is it ok?
  • h

    Harings Rob

    07/11/2022, 8:56 AM
    Hey @dedli, will have a look later, you can remind us, but please keep in mind we also have other things to work on. You only asked this today.
  • d

    dedli

    07/11/2022, 9:00 AM
    I asked this yesterday. Ok, sorry for disturbing
  • m

    MedvedOurs

    07/11/2022, 1:27 PM
    Hello! I'm upgrading from Twill 2.1.1 to 2.8 - and I'm running into NoCapsuleFoundException . I'm not sure how to proceed about it - is there an upgrade guide somewhere? Thanks for the help!
    h
    • 2
    • 43
  • i

    ifox

    07/12/2022, 11:01 AM
    hey thanks for the help @Mouse83, see the thread above, there was a regression in Twill for developers that nest their models
  • m

    Mouse83

    07/12/2022, 11:02 AM
    sorry I`m a discord newbe still, removed the uncecessary messaages
  • m

    Mouse83

    07/12/2022, 11:03 AM
    I`ve got an problem of my own I cant pinpoint, in multiple edit/create views in admin I get error: Undefined variable $form_fields (View:/area17/twill/views/partials/form/utils/_block_editor_store.blade.php)
  • m

    Mouse83

    07/12/2022, 11:04 AM
    that is comming from a template area17/twill/src/../views/partials/form/_block_editor.blade.php
  • m

    Mouse83

    07/12/2022, 11:04 AM
    yet the $form_fields variable is avaliable in template context
  • m

    Mouse83

    07/12/2022, 11:05 AM
    I mean I can dd in any form.blade.php and the variable is there
  • m

    Mouse83

    07/12/2022, 11:06 AM
    Would you guys be so kind to point me in the right direction
  • k

    kalle

    07/12/2022, 11:33 AM
    Do you use block editor on any module?
  • m

    Mouse83

    07/12/2022, 11:41 AM
    yes, some have it
  • m

    Mouse83

    07/12/2022, 11:43 AM
    should all module parts (model, repo) have traits to use block editor if one has them ?
  • i

    ifox

    07/12/2022, 11:44 AM
    model and repo needs has/handle traits yes
  • i

    ifox

    07/12/2022, 11:45 AM
    not all modules needs it just because one uses it, no
  • m

    Mouse83

    07/12/2022, 11:59 AM
    the ones that show the error, dont use blocks
1...360361362...484Latest