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

    Sami

    09/10/2021, 8:05 AM
    No, nothing
  • s

    Sami

    09/10/2021, 8:08 AM
    Weird is, I can do edit on one of two modules, but can't create (nothing happens) and in the second module can't even edit
  • o

    ohkannaduh

    09/10/2021, 8:08 AM
    Have you checked server logs for anything?
  • s

    Sami

    09/10/2021, 8:26 AM
    nothing on my wamp - apache\_error.log nor php\_error.log
  • s

    Sami

    09/10/2021, 8:54 AM
    So I reinstalled the project and now it works correctly
  • s

    Sami

    09/10/2021, 8:54 AM
    dunno, I cleared all caches I could
  • s

    Sami

    09/10/2021, 8:54 AM
    Copy code
    php artisan config:clear
    php artisan cache:clear
    php artisan view:clear
    php artisan route:clear
    composer dump-autoload
  • i

    ifox

    09/10/2021, 8:54 AM
    reinstalled as in?
  • i

    ifox

    09/10/2021, 8:54 AM
    new clone?
  • s

    Sami

    09/10/2021, 8:55 AM
    Deleted project and cloned latest commit, then composer install, npm install, twill:install
  • s

    Sami

    09/10/2021, 8:55 AM
    lates commit = same version as I deleted
  • i

    ifox

    09/10/2021, 8:55 AM
    rigth, ok, well, not sure what was up exactly then, but glad you're back to a working state
  • s

    Sami

    09/10/2021, 8:56 AM
    I dunno also, thanks anyways!
  • r

    Rayderxx

    09/10/2021, 9:40 AM
    is it possible to known when a modal is in "edit" mode in the form.blade.php ?
  • i

    ifox

    09/10/2021, 9:41 AM
    yes, if
    $item
    is defined, that means you're editing, not creating
  • r

    Rayderxx

    09/10/2021, 9:43 AM
    ah yes ... 😄
  • r

    Rayderxx

    09/10/2021, 9:43 AM
    thx
  • c

    Chronos

    09/10/2021, 11:09 AM
    I’m new to this Twill is not sending welcome email but can send reset password
  • i

    ifox

    09/10/2021, 11:37 AM
    hey @Chronos the welcome email only gets send when the user is published for the first time
  • h

    Hữu Hiếu

    09/10/2021, 11:40 AM
    sr my eng is bad
  • h

    Hữu Hiếu

    09/10/2021, 11:40 AM
    I have problem when using forslug() function, it returns null
  • i

    ifox

    09/10/2021, 11:41 AM
    @Hữu Hiếu no worries! Assuming you're using translations, is the language active and the record published?
  • h

    Hữu Hiếu

    09/10/2021, 11:43 AM
    no, i don't use translation
  • i

    ifox

    09/10/2021, 11:44 AM
    ok, is the record published?
  • h

    Hữu Hiếu

    09/10/2021, 11:44 AM
    yes
  • i

    ifox

    09/10/2021, 11:45 AM
    is the slug you pass to forSlug marked as active in the database ?
  • i

    ifox

    09/10/2021, 11:46 AM
    are you using publication dates fields?
  • i

    ifox

    09/10/2021, 11:47 AM
    forSlug is calling the published as well as the
    visible
    scopes
  • h

    Hữu Hiếu

    09/10/2021, 11:47 AM
    i add more in locale in transalable.php
  • h

    Hữu Hiếu

    09/10/2021, 11:48 AM
    my record in database
1...899091...484Latest