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

    Luís Novais

    11/14/2022, 9:20 PM
    that will be nice, I have one pdf upload from user in frontend and want to show them in the admin cms when editing the item
    k
    • 2
    • 9
  • l

    Luís Novais

    11/14/2022, 9:33 PM
    its possible add function to obtain string in $indexColumns ? I want to get status from checking if value exists and what value have ...
    k
    • 2
    • 6
  • t

    Tobi Wan

    11/15/2022, 9:49 AM
    Can anyone help me to fix the search functionality in Twill so that the search is case in-sensitive (I'm using Postgres, which is a bit more strict with upper/lower case where conditions). Is there a way to overwrite the search endpoint? This is not for the global search, but the search for a specific Module.
    i
    h
    • 3
    • 34
  • k

    kalle

    11/15/2022, 10:36 AM
    Manual file upload
  • k

    kalle

    11/15/2022, 10:56 AM
    indexColumn
  • y

    Young_Koekwaus

    11/15/2022, 12:39 PM
    is it possible to remove those links or change the request?
    p
    i
    • 3
    • 3
  • k

    kalle

    11/15/2022, 2:15 PM
    I think this is possible in the 3.x version, but Im not sure. cc @Harings Rob
  • h

    Harings Rob

    11/15/2022, 2:16 PM
    I am not sure either 🙂
  • h

    Harings Rob

    11/15/2022, 2:16 PM
    I will check tomorrow
  • y

    Young_Koekwaus

    11/15/2022, 2:36 PM
    Okey thanks for letting me know👍
  • p

    pboivin

    11/15/2022, 3:17 PM
    Customize index filters
  • d

    dpadular

    11/15/2022, 10:22 PM
    this feels like i am missing something very obvious, but how do i redirect to the main page of a module? my module is
    dealers
    , i tried to
    redirect->route('dealers.show')
    but i get a Route not defined error
  • k

    kalle

    11/15/2022, 10:23 PM
    Try with
    dealers.show.index
    if you want index table (list)
  • i

    ifox

    11/15/2022, 10:25 PM
    Probably more likely to be
    admin.dealers.index
  • k

    kalle

    11/15/2022, 10:25 PM
    Yes 😄
  • d

    dpadular

    11/15/2022, 10:25 PM
    aha,
    admin.dealers.index
    did the trick
  • d

    dpadular

    11/15/2022, 10:25 PM
    thanks!
  • k

    kalle

    11/15/2022, 10:26 PM
    Also you can check all the routes with
    artisan route:list
    and there you can find all registered Twill module routes.
  • d

    dpadular

    11/15/2022, 10:27 PM
    ahh excellent, thank you. building with Twill has been my first major Laravel project as well so there's a lot of those little things that i'm still learning
  • d

    dpadular

    11/15/2022, 10:28 PM
    thanks again 🙏🏻
  • s

    Sami

    11/16/2022, 11:18 AM
    Hello, what are these good for?
    Copy code
    @twillPropGroup('foo') @twillBlockGroup('foo')
    @twillRepeaterGroup('foo')
    In docs those are called with default string
    'app'
    but does it have any use? I failed to understand from the docs 🙏🏼
  • i

    ifox

    11/16/2022, 1:30 PM
    Module search
  • i

    ifox

    11/16/2022, 1:38 PM
    Hi @Sami the
    block_editor
    field has a
    group
    parameter you can use to reference all the blocks of a certain group
  • s

    Sami

    11/16/2022, 1:41 PM
    Reference in what sense? I think
    renderBlocks()
    function can use it as a parameter, right?
  • i

    ifox

    11/16/2022, 1:41 PM
    no, I mean in the form
  • i

    ifox

    11/16/2022, 1:42 PM
    @formField('block_editor', ['group' => 'some-group'])
  • i

    ifox

    11/16/2022, 1:42 PM
    is equivalent to:
    Copy code
    php
    @formField('block_editor', [
      'blocks' => [
        'a-block-from-some-group', 
        'another-block-from-that-group'
      ]
    ])
  • s

    Sami

    11/16/2022, 1:43 PM
    Ahh, okay
  • s

    Sami

    11/16/2022, 1:43 PM
    that's nice!
  • s

    Sami

    11/16/2022, 1:44 PM
    And the other directives?
1...424425426...484Latest