load file click does not work properly on virtual include

For TopStyle bug reports.

Moderator: TopStyle Support

load file click does not work properly on virtual include

Postby uwe » Thu Nov 05, 2009 12:18 pm

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
uwe
Rank 0 - Newcomer
Rank 0 - Newcomer
 
Posts: 5
Joined: Wed Jul 29, 2009 3:21 am

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

Postby TopStyle Support » Sun Nov 15, 2009 9: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.
User avatar
TopStyle Support
Rank VI - Professional
Rank VI - Professional
 
Posts: 470
Joined: Sat Jun 13, 2009 12:38 pm


Return to TopStyle Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests