Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Chaging the Templates Folder Location

Posted on 2006-07-18
13
Medium Priority
?
174 Views
Last Modified: 2010-04-25
Hi Folks

I inherited an webSite where the Templates Folder location is sitting one Level Deep than what Dreamweaver looks for.
How do I tell Dreamweaver to look for Templates 1 level down and not at the root level of the DW site.

Thanks

RG
0
Comment
Question by:rgarimella
  • 6
  • 4
13 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 17135962
Hi rgarimella,

Even if the folder is in the "wrong" place, doesn't DW still have the paths in the files that are based on those templates correct?

In other words, why do you want to change this?  What is the problem you are experiencing.  If DW isn't updating the templates properly, you could always move the folder up a level (or do Save As a bunch) from within DW and that should trigger the site cache to update things.


0
 

Author Comment

by:rgarimella
ID: 17138568
If i move the Templates folder and then save the file in the folder i want to save, the path becomes incorrect. Dreamweaver automatically changes the path when I save the file, which is what I dont want
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 17139247
I'm confused, then.  Could you describe what it is you are trying to do and where the files and folders are relative to the site root.
0
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.

 

Author Comment

by:rgarimella
ID: 17139367
/courseware/course/templates (correct location) but does not show up in the Template when I say File > New Template
/courseware/templates  (Templates show up) but the path inside the site changes like ../../core/general.css instead of ../core/general.css
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 17139390
Which version of DW is this?
0
 

Author Comment

by:rgarimella
ID: 17139766
MX 2004
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 17139888
Okay.

The short answer is: they shouldn't have put the Templates there.  DW always looks for templates one folder down from the folder defined as the site root.  This behavior is hard-coded and I cannot find a way to change it.

You can either move the templates back up a level and then edit each one to get the paths correct or start over.
0
 

Author Comment

by:rgarimella
ID: 17140192
Ya I know, that is how I am doing it. I was trying to find a solution where I would not have to do that, like modifying/configuring an XML document or something like that

Thanks
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 2000 total points
ID: 17140817
I think you may be out of luck.   Best I can do is point you to this file:

c:\Documents and Settings\Your User Name\Application Data\Macromedia\Dreamweaver 8\Configuration\Configuration_ReadMe.htm

That contains all of the information about the DW Configuration folder.  If there is an answer, it is in there somewhere.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 17409539
hi mrichmon,

Unfortunately, an answer in the negative is sometimes the correct answer.  Because the previous site owners moved the templates around, rgarimella is out of luck vis-a-vis trying to make Templates work outside of one level down from the root.
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Suggested Courses

916 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