Solved

Chaging the Templates Folder Location

Posted on 2006-07-18
13
164 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
 

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Populate Second Select List based on value in first select list. 3 1,479
dreamweaver cs6 keep getting error 2 msg 16 392
xml to xml using xslt and php 4 548
Debug PHP with Dreamweaver 6 686
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…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

920 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

13 Experts available now in Live!

Get 1:1 Help Now