Appendix B: Solutions to Exercises

Appendix B provides example solutions to the exercises found throughout the book.

Updates/Errata

The example code for the solution to chapter 7, exercise 3, is missing the underscores in the custom field names. I.e. {toastcalendartime} should be {toastcalendar_time} and {toastcalendarlocation} should be {toastcalendar_location}

File Downloads

Template Downloads

Chapter 3, Exercise 2: changes/index

Chapter 3, Exercise 3a: toast/toast_css*

* Template type must be defined as CSS Stylesheet

Chapter 3, Exercise 3b: toast/toast_css*

* Template type must be defined as CSS Stylesheet

Chapter 4, Exercise 2 alternative A: toast/.menu

Chapter 4, Exercise 2 alternative B: toast/.menu

Chapter 4, Exercises 3 and 4: toast/toast_css*

* Template type must be defined as CSS Stylesheet

Chapter 5, Exercises 2 and 3: news/index

Chapter 6, Exercises 3, 4 and 5: toast/.menu

Chapter 7, Exercises 1 and 3: toast/calendar

Chapter 7, Exercise 3: toast/calendar_css

* Template type must be defined as CSS Stylesheet

Chapter 8, Exercise 1: toastgallery/index

Chapter 8, Exercise 2: toastgallery/browse