Bagisto Forum

    Bagisto

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

    How to override view file in bagisto?

    Knowledge Base
    2
    4
    3002
    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.
    • R
      rahul last edited by

      Hi,

      To override layout, you can create your own view in laravel's default view folder.
      Check laravel's default view folder (resources -> views), you will find a folder name as vendor, In this vendor folder create your own view but make sure that it consist the same directory structure as package have.

      Example - like I have to override master file (Admin Package), First i will create admin folder, then will create layouts folder & inside this folder, create file name 'master.blade.php' & write own code here.

      Thanks

      1 Reply Last reply Reply Quote 3
      • A
        aroobaarooj499 last edited by

        Is there any need to define the path of those views or not, like we define assets and views path in custom theme?

        1 Reply Last reply Reply Quote 0
        • R
          rahul last edited by rahul

          Hi @aroobaarooj499

          You don't need to define any paths for this views as it all are override view which path has been already defined.

          Thanks

          1 Reply Last reply Reply Quote 0
          • A
            aroobaarooj499 last edited by

            Oka.. Thanks @

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