Editing with Golive

Last modified: April 4, 2006 - 00:11

Set Up

To edit xTemplate template files (xtemplate.xtmpl) in Adobe GoLive, follow these simple steps:

  1. In the GoLive menu select "GoLive" then "Web Settings"
  2. The Web Settings window will appear, click on the "File Mappings" tag.
  3. In the File Mappings window open the "text/" directory
  4. Scroll down until you see "html" in the Suffix column.
  5. Click on "html" to select it, then click on the "+" button to create a duplicate.
  6. Change the suffix of the duplicate html to "xtmpl"
  7. That's it you're done!

Editing

If when opening a template file GoLive asks you which encoding to use, select "UTF-8".

If all you see after opening a template is "body onload-attributes", go into source mode and delete "{onload_attributes}" from:

<body{onload_attributes}>

Remember to add "{onload-attributes}" back once you are finished editing.

In xtemplate.xtmpl, you may wish to add the following line temporarily:

<link type="text/css" rel="stylesheet" href="style.css" />

Remember to remove this line when completing work on the template, however. If you do not, Drupal will not be able to switch between various styles for your theme. Drupal will automatically load your style.css, if one exists, in the {styles} tag.

Too good to be true?

LinusKapatrick - April 11, 2005 - 02:06

It is my first comment so bear with me. After reading pages of theme design, if one can simply use Golive to create new theme, why bother with anything else? Did I miss anything or I am being too naive?

 
 

Drupal is a registered trademark of Dries Buytaert.