Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change path in locked area of child page to template

Status
Not open for further replies.

mejules

Technical User
Jan 15, 2007
2
AU
I inherited a website. I'm self-taught and basically learn everything on the fly, hence my post. The website currently resides on a Windows web server and the site files reside in a folder named ' Of course in DW the file structure reflects that on the web server and all files are in a 'www' folder.

I am moving the website to a web host running Linux and have been told the site files are to be put in a folder named 'httpdocs'.

The site is built on a template but on saving changes to the template the child pages are not automatically updated. I have to do each one manually - Modify/Templates/Update Current Page and that works fine.

Using vmware (a virtual machine on my PC) I took the site files out of the 'www' folder and put them into a folder named 'httpdocs'. Now when I try to update a child page after making a change to the template DW gives me an error code 3 bad file path and continues to put 'www' in the path before the word 'templates' even though there is no such I see this in the child page:

<html><!-- InstanceBegin template="/ codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>xxxxxxxx</title>
<!-- InstanceEndEditable -->

I'm thinking the bad file path error is being caused by the the path above.

1. If I was able to change that to /templates/xxx.dwt would that solve the problem?
2. If so, how do I change it because it does not appear in the actual template document and is uneditable in the child pages.

Thanks for any advice.

Jules
 
I renamed the within DW and DW updated the child pages once I had done this. It also changed the path to reflect the new folder name so I see the path to the template in the child pages is named automatically by DW - not something I can change.

Does anyone know how I can get the site files to become independent of the root folder www? I want to be able to upload just the site files to the httpdocs folder on the new web server free of the
Jules
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top