Page 1 of 1

load file click does not work properly on virtual include

Posted: Thu Nov 05, 2009 11:18 am
by uwe
Hi,

here is a sample:
the current file is w:\inetpub\wwwroot\default\includes\main.asp or /includes/main.asp and has the following "include"

Code: Select all

<!-- #include virtual="/includes/common.asp" -->
w:\inetpub\wwwroot\default\includes\common.asp or /includes/common.asp

klick on the link should open w:\inetpub\wwwroot\default\includes\common.asp

but TopStyle4 tries to open w:\inetpub\wwwroot\default\includes\includes\common.asp

Thanks in advance
Uwe Cramer

Re: load file click does not work properly on virtual include

Posted: Sun Nov 15, 2009 8:00 am
by TopStyle Support
When a link starts with a forward slash, then this is a root-relative link (not a document-relative link). TopStyle completes root links by using the root folder of the current site. I assume you're not having a TopStyle site open, or the root link may of your current TopStyle site might be incorrect.