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

    ifox

    09/15/2022, 3:04 PM
    cool. Is LeadsServiceProvider in src ?
  • i

    ifox

    09/15/2022, 3:05 PM
    might be reading your screenshot wrong bit it looks like its inside the capsule
  • o

    onepiece

    09/15/2022, 3:07 PM
    LeadsServiceProvider is in src and inside Twill\Capsules\Leads
  • i

    ifox

    09/15/2022, 3:08 PM
    it shoudln't be inside Twill\Capsule\Leads unless your capsule needs a service provider. So if you don't have one at the root of src, Twill doesn't even know this is a Twill package
  • i

    ifox

    09/15/2022, 3:09 PM
    you say "and" but you don't have 2, right?
  • o

    onepiece

    09/15/2022, 3:09 PM
    no,i have only one
  • i

    ifox

    09/15/2022, 3:10 PM
    Of course it's in src if it's in src/Twill/Capsules/Leads, but it's not at the root of src
  • s

    sathish

    09/15/2022, 3:19 PM
    Hi
  • s

    sathish

    09/15/2022, 3:19 PM
    Twill navigation logout doesn't works
  • s

    sathish

    09/15/2022, 3:19 PM
    Can you please help any one?
  • s

    sathish

    09/15/2022, 3:19 PM
    area17/twill : version 2.8.8
  • i

    ifox

    09/15/2022, 3:20 PM
    Hi @sathish, what doesn't work? We're not aware of an issue with it.
  • s

    sathish

    09/15/2022, 3:21 PM
    When click the logout nav item, the no actions
  • i

    ifox

    09/15/2022, 3:21 PM
    do you see an error in the console?
  • s

    sathish

    09/15/2022, 3:21 PM
    Just added # in the my url instead of logout
  • s

    sathish

    09/15/2022, 3:22 PM
    No error
  • i

    ifox

    09/15/2022, 3:23 PM
    it's not a link that would go to /logout because that's insecure, so it's a post request. Do you see a post request in your console's network tab? Another question: did you override Twill views in your app?
  • s

    sathish

    09/15/2022, 3:24 PM
    No override the twill views
  • s

    sathish

    09/15/2022, 3:24 PM
    No post request in network tab of console when click the logout nav item
  • s

    sathish

    09/15/2022, 3:25 PM
    Yes, you're correct it's post request, but no action in the logout nav when click it
  • s

    sathish

    09/15/2022, 3:25 PM
    Do we need enable something?
  • k

    kalle

    09/15/2022, 3:27 PM
    Silly question, do you have JS enabled in the browser? That POST action is invoked via JS event on click
  • i

    ifox

    09/15/2022, 3:28 PM
    are your Twill assets up to date?
  • k

    kalle

    09/15/2022, 3:29 PM
    You can also manualy make a logout from console just for a test
    Copy code
    js
    const logoutForm = document.querySelector('[data-logout-form]')
    logoutForm.submit()
  • s

    sathish

    09/15/2022, 3:29 PM
    let me try
  • s

    sathish

    09/15/2022, 3:30 PM
    how we add the above one in the console?
  • s

    sathish

    09/15/2022, 3:32 PM
    are your Twill assets up to date? I used only twill v2.8.8. what we need to run to update the assets?
  • k

    kalle

    09/15/2022, 3:32 PM
    You can copy all of it and just CTRL + V To update assets
    php artisan twill:update
  • i

    ifox

    09/15/2022, 3:33 PM
    they should already be up to date though if you started on 2.8.8
  • s

    sathish

    09/15/2022, 3:33 PM
    ok
1...394395396...484Latest