Solved

save template

Posted on 2013-01-21
2
279 Views
Last Modified: 2013-01-25
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
Comment
Question by:jagguy
  • 2
2 Comments
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 38803682
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
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 38803706
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now