• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

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

How to override view file in bagisto?

Knowledge Base
2
4
3.0k
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 29 Jul 2019, 14:36

    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
    • 2 months later
    • A
      aroobaarooj499 last edited by 30 Sept 2019, 06:24

      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 30 Sept 2019, 06:35 30 Sept 2019, 06:32

        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 30 Sept 2019, 06:35

          Oka.. Thanks @

          1 Reply Last reply Reply Quote 0
          1 out of 4
          • First post
            1/4
            Last post