Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    How to Add Custom Link to Admin User Dropdown in Bagisto from a Package?

    General Discussion
    1
    1
    16
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      arunchahar last edited by

      Hi Team,
      I'm creating a custom package for 2FA (Two-Factor Authentication) in Bagisto and want to add a new link to the dropdown menu that appears when clicking on the admin user avatar in the top right corner (the one that shows "My Account" and "Logout").

      Specifically, I want to add a link to my custom 2FA settings page, like:
      <a href="{{ route('admin.2fa.settings') }}">Two Factor Authentication</a>

      I'm not sure how to override or extend this dropdown from my package. Could someone guide me:

      Which Blade view file is responsible for rendering that user profile dropdown?

      How can I extend or modify it from my package without modifying core files?

      What would be the correct path or structure for placing this override in my package?

      Any help or examples would be greatly appreciated!

      Thanks!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post