Solved

save template

Posted on 2013-01-21
2
290 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Adding bootstrap to only Content page and NOT master page 1 49
Call a function within the ASP code 4 19
alert(innerHTML); 8 32
ASP.NET Content Page 3 29
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
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 …

860 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