Creating New Content Sources for your Solution Site
If you add new areas to the page, or want to change the content source of one or more existing areas, you will need to choose the type of the content source to associate with those areas. The choice between an include file and a content variable is largely dependent on how custom the content in the new area needs to be, from page to page. If it is not different on each page, the include file approach is best because you can avoid modifying every page in the site that uses that layout design. You can also use a content variable that is initialized somewhere in the code that already gets executed for every page. For more information about where such code would need to be added, see Standard Execution Flow for Solution Sites.
If the content in the new area needs to be quite different for every page being rendered, the best approach may be to define a new content variable and use it in a fashion similar to the variable htmPageContent. The variable can be defined in the file include\setupenv.asp, and initialized somewhere within the routine Main in each page that is using the modified layout.
See Also
Page Layout for Solution Sites
Page Execution Model for Solution Sites
Changing the Layout of Existing Solution Site Pages
Adding New Pages to your Solution Site using a Different Layout
Copyright © 2005 Microsoft Corporation.
All rights reserved.