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

    Dmi3yy

    05/25/2021, 6:17 PM
    In repository need add use DB;
  • i

    ifox

    05/25/2021, 6:18 PM
    We recently got a contribution for deep nested modules
  • i

    ifox

    05/25/2021, 6:18 PM
    https://github.com/area17/twill/pull/775
  • d

    Dmi3yy

    05/25/2021, 8:19 PM
    very not optimal but works) https://tppr.me/RE2sl
  • d

    Dmi3yy

    05/25/2021, 8:20 PM
    https://tppr.me/9OAk
  • i

    ifox

    05/25/2021, 8:26 PM
    ha yeah there are many ways to integrate the frontend with this feature
  • d

    Dmi3yy

    05/25/2021, 9:54 PM
    find where problem with medias in setting but need check by some one who write this code on VUE https://github.com/area17/twill/issues/939
  • k

    Kirk Bushell

    05/26/2021, 1:40 AM
    Anyone around to help?
  • k

    Kirk Bushell

    05/26/2021, 1:41 AM
    I'm having an issue trying to get a repeater block to add an item, but no button shows up to add one
  • k

    Kirk Bushell

    05/26/2021, 1:52 AM
    Found it, was so easy - missed the trigger option
  • k

    Kirk Bushell

    05/26/2021, 1:52 AM
    Is it possible to horizontally align inputs, rather than stacked on top of each other?
  • c

    chrispymm

    05/26/2021, 7:50 AM
    there's a columns partial within Twill's form utils - its aliased as a component
    formColumns
    and you can place content in either left, middle or right slots: https://github.com/area17/twill/blob/2.x/views/partials/form/utils/_columns.blade.php
  • d

    Dmi3yy

    05/26/2021, 8:21 AM
    Copy code
    @formFieldset(['id' => 'prices', 'title' => 'Цены'])
    
            @formColumns()
                @slot('left')
                    @formField('input', [
                       'name' => 'price',
                       'label' => 'Основная цена',
                   ])
                @endslot
    
                @slot('middle')
                    @formField('input', [
                       'name' => 'dop_hour_price',
                       'label' => 'Цена доп часа',
                   ])
                @endslot
    
                @slot('right')
                    @formField('input', [
                       'name' => 'dop_guest_price',
                       'label' => 'Цена доп гостя',
                    ])
                @endslot
            @endformColumns
    @endformFieldset
  • d

    Dmi3yy

    05/26/2021, 8:21 AM
    You can use only left and right, or left, right and middle
  • k

    Kirk Bushell

    05/26/2021, 9:07 AM
    Oh great, ty 🙂 And so what happens if you don't use it, it just defaults to left and full width?
  • d

    domihagen

    05/26/2021, 9:20 AM
    Hi guys, is it possible to configure the block editor so that I can insert different blocks per language?
  • i

    ifox

    05/26/2021, 9:28 AM
    not at the moment @domihagen, but it will come. You can however create multiple records that are each published in a different language to achieve this.
  • k

    Kirk Bushell

    05/26/2021, 10:23 AM
    Which I think is actually better
  • d

    domihagen

    05/26/2021, 10:28 AM
    Thanks @User . That´s good to know. Because in the future we definitely will need this 🙂 👍
  • d

    Dmi3yy

    05/26/2021, 10:34 AM
    After I filled the pages with pictures, but I need to add a few more crops options, then I have to delete the picture and upload it to the page again so that I can get new corp options. This is not very convenient if, for example, we make changes to the appearance and we need to add a few more resizes.
  • d

    Dmi3yy

    05/26/2021, 10:35 AM
    Better when we double-check the parameters from the model, it makes more sense. Or at least add the functionality of updating cropping parameters
  • i

    ifox

    05/26/2021, 10:55 AM
    yes this has been in discussion. We usually use an artisan command to compute new crops, but it would be great if it would automatically do it
  • d

    Dmi3yy

    05/26/2021, 11:15 AM
    artisan command to compute new crops ? not see in artisan, or its custom ?
  • i

    ifox

    05/26/2021, 11:16 AM
    yeah it's not in twill, custom
  • i

    ifox

    05/26/2021, 11:16 AM
    that would be something great to add, i will prioritize it
  • p

    pablobarrios

    05/26/2021, 12:12 PM
    Hey @User , I've build this command for updating the crops and ratios. https://gist.github.com/sauron/bc713a18779207e5386ad7e83c292a3a Please take a look and let me know if you think I can improve it to make a PR.
  • d

    Dmi3yy

    05/26/2021, 12:34 PM
    thanks will test in next few days, need finish current site before
  • o

    ozgurkaragoz

    05/26/2021, 7:33 PM
    Hi, i want use "blade-ui-kit/blade-icons" and "twill" packages together. But when i run "composer require blade-ui-kit/blade-icons" command this error occurs:
    Copy code
    In Container.php line 1067:
                                                                                   
      Unresolvable dependency resolving [Parameter #1 [ <required> string $manife  
      stPath ]] in class BladeUI\Icons\IconsManifest
    No error occurs when I installed "twill" or "blade-ui-kit/blade-icons" alone. Can you help me?
  • i

    ifox

    05/26/2021, 7:58 PM
    @ozgurkaragoz interesting, thanks for reporting, could you please create a GitHub issue for this?
  • o

    ozgurkaragoz

    05/26/2021, 8:01 PM
    Ok i will create 👍
1...161718...484Latest