Changes between Version 2 and Version 3 of Training/Section02
- Timestamp:
- 12/29/09 21:48:18 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Training/Section02
v2 v3 134 134 }}} 135 135 136 Now when our Event Handler runs, Model-Glue will include the secondary content inside of the ViewCollection. Since we test for the existence of secondary in /PlantOMatic/views/layout/Master.Layout.cfm and adjust the HTML markup accordingly, the simple presence or the absence of secondary in theViewCollection will turn our layout from a single column to a two column layout seamlessly.136 Now when our Event Handler runs, Model-Glue will include the secondary content inside of the !ViewCollection. Since we test for the existence of secondary in /PlantOMatic/views/layout/Master.Layout.cfm and adjust the HTML markup accordingly, the simple presence or the absence of secondary in the !ViewCollection will turn our layout from a single column to a two column layout seamlessly. 137 137 138 138 == A Flexible Two Column Template == … … 162 162 }}} 163 163 164 2. Open /PlantOMatic/views/layout/Layout. MessageBox.cfm and replace the content:164 2. Open /PlantOMatic/views/layout/Layout.!MessageBox.cfm and replace the content: 165 165 166 166 {{{
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)