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

    Dmi3yy

    06/23/2021, 12:00 PM
    How correct use repeater inside block in editor ? https://tppr.me/qgrH try that : https://tppr.me/w2e5I
  • d

    Dmi3yy

    06/23/2021, 12:01 PM
    find there) https://stackoverflow.com/questions/56700784/twill-cms-laravel-how-to-set-up-repeater-blocks-repeaters-display-at-wrong-p
  • d

    Dmi3yy

    06/23/2021, 12:03 PM
    but not fully what i want
  • d

    Dmi3yy

    06/23/2021, 12:09 PM
    I have to same repeaters add diff names but how i see thay merged
  • d

    Dmi3yy

    06/23/2021, 12:10 PM
    https://tppr.me/YVNBH
  • i

    ifox

    06/23/2021, 12:11 PM
    renderBlocks(false)
    will let you render child blocks (repeaters) yourself
  • d

    Dmi3yy

    06/23/2021, 12:15 PM
    i use 'block_preview_render_childs' => false, but have 2 repeater fields, and when try render see all items in one
  • d

    Dmi3yy

    06/23/2021, 12:15 PM
    https://tppr.me/eby4z
  • i

    ifox

    06/23/2021, 12:17 PM
    you'd need to filter the children by the name to separate them
  • i

    ifox

    06/23/2021, 12:17 PM
    because they are all children of that block
  • i

    ifox

    06/23/2021, 12:18 PM
    but you can do something like
    $block->children->where('name', 'list1')
  • d

    Dmi3yy

    06/23/2021, 12:18 PM
    thanks
  • d

    Dmi3yy

    06/23/2021, 12:27 PM
    This work )
    Copy code
    $block->children->where('child_key', 'list1')
  • u

    user

    06/24/2021, 1:27 PM
    Hi @User
  • u

    user

    06/24/2021, 1:27 PM
    Nice to meet you here.
  • u

    user

    06/24/2021, 1:27 PM
    I am new in Laravel Twill
  • u

    user

    06/24/2021, 1:28 PM
    I have read the document and video shortly. but still many questions
  • u

    user

    06/24/2021, 1:28 PM
    How can i configure the header and footer in Twill admin side?
  • u

    user

    06/24/2021, 1:29 PM
    Can you please guide me it? Looking forward to hearing from you soon. Thanks
  • a

    antonioribeiro

    06/24/2021, 1:29 PM
    @User what header and footer?
  • a

    antonioribeiro

    06/24/2021, 1:30 PM
    this one?
  • u

    user

    06/24/2021, 1:30 PM
    That's the menu for only admin side, isn't it?
  • u

    user

    06/24/2021, 1:30 PM
    I mean frontend header and footer.
  • u

    user

    06/24/2021, 1:30 PM
    like wordpress widget.
  • u

    user

    06/24/2021, 1:31 PM
    do you understand my point?
  • a

    antonioribeiro

    06/24/2021, 1:31 PM
    Oh! Frontend! Sorry. Well, Twill is a headless CMS, so it will not do the Frontend for you, it's 100% your code. We have, yes, some Blade directives to help you get the information from Twill, but no HTML
  • a

    antonioribeiro

    06/24/2021, 1:32 PM
    Are you new to Twill only or also Laravel?
  • u

    user

    06/24/2021, 1:32 PM
    have some knowledge in laravel.
  • u

    user

    06/24/2021, 1:32 PM
    but new to Twill
  • a

    antonioribeiro

    06/24/2021, 1:33 PM
    Yeah, so Twill is just a package for the CMS part (data management) and your website is a Laravel application
1...333435...484Latest