Solved

Chaging the Templates Folder Location

Posted on 2006-07-18
13
167 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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 500 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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
Can't get  my Web page's sublist  to display on Ipad or Iphone 8 683
Best code editor tool for PC 4 132
Website Design 13 132
Unexpected End of File 11 54
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

740 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