Solved

Chaging the Templates Folder Location

Posted on 2006-07-18
13
163 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
/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
Comment Utility
Which version of DW is this?
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

Author Comment

by:rgarimella
Comment Utility
MX 2004
0
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

771 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

10 Experts available now in Live!

Get 1:1 Help Now