03.12.2015 Views

laravel4cookbook

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

File-Based CMS 339<br />

27 Pages<br />

28 <br />

29 <br />

30 <br />

31 <br />

32 <br />

33 <br />

.<br />

This file should be saved as app/views/admin/include/navigation.blade.php.<br />

1 <br />

2 <br />

3 <br />

4 List Pages<br />

5 <br />

6 <br />

7 <br />

8 <br />

9 Add New Page<br />

10 <br />

11 <br />

12 <br />

.<br />

This file should be saved as app/views/admin/include/page/navigation.blade.php.<br />

1 @extends("admin/layout")<br />

2 @section("navigation/page/class")<br />

3 active<br />

4 @stop<br />

5 @section("content")<br />

6 @include("admin/include/page/navigation")<br />

7 @if (count($pages))<br />

8 <br />

9 <br />

10

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!