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

    ifox

    02/03/2023, 2:22 PM
    is student_id in your certificate model fillable?
  • e

    elkex

    02/03/2023, 2:22 PM
    Yes
  • i

    ifox

    02/03/2023, 2:22 PM
    that's not the code saving or retrieving the browser that is only to scope it
  • i

    ifox

    02/03/2023, 2:22 PM
    you still need to use $browsers for it to save/be retrieved
  • e

    elkex

    02/03/2023, 2:23 PM
    Is there an example of that somewhere?
  • i

    ifox

    02/03/2023, 2:23 PM
    $browsers = ['student']
  • i

    ifox

    02/03/2023, 2:24 PM
    That's all you should need
  • i

    ifox

    02/03/2023, 2:24 PM
    if your browser field name is also student, as well as your relationship name
  • e

    elkex

    02/03/2023, 2:52 PM
    Okay, I found out I used relatedBrowsers instead of $browsers variable in my repo, pretty confusing haha
  • i

    ifox

    02/03/2023, 3:08 PM
    relatedBrowsers saves in the related table and works with HadRelated. Without related it is compatible with multiple relations types.
  • s

    savchuk.ivan

    02/03/2023, 3:37 PM
    Good evening! Prompt if nested listing is used. Can't you display the column headers? 2.12 twill
  • h

    Harings Rob

    02/03/2023, 3:45 PM
    afaik, you never can with nested
  • n

    nicolas

    02/03/2023, 5:11 PM
    Hi, Twill newbie here
  • n

    nicolas

    02/03/2023, 5:11 PM
    Is-it possible to build a simple CRM experience in Twill's dashboard?
  • n

    nicolas

    02/03/2023, 5:12 PM
    I've seen lot's of great content based demo. How about a screen with "clients > orders > products" layers ?
  • i

    ifox

    02/03/2023, 6:22 PM
    Hi @nicolas, definitely. here's a redacted screen as an example
  • n

    nicolas

    02/03/2023, 6:40 PM
    @ifox thanks for the screenshots. Can you point me to the related docs ?
  • i

    ifox

    02/03/2023, 6:53 PM
    there are no "docs" about setting up a CRM, this is all created from Twill documented features: modules, navigation, index columns, eloquent relationships, etc...
  • j

    jefsev

    02/03/2023, 8:17 PM
    I added: use A17\Twill\Facades\TwillRoutes; And: use A17\Twill\Facades\TwillRoutes; But i get Class "Area17\Support\Facades\TwillRoutes" not found on twill 3
  • j

    jefsev

    02/03/2023, 8:18 PM
    I mean: TwillRoutes::singleton("menu");
  • j

    jefsev

    02/03/2023, 8:19 PM
    Is there a twill 3 doc?
  • n

    nicolas

    02/03/2023, 8:19 PM
    @ifox That's what I went, but didn't phrase it at all. Looking for concepts. Thanks a lot for your help.
  • i

    ifox

    02/03/2023, 8:30 PM
    https://twill.io/docs/3.x/ (more to come with a new docs system that you can build locally in the 3.x branch)
  • i

    ifox

    02/03/2023, 8:32 PM
    It's here: https://github.com/area17/twill/blob/3.x/src/Facades/TwillRoutes.php
  • j

    jefsev

    02/03/2023, 8:38 PM
    Maybe i'm not following. But i added it like this but i get : Class "Area17\Support\Facades\TwillRoutes" not found
  • i

    ifox

    02/03/2023, 8:41 PM
    A17, not Area17
  • j

    jefsev

    02/03/2023, 8:45 PM
    Hmm stil get the error same error when using: use A17\Support\Facades\TwillRoutes;
  • i

    ifox

    02/03/2023, 8:49 PM
    A17\Twill\Facades
  • j

    jefsev

    02/03/2023, 8:52 PM
    I's sorry i missed that one..
  • j

    jefsev

    02/03/2023, 8:52 PM
    thx!
1...459460461...484Latest