Asked • 05/03/19

Dreamweaver templates transforming coldfusion <cfinclude> paths from relative to absolute?

I am pretty new to both Dreamweaver and Coldfusion, and I am having a terrible time figuring out this issue. I am sure the fix is very simple. When I create a new page from an existing template in dreamweaver, any of my <cfinlude> tags get their paths resolved by Dreamweaver from relative to absolute, with respect to my local copy of the site, not the remote site. For instance, In my template I have something like <cfinclude template="../../stuff.cfm"\\> But when I create a new page from that template I get <cfinclude template="file:///C|/Users/Me/Documents/MySite/stuff.cfm"> Which is obviously incorrect. How can I change it so that when creating a page from a template in Dreamweaver, it doesn't do this.

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.