Changes between Version 4 and Version 5 of QuickStart/6:AddingaSiteWideTemplate

Show
Ignore:
Timestamp:
12/14/09 20:28:47 (16 years ago)
Author:
rchadgray@… (IP: 12.168.78.130)
Comment:

also looks like view.template changed to template.main in the ModelGlue?.xml file

Legend:

Unmodified
Added
Removed
Modified
  • QuickStart/6:AddingaSiteWideTemplate

    v4 v5  
    55However, what if we always want to run an additional event handler? Easy: don't give it a NAME attribute. 
    66 
    7 If you look at your !ModelGlue.xml file, there's an event handler named "view.template." It doesn't do much: no messages, no results, just a single <include>. 
     7If you look at your !ModelGlue.xml file, there's an event handler named "template.main." It doesn't do much: no messages, no results, just a single <include>. 
    88 
    99The include, though, is special. Open it up. (/translator/views/main.cfm).