Changes between Version 1 and Version 2 of QuickStart/6:AddingaSiteWideTemplate
- Timestamp:
- 05/28/09 23:26:23 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
QuickStart/6:AddingaSiteWideTemplate
v1 v2 9 9 The include, though, is special. Open it up. (/translator/views/dspTemplate.cfm). 10 10 11 See Line !# 13? "viewcollection.getView('body')"? What's with that?11 See Line !#38? "viewcollection.getView('body')"? What's with that? 12 12 13 13 Model-Glue makes it easy to display the rendered HTML from one view inside of another. In all of your .CFM view templates, a variable named "viewcollection" is available. To display the rendered HTML from a prior view, simply run getView(), passing it the value of the desired view's NAME attribute.
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)