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

    Kirk Bushell

    07/14/2021, 2:33 PM
    not sure why ti wasn't an issue previously, however
  • p

    pboivin

    07/14/2021, 2:34 PM
    Depends on what has changed in the assets between Twill releases. You might have been fine on old assets until now.
  • k

    Kirk Bushell

    07/14/2021, 2:34 PM
    ahh ok
  • k

    Kirk Bushell

    07/14/2021, 2:34 PM
    ty @User and @User 🙂
  • i

    ifox

    07/14/2021, 2:36 PM
    If you don't have any custom Vue code to build, update should suffice. The issue might be that the distributed build in the Twill's version you're using is not up to date.
  • o

    oxocero

    07/14/2021, 10:30 PM
    Silly question that will probably show how new I am to this but how can I make the admin page accessible on my local network? I can view the Laravel splash page (it's a fresh installation) when accessing the IP but the admin page is only accessible on localhost. I'm using a Raspberry Pi 4 using Laravel Sail (Docker container) if that helps.
  • p

    pboivin

    07/14/2021, 10:44 PM
    Hey @User, I've never used a setup like this but out of curiosity, what's in your .env for APP_URL, ADMIN_APP_URL, ADMIN_APP_PATH?
  • i

    ifox

    07/14/2021, 11:38 PM
    hey @oxocero no question is silly! Let's see what you have from @pboivin's question. with a setup where you access your webserver through IP you'll need to use the subdirectory approach, so putting your IP in both APP_URL and ADMIN_APP_URL, and whatever you want in ADMIN_APP_PATH, eg. admin. the admin should then be accessible at http://x.x.x.x/admin
  • l

    Luís Novais

    07/14/2021, 11:41 PM
    Hi guys, you have some tutorial for I publish twill cms in Cpanel shared hosted server ?
  • i

    ifox

    07/14/2021, 11:43 PM
    https://medium.com/backenders-club/how-to-host-a-laravel-project-on-a-shared-hosting-via-cpanel-d955d32c528e
  • i

    ifox

    07/14/2021, 11:44 PM
    https://codeconia.com/2020/11/17/host-laravel-8-project-on-cpanel-easiest-way/
  • i

    ifox

    07/14/2021, 11:45 PM
    I'm not endorsing anything in those articles as I haven't tried to do that but they seem very helpful.
  • i

    ifox

    07/14/2021, 11:46 PM
    i don't think Twill brings any additional challenge a standard Laravel app would with shared hosting
  • l

    Luís Novais

    07/14/2021, 11:56 PM
    Thanks for you help
  • e

    elkex

    07/15/2021, 10:13 AM
    Hi everyone, all of sudden my Twill CMS does not show form fields in repeater blocks anymore.. The CMS still works, but it does not seem to find the field anymore, however nothing should have changed about that. The fields are just empty.
  • i

    ifox

    07/15/2021, 10:21 AM
    Hi @elkex, you should try running
    php artisan twill:update
    to make sure you have the latest distributed frontend build.
  • e

    elkex

    07/15/2021, 10:22 AM
    Perfecto mundo! Thanks 🙂
  • c

    chrisdarling

    07/15/2021, 11:03 AM
    Is there a way to use Twill's media manager on my own frontend? I have a user section where I want them to be able to select from the images repository
  • p

    pboivin

    07/15/2021, 12:51 PM
    Hey @User, it should be possible in theory but I don't see a straightforward path to doing it... Out of curiosity, what exactly would you like to have on your frontend? A
    medias
    form field that toggles the full Media Library modal, with searching, filtering, etc?
  • c

    chrisdarling

    07/15/2021, 2:27 PM
    @User that's correct - so through Twill admin I can manage all of those assets, but on the frontend (a web app) I want the user to be able to visually select one of these assets to attach to a model.
  • i

    ifox

    07/15/2021, 2:30 PM
    @chrisdarling are you looking for that selection UI to be the same as inside the CMS, or are you building a custom UI to browse and attach assets? If the latter, you can easily query the Media model from Twill and render images using the ImageService facade. If the former, you might be able to hack that into your frontend by pulling from Twill's sources or by injecting the build, but that doesn't sound very simple nor clean.
  • c

    chrisdarling

    07/15/2021, 2:30 PM
    I'd be more than happy with the Twill UI, it's great!
  • i

    ifox

    07/15/2021, 2:30 PM
    haha I hear you
  • i

    ifox

    07/15/2021, 2:32 PM
    so we have something in the roadmap about creating Twill UI, a library of components that would be able to be used outside of Twill in your own apps, but at the moment the code is quite coupled with the whole CMS backend. But i feel like it's probably still possible. If you're willing to experiment a little bit.
  • c

    chrisdarling

    07/15/2021, 2:33 PM
    Sounds great. For the moment I'll probably wimp out and build a shoddy UI that gets the job done and upgrade it when that release is ready
  • i

    ifox

    07/15/2021, 2:34 PM
    i would try to link Twill's build in your frontend and see how adding Vue/blade components to your views react
  • i

    ifox

    07/15/2021, 2:34 PM
    react pun not intended
  • c

    chrisdarling

    07/15/2021, 2:35 PM
    @User I'll give it a go!
  • c

    chrisdarling

    07/15/2021, 2:36 PM
    Thanks for the super quick & helpful replies, as always!
  • l

    Luís Novais

    07/15/2021, 9:09 PM
    Hi guys, when try to save checbox with true value give me this error https://flareapp.io/share/NPL3K0Km you can help me ?
1...636465...484Latest