https://twill.io logo
Join Discord
Powered by
# ❓questions
  • u1150432 - Hi everybody. Where i can find the m...
    u

    u1150432

    05/16/2023, 9:37 AM
    Hi everybody. Where i can find the mockdata examples to set it in my project? like in demo https://demo.twill.io/
    k
    • 2
    • 1
  • u1150432 - besides the vendors examples folder....
    u

    u1150432

    05/16/2023, 10:59 AM
    besides the vendors examples folder. i wanna mockdata like here https://demo.twill.io/. is it possible to install it?
    k
    • 2
    • 1
  • BlazinglyFast - Hi,Is it still not possible t...
    b

    BlazinglyFast

    05/16/2023, 11:37 AM
    Hi, Is it still not possible to create folders in the media library? Saw on github issues that it is not, but response was from 2018, maybe something changed. Thanks!
    i
    • 2
    • 7
  • Daniel C - hi guys! has anyone try to integrate...
    d

    Daniel C

    05/17/2023, 2:03 PM
    hi guys! has anyone try to integrate something like metronic dashboard, seem like a lot of headaches to do it
    i
    • 2
    • 9
  • Vouga - Hi everyone! To override a twill view, ...
    v

    Vouga

    05/17/2023, 2:30 PM
    Hi everyone! To override a twill view, I've create the path resources/views/vendor/twill/ and then the path of the file that I want to override. All works fine 🙂 I want to change something on a Vue component of Twill; How can I do it?
  • crp87 - Hey guys,i struggle with a few things....
    c

    crp87

    05/18/2023, 11:46 AM
    Hey guys, i struggle with a few things. I added an additional model and created 1:n relation (navigation has multiple items). I can not save because my structure doesn't allow it for an unknown reason. It's a package with capsules and the NavigationItem model is placed next to Navigation. It says NoCapsuleFoundException but I can't find a way to link the model explicitly. Also I want to be able to add nested items. The NavigationItem migrations and models are setup to support this functionality but the edit page of navigations seems to not allow drag&drop for nesting support. Only position changes are possible.

    https://cdn.discordapp.com/attachments/811986149064441927/1108722261734731847/Bildschirmfoto_2023-05-18_um_13.42.29.png▾

    p
    i
    • 3
    • 3
  • !lost - How would you implement a grid block in...
    u

    !lost

    05/18/2023, 3:15 PM
    How would you implement a grid block in which elements can be placed at any position of the grid? I saw nested layouts are a thing, probably that then. But if i desire to have that block span across two grid cells? (like css grids basically, col-span/row-span)?
    i
    p
    • 3
    • 11
  • Glitch - Hey 🙂 I’m a designer and quite new to...
    g

    Glitch

    05/18/2023, 5:16 PM
    Hey 🙂 I’m a designer and quite new to Laravel and Twill, so please excuse if I’m asking noob-ish questions. I’m building my portfolio with Twill 3 and I managed to get a Pages model running and so on – all good so far! Now I wanted to place a featured section on my homepage, that should be based on a separate Projects model. Initially I tried to do this within a block, but I couldn’t fetch Projects in a Pages block (tried to do it in the view, because I didn’t know any better). So I read more in the docs and found out about Buckets (https://twillcms.com/docs/buckets/index.html). I got that running, but how do I actually output bucket content in a view?
    i
    • 2
    • 3
  • aspiredev - #❓questions my twill app is working...
    a

    aspiredev

    05/19/2023, 10:36 AM
    #811986149064441927 my twill app is working perfectly on my system but i got this error when i publish to laravel forge

    https://cdn.discordapp.com/attachments/811986149064441927/1109066974547419196/Screenshot_2023-05-15_at_8.19.51_PM.png▾

    i
    • 2
    • 8
  • beardcoder - I Have a Problem with the datetime...
    b

    beardcoder

    05/19/2023, 6:33 PM
    I Have a Problem with the datetime picker 😦
    i
    • 2
    • 10
  • bsrafael - One of my configs should be availabl...
    b

    bsrafael

    05/20/2023, 5:32 PM
    One of my configs should be available in my app's navigation. How can I do this?
    i
    • 2
    • 9
  • u1150432 - @ifox Hello! Could i ask how i can d...
    u

    u1150432

    05/21/2023, 6:46 PM
    @ifox Hello! Could i ask how i can do submenu in AppServiceProvider ? if i want parent item be clickable too? Or not, just submenu
    i
    • 2
    • 5
  • helloworld - Hi, is there a way to remove the o...
    h

    helloworld

    05/22/2023, 4:34 AM
    Hi, is there a way to remove the other details on the image? I just want to retain the image name and Edit info.

    https://cdn.discordapp.com/attachments/811986149064441927/1110063120140996690/Screenshot_2023-05-22_at_12.33.26_PM.png▾

    i
    • 2
    • 2
  • Krompi - It ist possible to add custom metadata...
    k

    Krompi

    05/22/2023, 3:46 PM
    It is possible to add custom metadata to media. Am I right that this works only for media, but not for files? Is there a way to add additional metadata to files. It would be nice to use a custom name in a file list instead of the original filename https://twillcms.com/docs/media-library/custom-metadata.html
    i
    • 2
    • 1
  • lewiswharf - Using the content editor, it appea...
    l

    lewiswharf

    05/23/2023, 7:02 PM
    Using the content editor, it appears that every block in the preview area (to the right) must be 100% in width. Am I missing something that would allow me to show more than one block on the same line (in-line)? I realize I could create a specific block that allows this, but this fixed approach is less flexible and not ideal.
    i
    • 2
    • 7
  • savchuk.ivan - Good afternoon Did someone imple...
    s

    savchuk.ivan

    05/24/2023, 4:40 AM
    Good afternoon Did someone implement the following on the second version of the twill? Displayed the main actions on the user's page. Eg Create a draft Publication User editing .... An administrator, for example, in some account noted the creation of a draft, and that user can only create a draft but not publish it. And then he gave the command the rights to edit the user and he can only edit. We need a flexible system of rights. At least tell me in which direction to drip? Part of the data, as I understand it, can be implemented through getIndexOption But what about, for example, access to the user edit page?
  • Illune84 - Hello everyone, I'm very new to Twil...
    i

    Illune84

    05/24/2023, 12:54 PM
    Hello everyone, I'm very new to Twill and trying to build my first capsule. Let's say I want to manage News, with each News can have a category. With modules I managed to create 2 modules, News and NewsCategories, and linked the first with a browser field to the target category. How can I do this with capsules? Do I need to create 2 capsules or I can merge the logic within the same capsule? So far the News capsule works, but I can't create a secondary route to the NewsCategory controller. Any help is appreciated!
    i
    • 2
    • 2
  • Tobi Wan - Hi, I'm trying to access the authent...
    t

    Tobi Wan

    05/24/2023, 2:49 PM
    Hi, I'm trying to access the authenticated twill user in a controller in laravel.
    auth()->user()
    is giving me the authenticated user for my site (users table) but I'm trying to get the twill admin user (twill_users table). Any pointers how to do that?
    i
    • 2
    • 2
  • seeni333 - Hi, I am waiting for twill-api which...
    s

    seeni333

    05/24/2023, 3:16 PM
    Hi, I am waiting for twill-api which is support twill version 3, when will you release twill-api? And also in twill-api i go through develop branch it's seems like support twill 3 can i use it?
    i
    • 2
    • 3
  • bsrafael - I have a singleton (homepage) and I'...
    b

    bsrafael

    05/24/2023, 5:19 PM
    I have a singleton (homepage) and I'm trying to set up a child module (customers). I've followed the steps from the docs, but it just doesn't seem to be available anywhere in the admin 😄 is there any limitation regarding singleton and child modules?
    i
    • 2
    • 3
  • crp87 - When using TwillRoutes::getRouteGroupOp...
    c

    crp87

    05/25/2023, 6:20 AM
    When using TwillRoutes::getRouteGroupOptions() for grouping and TwillRoutes::getRouteMiddleware(), shouldn’t a user be redirected to twill login page when the session expired? For a custom CMS page, which extends A17\Twill\Http\Controllers\Admin\Controller this doesn’t happen. Instead I receive the error that calling can() on null is not possible from within main.blade.php on Media library authorized check. Did I miss something?
    • 1
    • 2
  • devtutorum - What is the way to add bullet poin...
    d

    devtutorum

    05/25/2023, 8:28 AM
    What is the way to add bullet points list in Twill Admin? I tried by source code but actually the dots are not rendered from html way.
    k
    i
    • 3
    • 15
  • Tobi Wan - Hi, I have a weird problem. I just m...
    t

    Tobi Wan

    05/25/2023, 10:50 PM
    Hi, I have a weird problem. I just moved my domain from .com to a .ch domain. Now when I login from xxx.ch/admin I get a login page but when I put in the correct credentials login I get. a loop. Any tip how to debug this?
    k
    • 2
    • 2
  • seeni333 - how can i customize default form pag...
    s

    seeni333

    05/26/2023, 11:03 AM
    how can i customize default form page and how to add extra html based options in select field?
  • Scottnj - Why is there both a "users" and also ...
    s

    Scottnj

    05/26/2023, 3:27 PM
    Why is there both a "users" and also a "twill_users" table? I know the twill_users is for the admin/cms section. The users table doesn't seem to be used at all?
    i
    • 2
    • 5
  • lewiswharf - Is it possible to create a User mo...
    l

    lewiswharf

    05/26/2023, 10:17 PM
    Is it possible to create a User module? I'd like to be able to manage frontend users in the admin but my module appears to be conflicting with Twill's users.
    i
    • 2
    • 3
  • seeni333 - I just installed new twill, and then...
    s

    seeni333

    05/27/2023, 5:50 AM
    I just installed new twill, and then i disabled user management in config, i got this error, how to solve this error
    Copy code
    Auth guard [twill_users] is not defined
    i
    • 2
    • 3
  • seeni333 - what is repository in twill?
    s

    seeni333

    05/27/2023, 6:32 AM
    what is repository in twill?
    i
    • 2
    • 2
  • seeni333 - When i create a new user, there is a...
    s

    seeni333

    05/27/2023, 6:36 AM
    When i create a new user, there is a language select field after role field, how to customize language options in that field? How to add extra roles in role select?
    i
    • 2
    • 2
  • bsrafael - I have some browsers made with form ...
    b

    bsrafael

    05/28/2023, 8:52 PM
    I have some browsers made with form builder. How can I change that "add one ___" text?

    https://cdn.discordapp.com/attachments/811986149064441927/1112483555323420742/image.png▾

    k
    i
    • 3
    • 4