• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 309
  • Last Modified:

save template

I create a template in DW . My issue is I want to save this template in a folder of my choice.
I keep getting a default site location to save to which I dont want.

How can I save templates to a location of my choice and do I need to save all templates in the same folder?
0
jagguy
Asked:
jagguy
  • 2
1 Solution
 
Scott Fell, EE MVEDeveloperCommented:
You need to store the template where dreamweaver wants it.  Otherwise, your links will break.  This is one place where you shouldn't force it and just let it be.  Don't upload your dwt files.
0
 
Scott Fell, EE MVEDeveloperCommented:
I hope I didn't over load you about using libraries.   Using the dwt files is another thing I found was more trouble then it is worth.  Let's say you want to change your your navigation and you have 40 pages.  Now you have to change your dwt file and then have it update the rest of the site.  At some point you will do an oops, shouldn't have done that.  

Take a look at using what is called a server side include.  http://help.adobe.com/en_US/dreamweaver/cs/using/WSc78c5058ca073340dcda9110b1f693f21-7b6ca.html  In short, this is placing one html file inside of another.

<div id="header">
item1 | item2 | item 3| item4 |
</div>
<div id="main">
main stuff
</div>

Open in new window


If you use an include you would have
<div id="header">
<!--#include virtual="includes/mynav.html" -->
</div>
<div id="main">
main stuff
</div>

Open in new window


Your mynav.html will just be
item1 | item2 | item 3| item4 |

Open in new window


Now each time you want to update your navigation, you update ONE file, and just upload it to your site.  There is no right or wrong way.  Dreamweaver also has library items which is just about the same thing.  Do what is easiest for you.

Good luck.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now