Book Image

Yii Project Blueprints

By : Charles R. Portwood ll
Book Image

Yii Project Blueprints

By: Charles R. Portwood ll

Overview of this book

Table of Contents (15 chapters)
Yii Project Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Searching for events and displaying them


Before we get too involved with our controllers, let's take a look at what our frontend will look like to search for and display events as it will help to explain the model changes to the Events model and will help us identify what we still need to implement. Have a look at the following screenshot:

Our frontend view is broken down into several different components. First, we have a button in the top-right corner that should link to a simple CRUD form to create and update events. We also have a month and year picker that shows the current selected year and allows us to advance forwards or backwards in time by one month or one year increments. Directly below that, we have a date picker that shows the currently selected date (or the current date if none is selected) with fifteen days on each side of it.

On the left-hand side, we have the currently selected date displayed in text, followed by a sorter for both time and title of the events displayed below...