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

    dedli

    06/23/2022, 5:54 PM
    @ifox I know there are a lot of questions from me ( But maybe you could help, please
  • i

    ifox

    06/23/2022, 5:55 PM
    why are you using
    APP_PORT
    ?
  • i

    ifox

    06/23/2022, 5:55 PM
    sail?
  • d

    dedli

    06/23/2022, 6:01 PM
    yes
  • j

    JeanSilva

    06/23/2022, 6:21 PM
    I've checked, and yes, now that I activated the extension, it works. Thanks very much 👍
  • i

    ifox

    06/23/2022, 7:49 PM
    storage_path('app/public')
  • d

    dedli

    06/23/2022, 10:21 PM
    Thanks a lot! Try it but does not working for me. It save it in the right place but when it try to get it for preview, get 404 error. I add port directly to APP_URL and now everything working. I don't remember why I use APP_PORT but now without it everything is workin. Sorry for waist your time, and thanks a lot again for your patience 🙏
  • s

    Sami

    06/24/2022, 6:25 PM
    Hey, any chance somebody has experience with Vue (client) + Nuxt.js / Laravel (api) / NginX stack? I'm trying to deploy our first app using this combination but I just can't get the Nginx virtualhosts right to be able to get to the Twill admin, call api and visit frontend application. I'll gladly move the message to correct channel as it's not directly related to Twill
    i
    r
    • 3
    • 15
  • i

    ifox

    06/24/2022, 7:08 PM
    NGINX config
  • c

    ckmirafss

    06/26/2022, 7:38 AM
    Hello, I'm getting error
    Undefined variable $_primary_active_navigation
    . I want to add menu
    partnerBrand
    under
    service
    .
  • i

    ifox

    06/26/2022, 7:51 AM
    Hi @ckmirafss check the name of the route that is generated for your singleton, the one you're using is incorrect
  • c

    ckmirafss

    06/26/2022, 9:01 AM
    Hi @ifox , please see the attached images.
  • c

    ckmirafss

    06/26/2022, 9:04 AM
    I'm trying to achieve this.
  • i

    ifox

    06/26/2022, 12:38 PM
    in your first screenshot the route is supposed to be prefixed by "service". Are you sure your route cache is cleared? If not, this might be a bug with the singleton routing.
  • a

    amargoCactus

    06/26/2022, 7:11 PM
    hello, i get an error when uploading a svg to media library
  • c

    ckmirafss

    06/27/2022, 2:16 AM
    Hey @amargoCactus , try this on twill.php
  • c

    ckmirafss

    06/27/2022, 2:19 AM
    Hey @ifox, I followed the docs, still getting the an error.
  • h

    Harings Rob

    06/27/2022, 6:05 AM
    hmm that seems correct..
  • h

    Harings Rob

    06/27/2022, 6:05 AM
    I will check this really quick. @ckmirafss you are on twill 2.x right?
  • c

    ckmirafss

    06/27/2022, 6:05 AM
    Hey @Harings Rob , yup. I'm using 2.8.5
    h
    • 2
    • 5
  • h

    Harings Rob

    06/27/2022, 6:41 AM
    Hey Dufji8493 yup I m using 2 8 5
  • d

    dedli

    06/27/2022, 8:02 AM
    Hi ) How links should works in WYSIWYG? I press link button in toolbar but it does nothing https://monosnap.com/file/cpqGbPByARMjIdv0RvcbgpZJAf2jRh
  • i

    ifox

    06/27/2022, 8:05 AM
    It should show a tooltip next to the text you selected before clicking the toolbar icon
  • d

    dedli

    06/27/2022, 8:08 AM
    Thanks )
  • a

    amargoCactus

    06/27/2022, 1:21 PM
    Still doesn't work
  • i

    ifox

    06/27/2022, 1:40 PM
    your problem doesn't seem to have to do with SVG at all
  • i

    ifox

    06/27/2022, 1:41 PM
    there's a timeout happening
  • u

    23r01nf1n17y

    06/27/2022, 6:08 PM
    Is there a way to get the block type of the previous block? My "frontend site" renders the blocks as
    {!! $page->renderBlocks(false) !!}
    . Use case: Let's say an 'image', a 'text', a 'gallery' block are rendered. In case the block before my 'text' block is an 'image' block I want to make the headline red instead of blue. Is there a way from a
    views/site/block/my-block.blade.php
    to figure out which block got rendered before? Thanks
  • i

    ifox

    06/27/2022, 6:10 PM
    great question! one way would be to pass the renderBlocks method some data. you could send the blocks in a way that lets you check the previous one by looking at the index of the one you're on, for example
    u
    • 2
    • 12
  • u

    23r01nf1n17y

    06/27/2022, 6:29 PM
    great question one way would be to pass
1...350351352...484Latest