Saturday, March 4, 2017

How give the user option to add new page in laravel?

How can i give user the option to create the new page option from existing template?I dont have the idea that i should create what sort of table in database and files in root folder.I have one basic template file main.blade.php but cannot figure out what to do next.Please help me..I'm new in programming.

Following is my main.blade.php file from which user should be able to create many pages they want.

<!DOCTYPE html>
<html lang="en">
  <head>
    @include('partials._head')
    @yield('stylesheet')
  </head>

  <body>
    @include('partials.nav')

        <div class="container">
            @include('partials._messages')
            @yield('content')

        </div><!--end container-->

    @include('partials.footer')

          <!-- Latest compiled and minified JavaScript -->
    @include('partials.javascript')
    @yield('script')
  </body>

</html>



via sudeep acharya

Advertisement