| |
Basic DWT, Dynamic Web Templates. Page 1
Check out sites I created with DWTs
Read this site first, http://DWTIG.com
Practice first to understand
- Create a folder in your CIA_Portfolio web site called DWT. This will
hold your template and graphics.
- Create a new web page called "Site_Name1" and save this as a DWT into
your DWT folder.
Example: CIA_Portfolio1.dwt

- NOTE: Turn off shared borders and themes for your
DWT at this point.
- Insert a table to design your template.
Study this page and look at the table
layout.
- Create a 5 column by 5 row table.
- Set the table properties height to 100%.
- Set row 1, 3, and 5 to 20 pixels high.
- Set row 2 to 60 pixels high.
- Set column 1 to 175 pixels wide.
- Set column 2 and 3 to 10 pixels wide.
- Set column 4 to NO WIDTH with no check in the width box.
- Set column 5 to 150 pixels wide.
- Add your colors to the selected rows and columns.
- Your DWT will now look like this....

Set your page margins
- Right click your DWT page and select page properties.
- Set your top and left margins, on the "Advanced tab" to 0 pixels.

- Click OK.
- Save the DWT again into your DWT folder as a Dynamic Web Template.
See below. Use the "Save as type" drop down option.

- With your mouse selected in the center white cell, right click your
DWT, and select "MANAGE EDITABLE REGIONS."
- Enter the name "body1" as your main editable region. Click Add, then
close.

- An editable region will be added to your DWT. This is an area where
you can add text, graphics, etc. (SEE BODY 1 BELOW)

- Save your DWT. This is the minimum amount of info needed for a Dynamic
Web Template. This template is ready to be applied to a page.
(NOTE:
This DWT needs a navigation bar or an editable region for a navigation
bar. For now this is step #1 of learning DWTs)
What else is needed?
- Graphics, banners, and navigation bars need to be added.
- Page banners can also be added.
- A theme or CSS can be added to the DWT.
- Any information that will be on ALL pages can be added to the DWT.
- If adding graphics, make sure that you save your graphics into your
DWT folder.
- Open a web page and prep it for a DWT.
- Turn off shared borders.
- Turn off your theme.
- Now, with the page stripped, apply the DWT.
- Click format, then "Attach Dynamic Web Template.

- Select your DWT page and click OK.
- Your web page now is controlled by the DWT file.
Very COOL, but, how do I attach the DWT to ALL pages?
- In folder view, select all your html pages using the shift key to
select a range, or the control key to select individual pages.
- With several pages selected, attach the DWT template.
Congratulations...
Your first Dynamic Web Template is finished!
Additional topics to learn
- Adding Navigation Bars, read Page 2
- Adding page banners text or graphics
- Adding cell background images or gradients
- Adding themes and CSS files
- Adding regions to the document head
- Tables vs Layout Tables in FP2003
|
|
 |
 |
|