|
This is a place holder template page.
Make a new page out of it using following steps:
- Make a copy of template.php and name it newpage.php
- In views folder, make a copy of .blade.php and name it newpage.blade.php
- Now open newly created newpage.php in your favorite editor (Notepad, Notepad++, or anything). Change text renderTemplate('template') to renderTemplate('newpage') at the bottom of the file.
- Edit newpage.blade.php as you want so that it has desired content.
- Upload newpage.php and views/newpage.blade.php on your server.
- Now you can view that page as {{ SCRIPT_ROOT }}newpage.php in your browser.
- Now add link to newpage.php in the header or footer blade files.
- That is it! You have added a new page.
|