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

    delta107

    07/29/2021, 10:41 PM
    my install could be broken?
  • p

    pboivin

    07/29/2021, 10:43 PM
    Not sure yet, what other steps did you do to setup your settings page?
  • d

    delta107

    07/29/2021, 10:43 PM
    nothing really, but on an unrelated matter I had some failed migrations
  • p

    pboivin

    07/29/2021, 10:44 PM
    Ok well, I'll admit it's not ideal to debug 2 things at once 🙂 What is your migration error?
  • d

    delta107

    07/29/2021, 10:46 PM
    Could not find a view for the block or repeater 'a17-block-paragraph'.. I forgot to add it but now my artisan is stuck on this no matter what I call
  • d

    delta107

    07/29/2021, 10:46 PM
    anyway I'll just reinstall I'm simply trying to learn twill
  • p

    pboivin

    07/29/2021, 10:47 PM
    Oh ok, if you're not too far in your exploration... nuke & pave is a good option hehe
  • k

    Kirk Bushell

    07/30/2021, 11:49 PM
    Anyone around to help? I can't get a second featured buckets area to show other than home page
  • p

    pboivin

    07/31/2021, 12:17 PM
    Hey @User , did you get your buckets to work?
  • k

    Kirk Bushell

    07/31/2021, 12:22 PM
    I did not, unfortunately
  • p

    pboivin

    07/31/2021, 12:25 PM
    Just to make sure I understand, are you trying to have multiple bucket "pages" (in the primary navigation) or multiple buckets on the same page?
  • k

    Kirk Bushell

    07/31/2021, 12:26 PM
    Different buckets on different pages
    p
    i
    a
    • 4
    • 8
  • k

    Kirk Bushell

    07/31/2021, 12:26 PM
    I've already got multiple buckets for the home page setup
  • l

    Lyder

    08/04/2021, 9:55 AM
    Hello, is there anyone who could help me out? https://stackoverflow.com/questions/68648430/twill-cms-laravel-show-repeater-data-in-content-editor
  • i

    ifox

    08/04/2021, 10:12 AM
    Hi @Lyder
  • i

    ifox

    08/04/2021, 10:12 AM
    so there is actually a feature for what you are trying to do with a section yield
  • i

    ifox

    08/04/2021, 10:13 AM
    when calling
    renderBlocks
    you can use
    false
    as the first param to indicate that you'd like to render child repeaters yourself in the parent blocks
  • i

    ifox

    08/04/2021, 10:15 AM
    and for that to work in the editor previews, there is a twill.php config:
    twill.block_editor.block_preview_render_childs
    that you need to set to false
  • l

    Lyder

    08/04/2021, 10:18 AM
    Thank you very much I'm gonna try it!
  • i

    ifox

    08/04/2021, 10:19 AM
    In your parent block you can loop over ->children and filter them by type
  • l

    Lyder

    08/04/2021, 10:40 AM
    @User I've edited my mainContent to
    Copy code
    @foreach ($block->children->where('type', 'buttons') as $child)
                        @include('site.blocks.buttons', ['child', $child])
                    @endforeach
    And edited the renderer and config and it works! Is this the way you meant?
  • l

    leftblank

    08/04/2021, 10:43 AM
    Hi - new to Twill and wondering if I can create/edit/delete non-twill application users (stored in standard 'users' table) within Twill?
  • l

    leftblank

    08/04/2021, 11:06 AM
    I've found this discussion which implies I can https://spectrum.chat/twill/help/question-about-users~4fe95d9c-f60f-4b45-bc5e-f3a2bae6ace4
  • l

    leftblank

    08/04/2021, 11:06 AM
    But I'm not sure what the extra columns would be?
  • i

    ifox

    08/04/2021, 11:50 AM
    yes!
  • i

    ifox

    08/04/2021, 11:51 AM
    Hi @leftblank this should help https://gist.github.com/pboi20/d20d23ae130ea9a112ee49dd98f00239
  • l

    leftblank

    08/04/2021, 12:07 PM
    Oh that's perfect, thank you @User 🙂
  • k

    KyleAF

    08/04/2021, 11:16 PM
    Hey everyone! I have a strange issue: I tried to make a "gallery" block a while ago, and couldn't get it to work. I eventually found out it was the name since changing it to "gallery2" solved it.
  • k

    KyleAF

    08/04/2021, 11:17 PM
    But now, whenever someone uses the gallery2 block, it seems to be using code from the vendor/area17/twill/src/Commands/stubs/blocks/gallery.blade.php file since it has the option for "Gallery Variation" that I don't have in my block. And it gives the error "ERROR 500 - View [site.blocks.gallery] not found" on render
  • i

    ifox

    08/04/2021, 11:18 PM
    Hi @KyleAF are you using twill.php configuration for your blocks?
1...717273...484Latest