Solved

Chaging the Templates Folder Location

Posted on 2006-07-18
13
166 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

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 …
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

807 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