templates

Forum home » Delegate support and help forum » Dreamweaver Training and help » Templates

Templates

resolvedResolved · Low Priority · Version CS3

Rebecca has attended:
Dreamweaver Introduction (2 days) course

Templates

How do I get the most flexibility with using templates?

Include files

Hi Rebecca,

Thanks for your question. I hope you enjoyed the Dreamweaver CS3 training course.

I'm going to be honest with you, I prefer to use include files rather than Dreamweaver Templates. In fact, I use a combination of both.

With Dreamweaver templates, if you make one change, Dreamweaver goes through all your local files and updates them. If you've got heaps of files, this may take a little while. You then have to upload each file back to your web server to make the change(s) live. This can take a long time if you have many files.

Include files allow you to say at any point during any web page "display what ever is in this include web page too, at this point, then continue with the rest of the page".

See these posts for how it works:
https://www.stl-training.co.uk/post-40-templates-library-items.html
https://www.stl-training.co.uk/post-8348-templates.html
https://www.stl-training.co.uk/post-8416-what-you-see-you.html

This allows you to have, for example, one file with Header information, one with a menu links and design, and one with Footer information. Then you just include each of those files at the appropriate place. If you make a change to the Header file... just save and upload it, and all your web pages are changed instantly. Saves heaps of time.

Example layout:
<html>
<head>
INCLUDE META
INCLUDE CSS
INCLUDE SCRIPT
</head>
<body>
INCLUDE HEADER
INCLUDE MENU
[put unique page content here]
INCLUDE FOOTER
</body>
</html>

Also, here is a post about Templates if you want to stick with them:
https://www.stl-training.co.uk/post-4484-template.html

Good luck!

If this answer resolves your query, please mark the question as 'resolved' (see below). Otherwise, please post a follow-up response to this post, and I will assist you further.

Regards, Rich

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Dreamweaver tip:

Paragraph formatting

in Dreamweaver if you type in text and press entre you get double line spacing.

To avoid this hold down the shift key and then press Enter for a soft break

View all Dreamweaver hints and tips


Server loaded in 0.05 secs.