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

    amargoCactus

    07/07/2022, 5:49 PM
    hello
  • a

    amargoCactus

    07/07/2022, 5:49 PM
    the color fields are not being saved correctly in the settings
  • a

    amargoCactus

    07/07/2022, 5:49 PM
    after saving the field shows [object Object]
  • h

    Harings Rob

    07/07/2022, 6:04 PM
    hmm are these fields translatable?
  • a

    amargoCactus

    07/07/2022, 7:07 PM
    nope
  • a

    amargoCactus

    07/07/2022, 7:08 PM
    Copy code
    @formField('color', [
            'name' => 'primary_color',
            'label' => 'Color primario'
        ])
        @formField('color', [
            'name' => 'secondary_color',
            'label' => 'Color secundario'
        ])
  • d

    DKC

    07/08/2022, 3:55 AM
    Help! Anyone facing the same issue here? about the nested repeater block cloning https://github.com/area17/twill/issues/1720
  • h

    Harings Rob

    07/08/2022, 6:17 AM
    hey @DKC havent had time to look into that yet.
  • u

    24kappa

    07/08/2022, 8:04 AM
    Icons
  • b

    BA7YA

    07/08/2022, 9:32 AM
    Hi Guys. I have several modules with block-editor. Could I change default 'blocks' folder for each module? Just want to have good structure for each module
  • i

    ifox

    07/08/2022, 10:17 AM
    do you mean
    admin/blocks
    ?
  • h

    Harings Rob

    07/08/2022, 10:19 AM
    @BA7YA i think you can add more directories to config('twill.block_editor.source.blocks'), see twill/config/blocks.php for examples.
  • d

    dedli

    07/08/2022, 12:02 PM
    Hi ) Have problem with dropdown on mac https://monosnap.com/file/XwCZbU4no86P9NTuq51mymErDVUrUo Some dropdown fields are hidden
  • i

    ifox

    07/08/2022, 12:04 PM
    Hi @dedli please report an issue on github for this kind of thing, it's a css issue within Twill that we're not going to be able to help you with here
  • d

    dedli

    07/08/2022, 1:12 PM
    Ok, thanks )
  • a

    amargoCactus

    07/08/2022, 4:39 PM
    Hello, there isn't a vertical menu option?
  • i

    ifox

    07/08/2022, 5:27 PM
    Hi @amargoCactus nope (not yet)
  • i

    ifox

    07/08/2022, 5:40 PM
    you can always use your own css or even render the navigation yourself in blade by overriding Twill views, it is not using Vue for the nav
  • d

    DKC

    07/08/2022, 6:26 PM
    some repeaters in blocks can not be cloned and suggest that the cloned key should use random string instead of timenow only, because it will cause same key happening
  • i

    ifox

    07/08/2022, 7:54 PM
    are you on 2.8.8 @DKC ?
  • i

    ifox

    07/08/2022, 8:08 PM
    oh I see, you mean this https://github.com/area17/twill/blob/54c7ea2019ebb2b414ccf637ca6c160e3992258e/frontend/js/store/modules/repeaters.js#L28
  • d

    DKC

    07/09/2022, 5:48 AM
    Hello! i am on 2.8.6
  • d

    dedli

    07/09/2022, 5:53 AM
    Hi ) Could you please some explain about it. I find vendor/area17/twill/frontend/js/components/media-library/MediaSidebar.vue. I should make changes to it. I run npm install in twill directory. I try to run npm run-script watch, npm run-script build but I get an error SyntaxError: Unexpected token '?' How i can see changes in this component? How my work flow should like? I have current project. I should make changes and see it in my project. When everything is fine, I should create fork from twill repository, copypaste changes to this component and then send pull request?
  • h

    Harings Rob

    07/09/2022, 7:26 AM
    @dedli if you want to rebuild twill you better run
    php artisan twill:build
  • h

    Harings Rob

    07/09/2022, 7:27 AM
    I guess we can suffix that with a 4-5 char random integer as well to ensure uniqueness
  • d

    dedli

    07/09/2022, 7:31 AM
    Thanks, I tried it but did not get any result. Media view was the same. I will try one more.
  • h

    Harings Rob

    07/09/2022, 7:31 AM
    First try to make everything work without changes just to be sure the issue is not in your code.
    • 1
    • 1
  • d

    dedli

    07/09/2022, 7:36 AM
    This about to show full file path (to make possible to copy it for content manager) in media library. @ifox said that this changes can be in PR
    h
    • 2
    • 4
  • d

    dedli

    07/10/2022, 5:01 AM
    @Harings Rob @ifox is it ok? https://monosnap.com/file/wWTonAYokLXfmILf47raDs1zToL3fJ
  • d

    dedli

    07/10/2022, 5:03 AM
    Is it possible to manipulate this icon name in bottom tooltip? https://monosnap.com/file/dY36bL3kAzvJTzCtOSnTJRMizVdf35
1...359360361...484Latest