Bagisto Forum

    Bagisto

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

    Custom pages not working

    General Discussion
    2
    2
    231
    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.
    • P
      PyramidHead last edited by

      Hi,

      I'm using this method: http://forums.bagisto.com:8080/topic/37/how-to-create-custom-pages

      But when I create route I've got error:

      InvalidArgumentException
      View [resources\views\themes\default\views\products-listing] not found.
      

      And

      "View [resources\views\themes\demo\views\products-listing] not found."
      

      My web.php

      Route::view('products-listing', 'resources\views\themes\default\views\products-listing');
      

      In products-listing folder I have a one file: products-listing.blade.php

      What I'm doing wrong here?

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

        Hello @PyramidHead

        According to your web.php file, your views should be residing in the given path - resources\views\themes\default\views\products-listing

        Make sure, your view exist there and then after run following command -

        php artisan route:cache
        

        and check again.

        Thanks
        Rahul Shukla

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