When your tpl files begin to get fairly complex, or if you just really want to be efficient with your code, using "include" allows you to break a piece of your code out into a separate file:

{include file="showitems.tpl"}

This is extremely handy if you have a chunk of a view that needs to be used by other views.  Be warned though, these "partial" views need to be copied into your theme directory with the "parent" view, else you will have issues with linkage.

Loading Help