https://twill.io logo
Join Discord
Powered by
# ❓questions
  • Nested slug rendering issue
    e

    Erwin

    04/06/2023, 10:40 AM
    Hey when im trying to get the nestedslugs it gives me some strange format, this is my page structure, i expect to get: /professional/workshops/deepnest-2/superdeepnest but instead i get "deepnest-2/workshops/professional/superdeepnest" Is this a known problem?

    https://cdn.discordapp.com/attachments/811986149064441927/1093485430512562287/Schermafbeelding_2023-04-06_om_12.38.45.png▾

    i
    j
    • 3
    • 3
  • Erwin - This is only an issue when going 2 deep
    e

    Erwin

    04/06/2023, 10:41 AM
    This is only an issue when going 2 deep
  • kalle - Any idea how to get picture by role, cr...
    k

    kalle

    04/07/2023, 1:01 PM
    Any idea how to get picture by role, crop and locale? On
    translated_form_fields
    enabled.
    • 1
    • 2
  • Constant Variable - Hello, in a browser how can...
    c

    Constant Variable

    04/10/2023, 8:32 AM
    Hello, in a browser how can I change the colums in the display table ? I defined the
    browserColumns
    in the Controller that work well for the modal but not on the diplayed resutls.

    https://cdn.discordapp.com/attachments/811986149064441927/1094902591252615209/Screenshot_2023-04-10_at_10.31.14.jpg▾

    https://cdn.discordapp.com/attachments/811986149064441927/1094902591495880724/Screenshot_2023-04-10_at_10.31.08.jpg▾

    i
    • 2
    • 2
  • radum - #? how can i activate the reorder of th...
    r

    radum

    04/11/2023, 12:50 PM
    #? how can i activate the reorder of the articles that will be reflected also in the frontpage? i don't want to use the published_at column
    i
    • 2
    • 1
  • Ivo - Hello, I have two questions! Currently, I...
    i

    Ivo

    04/11/2023, 7:38 PM
    Hello, I have two questions! Currently, I am using Imgix as an image driver and I am storing the photos on Amazon S3. However, I don't quite understand why it's not cropping/resizing the images as I indicated in the model. This worked with local storage. I am also wondering if it's possible to store the images via Amazon S3 but do the resizing etc. through the local driver instead of using Imgix. Is that possible?
    p
    • 2
    • 1
  • Twill 3 fieldsets
    l

    Lucius Vorenus

    04/11/2023, 8:59 PM
    Quick question, when anybody has time...: Created an (extra) side field set on the model form, which has a (default, I'd imagine) 'Options' title. How to I change that to eg 'Opengraph'. Tried a few things, and struggled to find any reference to it. Must be easy to do? PS, don't want to create another fieldset inside that one, which is documented. Thanks in advance
    e
    i
    • 3
    • 10
  • Frontend permalink on Twill form
    n

    Nechalon

    04/12/2023, 11:51 AM
    Hi, does twill have a solution to redirect to the item (blog or blog post or whatever may be) on the front page from the admin panel?
    i
    • 2
    • 29
  • Twill 3 jetstream conflict
    d

    dakaalim

    04/13/2023, 3:57 AM
    Bug: After installing Twill 3.0, it breaks Laravel Jetstream https://flareapp.io/share/v5panqAm#F82
    i
    • 2
    • 3
  • Using Twill with existing Eloquent models
    m

    MiRoDev

    04/13/2023, 10:10 AM
    So I might misunderstand how this works but I just installed Twill yesterday so I'm still figuring things out. I already have models views and controllers for a content type in this case "Games" from before I installed Twill. Do I have to create separate Models and controllers for if I want to use Twill CMS for this content type or do I need to refactor/integrate twill in the existing ones? I tried googling this but so far no concrete answer
    i
    • 2
    • 1
  • Publish toggle missing
    c

    Constant Variable

    04/13/2023, 4:06 PM
    Hello, congrats for the TWill 3 release ! Does someone have any idea why my status swith disapear on this module ? It's a non tranlsated module, the others all have a translation table and the Status bar is present. Tx for ur help

    https://cdn.discordapp.com/attachments/811986149064441927/1096104072450416721/Screenshot_2023-04-13_at_18.01.04.jpg▾

    i
    • 2
    • 2
  • Crop configuration for medias field in blocks
    d

    dakaalim

    04/14/2023, 12:16 AM
    when rendering an image
    $block->image('cover', 'flexible')
    , assuming I have the configurations below, how do I render a different crop variant of the same role
    cover.flexible.free
    cover.flexible.landscape
    cover.flexible.portrait
    ?
    Copy code
    'cover' => [
                    'default' => [
                        [
                            'name' => 'default',
                            'ratio' => 16 / 9,
                        ],
                    ],
                    'mobile' => [
                        [
                            'name' => 'mobile',
                            'ratio' => 1,
                        ],
                    ],
                    'flexible' => [
                        [
                            'name' => 'free',
                            'ratio' => 0,
                        ],
                        [
                            'name' => 'landscape',
                            'ratio' => 16 / 9,
                        ],
                        [
                            'name' => 'portrait',
                            'ratio' => 3 / 5,
                        ],
                    ],
                ],
    i
    • 2
    • 3
  • Jens - Hi, I'm trying Twill for the first time ...
    j

    Jens

    04/14/2023, 1:22 PM
    Hi, I'm trying Twill for the first time and creating a basic block that has an image will not work for me. After saving and reloading the asset is no longer connected. I was trying to follow the "Building a simple page builder with Laravel Blade" guide but are stuck on Fix the preview-step as I'm not able to render images.

    https://cdn.discordapp.com/attachments/811986149064441927/1096425299077501019/Screen_Recording_2023-04-14_at_15.19.44.mov▾

    i
    • 2
    • 10
  • Twill 3 publication dates
    j

    jefsev

    04/14/2023, 2:01 PM
    Hi using twill 3. I added publish start and end date in my migration and model. But in my edit form sidebar nothing is showing up like in twill 2?
    i
    l
    • 3
    • 55
  • Headless integration guides
    a

    amargoCactus

    04/15/2023, 3:13 PM
    hello, guys do you have a guide for using twill with a framework like next.js, nuxt, etc?
    i
    • 2
    • 1
  • Files field not saving
    t

    Tobi Wan

    04/15/2023, 3:34 PM
    Hi, using Twill3 I added a files form field as directive by following the steps here: https://twillcms.com/docs/form-fields/files.html
    Copy code
    @formField('files', [
       'name' => 'pdf_file',
       'label' => 'File',
       'itemLabel' => 'PDF File'
    ])
    I added the
    HasFiles
    and
    HandleFiles
    traits to the model and repo. The form shows up and I am able to upload the file but it won't "stick" when I press save. Any tips what else I should do?
    i
    • 2
    • 4
  • EpicKau - Is it intended that nested component ...
    e

    EpicKau

    04/15/2023, 7:38 PM
    Is it intended that nested component blocks need a second preview/render file located under /views/site/blocks/ ?

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

    i
    k
    h
    • 4
    • 22
  • millpreet - these guides a part of the github? ...
    m

    millpreet

    04/17/2023, 7:59 PM
    these guides a part of the github? anyone can potentially contribute?

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

    i
    • 2
    • 1
  • millpreet - Another quick question, when people...
    m

    millpreet

    04/17/2023, 9:35 PM
    Another quick question, when people work on open source projects during work hours for purposes of their Job, but are also personally involved/gonna continue to work at other places or on their own. Do you use a personal GitHub account, or a company based one. It's a small place, so I have freedom to choose which.
    i
    • 2
    • 5
  • jefsev - Quick question, $pressRelease = Pres...
    i

    ifox

    04/18/2023, 9:05 AM
    forSlug
    scope
    j
    • 2
    • 1
  • Nechalon - Is there a way to completely not sho...
    n

    Nechalon

    04/18/2023, 12:41 PM
    Is there a way to completely not show a
    @section
    or
    <a17-fieldset>
    if none of the values inside of it are filled?
    i
    • 2
    • 4
  • Lucius Vorenus - Getting article (module) publi...
    l

    Lucius Vorenus

    04/18/2023, 12:51 PM
    Getting article (module) publish_start_date into block view. Pointer, anybody? Been poring over this for a while. Can't seem to identify a route to do this.
    i
    • 2
    • 5
  • jefsev - Yesterday i started a project with lar...
    j

    jefsev

    04/18/2023, 2:27 PM
    Yesterday i started a project with laravel 10 and twill 3. Today i needed to start another one but composer require now results in errors:

    https://cdn.discordapp.com/attachments/811986149064441927/1097891040217796638/Screenshot_2023-04-18_162610.png▾

    i
    • 2
    • 5
  • Lucius Vorenus - Any quick way of 1. Displayin...
    l

    Lucius Vorenus

    04/19/2023, 10:37 AM
    Any quick way of 1. Displaying a medias field in a (component) block form with the 'Edit Info' (ie Alt Text & Caption fields) opened by default? 2. Alter title and adding notes to those? Don't see anything in Medias.php or BaseFormFiald.php that would seem to faciliatate this. Purpose for this is to give additional guidance to user.
    i
    • 2
    • 7
  • Nechalon - Is there a way to get the current sl...
    n

    Nechalon

    04/19/2023, 11:00 AM
    Is there a way to get the current slug in the controller? $this->slug doesnt work
    i
    • 2
    • 37
  • thomasv - Hi all, i'm just now checking out Twi...
    t

    thomasv

    04/19/2023, 5:36 PM
    Hi all, i'm just now checking out Twill (awesome work btw, really impressed by the DX so far). One thing i couldnt find in the docs ( i understand v3.x just landed so docs might still reference v2.x in some places). Is it possible to change the "Content" block title of an AppSettings Group? i created an appsetting group called SEO, then created a blade file
    seo/facebook.blade.php
    and set the blocktitle to
    facebook
    . yet the structure is like this page > block with content as title > facebook title > facebook section. is there a way to create content blocks with their respective title per blade file? It might be super obvious but the docs are vague about the app settings (which again, i understand since v3.x is super new and shiny ✨)
    i
    • 2
    • 2
  • Nechalon - Hello, I have added a new module (co...
    n

    Nechalon

    04/21/2023, 11:08 AM
    Hello, I have added a new module (courseCategories) next to an existing module (courses), and now the routes are messed up for that existing module. I updated the twill-configuration and the links show correctly and redirect correctly. The problem happens when I try to edit an existing course on the courses page. (the page doesnt open)
    Copy code
    Route [admin.courses.mentors.browser] not defined. (View: /var/www/html/vendor/area17/twill/views/partials/form/_browser.blade.php)
    i
    • 2
    • 38
  • Lucius Vorenus - G'day, all! I'd appreciate a p...
    l

    Lucius Vorenus

    04/21/2023, 1:34 PM
    G'day, all! I'd appreciate a pointer on how I can display just one componentBlock (other use cases might be desirable to have a more than one) from a model (article) in listings (ie index page). (I have no issue displaying the whole thing.) TIA! As well, I was trying to figure out how the mapping works on the renderBlocks, as it may have been the answer. Is the block-type fully qualified or just relative to your model base directory, and, for componentBlocks, are you referring to the block file in the View/Components/Twill/Blocks/Article dir? (i have my class files for article in there)
    i
    • 2
    • 14
  • elkex - Is there a way to make Laravel 8 work w...
    e

    elkex

    04/24/2023, 11:41 AM
    Is there a way to make Laravel 8 work with Twill 2?
    i
    • 2
    • 6
  • Nechalon - Hello, is there any way to customize...
    n

    Nechalon

    04/25/2023, 11:00 AM
    Hello, is there any way to customize the permalink in terms of design? Like, color, background.
    i
    • 2
    • 11
1...480481482483484Latest