Some of the tutorials and articles on this site are somewhat dated, but I've kept them here because they still have value for some Dreamweaver users.

Patty Ayers
Patty Ayers
My Blogs:
The Moment (My Mexico Blog)
Making Websites
My design/administrative support business:
Ayers Virtual

<-- TUTORIAL HOME | PAGE 3 | INTRODUCTION TO NESTED TEMPLATES

 

15. Now open 2nd_level_template; it should reflect the edit you made to 1st-level template, as in Figure 7.


FIGURE 7

16. Make an edit to the second row, in the gray area outside of the nested box. It might help if you type something to indicate that you're making an edit to the 2nd-level template. Save the template; you'll be prompted to update all files based on it, which should be only 2nd_level_instance.html. The files "above" the nested template in the hierarchy aren't updated by it.

Check 2nd_level_instance.html; it should reflect the latest edit and look something like Figure 8.


FIGURE 8
Conclusion

See how it works? A nested template functions much like an instance of its parent template, inheriting any changes made to the parent.

Remember, a nested template cannot make regions which were non-editable in its parent template editable; it can only close off further sections of the page to editability. Thus, once it has been given its own distinctive editable regions, a nested template will always have fewer editable regions than its parent.

Or you might think of it this way: the parent template controls more of the page than its nested templates.

And thus ends our lesson.

 

<-- TUTORIAL HOME | PAGE 3 | INTRODUCTION TO NESTED TEMPLATES

Copyright © 2004-2009 Patty Ayers · All Rights Reserved
Contact Us