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

    Olivier

    01/04/2023, 3:28 PM
    our use case is for an "article" page to be able to have some kind of "top 10" look, where items are automatically numbered.
  • o

    Olivier

    01/04/2023, 3:28 PM
    is this possible in twill 3 maybe?
  • h

    Harings Rob

    01/04/2023, 3:29 PM
    In twill 3 blocks can be nested
  • h

    Harings Rob

    01/04/2023, 3:29 PM
    Do you have a visual example of what you need? Perhaps we can give some pointers
  • o

    Olivier

    01/04/2023, 3:30 PM
    Yes, client gave us this link: https://epicstream.com/article/best-dubbed-anime-netflix
  • o

    Olivier

    01/04/2023, 3:31 PM
    They want to be able to build this kind of article. I'm trying to think of the best way to handle this with twill.
  • h

    Harings Rob

    01/04/2023, 3:31 PM
    I think a repeater could do the job here
  • i

    ifox

    01/04/2023, 3:33 PM
    it won't let him select different blocks within a list item though
  • o

    Olivier

    01/04/2023, 3:33 PM
    It's true that when you look at it, the format is always the same inside each item. Maybe we could restrict them to that as well or give them a few options.
  • i

    ifox

    01/04/2023, 3:34 PM
    In twill 3 since you can nest that's not a problem, in Twill 2 this is something best done with a separate module to host the block editor, by using parent-child modules or a block referencing through a browser
  • i

    ifox

    01/04/2023, 3:34 PM
    but indeed if the format does not need multiple blocks, it can be done with a repeater inside a block
  • o

    Olivier

    01/04/2023, 3:34 PM
    how far is twill 3 from being production-ready?
  • i

    ifox

    01/04/2023, 3:35 PM
    we're on RC1, planning to do another RC this month and go stable asap. We're already using it to build sites that need to be production ready very soon.
  • o

    Olivier

    01/04/2023, 3:36 PM
    Sounds great, thanks all for your answers, I'll roll with that.
  • v

    VadimG

    01/05/2023, 11:50 PM
    Hi! Do we have any chance to run php artisan twill:dev with https? I've configured local host, let's say 'https://mytestdomain.com" with certificates, so nginx listen only 443 port. How I can start dev mode with this config? Thanks!
    h
    i
    • 3
    • 13
  • h

    Harings Rob

    01/06/2023, 11:47 AM
    Hey @VadimG I think you can customize
    TWILL_DEV_MODE_URL=http://localhost:4173
    ?
  • c

    ckmirafss

    01/07/2023, 2:20 AM
    Hi, I am trying to create a repeater form and got this error.
  • c

    ckmirafss

    01/07/2023, 2:22 AM
    Here are the list of my codes.
  • h

    Harings Rob

    01/07/2023, 8:19 AM
    👋 looks like you are missing the relation code in your home model?
  • c

    ckmirafss

    01/08/2023, 12:27 AM
    Hi @Harings Rob you mean this?
  • c

    ckmirafss

    01/08/2023, 2:08 AM
    Hello again, is there a way to rename this "Slider" from "Title" field?
  • v

    VadimG

    01/09/2023, 11:13 AM
    Twill dev mode
  • i

    ifox

    01/09/2023, 3:36 PM
    Hi @ckmirafss for your first question, you shouldn't use HasNesting on the repeater model
  • i

    ifox

    01/09/2023, 3:37 PM
    Yes, using the
    @twillRepeaterTitleField
    directive at the top of your repeater file
  • e

    ErfanMola 👻

    01/09/2023, 5:13 PM
    Hi, is twill integrated with Octane ?
  • i

    ifox

    01/09/2023, 5:51 PM
    Hi @ErfanMola 👻, we released some changes last year so that Twill can work in Octane, yes!
  • i

    ifox

    01/09/2023, 5:52 PM
    wow, your website is sick man
  • i

    ifox

    01/09/2023, 5:52 PM
    did you build it?
  • h

    Hip-Hop

    01/10/2023, 8:38 AM
    In the twill file I describe the block
    Copy code
    slider_text_image' => [
                     'title' => 'block "slider"',
                     'icon' => 'text',
                     'component' => 'a17-block-slider_text_image',
                 ],
    Is it possible to somehow change the title for different places? I have such a block can be found in different places. In one place he has a name for example 'advertising', in another 'interesting'.
  • e

    elkex

    01/10/2023, 1:01 PM
    My Laravel installation is throwing router errors on using the Singleton module... It says it is missing arguments..
1...442443444...484Latest