Book Image

FuelPHP Application Development Blueprints

By : Sebastien Drouyer
Book Image

FuelPHP Application Development Blueprints

By: Sebastien Drouyer

Overview of this book

Table of Contents (13 chapters)
FuelPHP Application Development Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The administration panel


Once the migrations have been executed, request the following URL:

http://myblog.app/admin

During the migration, the Auth package created a default user with the following credentials:

  • Username: admin

  • Password: admin

If you log in using these credentials, the administration panel welcome page will be displayed, as shown in the following screenshot:

It is very similar to the default welcome page; the major difference is the upper navigation bar. As you can see in the APPPATH/views/admin/template.php generated file, the navigation bar automatically detects controllers in the APPPATH/classes/controller/admin folder and create links toward their index action. Since the Controller_Admin_Post controller has been generated, there is a link toward the posts list. If you click on it, you should see a CRUD scaffold pretty similar to the one generated by scaffold/orm: