TruthMedia Training Centre
Home | TruthMedia.com | *Client Menu: Tasks | Image DB | Stats | Forum
Ministry Training
Chat Hosting*
Chat Ministry
Critical Issues
Discipleship
Enrichment
Evangelism
Field Education
Mentoring
Resources
Staff
Start Web Ministry
Testimonies
Volunteer
Site Development
Developers
Interwoven*
Marketing
Writing

Developing XSL Templates for Interwoven
by Sheldon Kotyk

The template files for this tutorial can be found zipped up here.

Templating a site using the TruthMedia XSL system in Interwoven can be easy or painful, depending on the complexity of the design. A recommendation is that layers are not used and a strictly nested table structure is followed.

I. Begin by creating the structure of the site in Interwoven.

II. Setup Dreamweaver MX for XHTML & Unix support. Note: Dreamweaver 4 will not work as it is not compatible.

III. Create the Dreamweaver Template File (DWT). This is the basis for the XSL templates. By using a dwt file as the base for your xsl template files, you can make sitewide updates much like in Dreamweaver. Feel free to use libraries as well. Your dwt file should include the presentation that needs to show up on every page, with editable regions in areas that will change in different areas (for example: on this site, the area the article is shown in is an editable region.)

Some things to remember:

  • All tags must be closed...
    examples: <br /> <img src="logo.gif" />
  • Some tables need the <tbody> tag.
    <table>
    <tbody>
    <tr>
    <td>blah</td>
    </tr>
    </tbody>
    </table>

IV. Create the article.xsl template. The reason we create the article.xsl file first is to allow the content creators to begin adding articles.

V. Create the home.xsl template. The home index uses the same Data Capture Template as the index pages but often is different than the template used for channel indexes. It is the xslt.php file that tells the server which template to use.

VI. Create the index.xsl template.

VII. Add the search engine.

Email thisBookmark this
* Denotes a password is required. | External Sites will open in a new window.
Copyright 2002-2005. The TruthMedia Network. All rights reserved.