| Click here to ask a question or provide feedback on this topic | Bookmark this topic Print this topic | Next |
Using templates
Using templates you can give all your documents the same look and feeling. Templates are one of the most powerful features of IntraWeb Studio. Templates are HTML documents and they define how a page should look like. An HTML document just provides the content for a template. This way you are editing just plain text (content) in your HTML documents and your actual design and layout is separated in an HTML template. Why should I use Templates?If you have 50 documents in your Web site and all have the HTML to render a top menu, a side bar, and some fancy graphics, then you would have to edit all these 50 documents if you once decide that you want to change the layout of your web site. Adding a new document would require you to copy and paste the "core layout" into it. In simple words: Templates prevent you from generating redundant HTML, with all the disadvantages of redundancy in this case. To work with templates just create one or more templates in any folder and assign a template to HTML documents. Template visibilityA document can use any template which is in the same folder or in any folder above. You can even use Templates across projects on the same repository. Default TemplatesA folder (even the root folder) may have a template assigned. That template is used by default for all new documents in that folder and all folders below. Assigning TemplatesRight click any folder or document and select "Set Template". You can select more than one document at a time by holding down the [CTRL] or [SHIFT] key. All selected documents will get the Template assigned. |
We
use the ABCpdf .NET PDF component for HTML to PDF conversion...