load file click does not work properly on virtual include

Post anything about TopStyle here. NOTE: TopStyle has been discontinued.

Moderator: TopStyle Support

Post Reply
uwe
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 5
Joined: Wed Jul 29, 2009 3:21 am

load file click does not work properly on virtual include

Post by uwe » Thu Nov 05, 2009 11:18 am

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

User avatar
TopStyle Support
Rank VI - Professional
Rank VI - Professional
Posts: 507
Joined: Sat Jun 13, 2009 12:38 pm
Contact:

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

Post by TopStyle Support » Sun Nov 15, 2009 8:00 am

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.

Post Reply