Can I get FP2003 to render <!--#include virtual="/file.asp"-->

S

Scott Townsend

We have inherited a Site that uses a lot of the following Includes:
<!--#include virtual="/includes/divTop.asp" -->

Is there a way to make Front Page render these includes when you are
developing? It make it hard to see the page if its not really all there.

Thanks,
Scott<-
 
B

Bob Lehmann

Is there a way to make Front Page render these includes when you are
developing?

Nope.

Yep.

Bob Lehmann
 
S

Scott Townsend

Thank you... I think. (-; its not really the answer I want to Hear.

Does Dreamweaver have the ability to do this? I think that is where this
site came from.

thanks again!
Scott<-
 
K

Kathleen Anderson [MVP - FrontPage]

If you are going to use FrontPage to maintain the site, and all the included
pages are in the same site, you could 'convert' them to FrontPage includes,
which are visible in Design View.

--

~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
web: http://www.spiderwebwoman.com/resources/
 
J

John Malone

There are two types of server-side includes: Virtual and File. Select the
one that is appropriate for the type of web server you use:

If your server is an Apache web server, select Virtual. In Apache, Virtual
works in all cases, while File works only in some cases.
If your server is a Microsoft Internet Information Server (IIS), select
File. (Virtual works with IIS only in certain specific circumstances.)
_______________________________________
Add an Included Content Web component to a Web page

Note: To embed a Web page in another Web page, both pages must be part of
the same Web site.

In Page view, at the bottom of the document window, click Design .
Place the insertion point where you want the included content to appear.
On the Insert menu, click Web Component.
In the Insert Web Component dialog box, under Component type, click Included
Content.

If the Included Content option is unavailable

On the Tools menu, click Page Options.
Click the Authoring tab, and then select the Author-time Web Components
check box.
__________________________________
For more information see

http://office.microsoft.com/trainin...ID=RP061978641033&CTT=6&Origin=RC061978281033

Check for wrapping of the URL
--
John Malone
==============
| Thank you... I think. (-; its not really the answer I want to Hear.
|
| Does Dreamweaver have the ability to do this? I think that is where this
| site came from.
|
| thanks again!
| Scott<-
| | >>> Is there a way to make Front Page render these includes when you are
| > developing?
| >
| > Nope.
| >
| >>> It make it hard to see the page if its not really all there.
| >
| > Yep.
| >
| > Bob Lehmann
| >
| > | >> We have inherited a Site that uses a lot of the following Includes:
| >> <!--#include virtual="/includes/divTop.asp" -->
| >>
| >> Is there a way to make Front Page render these includes when you are
| >> developing? It make it hard to see the page if its not really all
there.
| >>
| >> Thanks,
| >> Scott<-
| >>
| >>
| >>
| >>
| >>
| >
| >
|
|
 
R

Ronx

My experience with Windows is opposite - Virtual works every time,
File depends on the setting for parent paths in IIS.
 
S

Stefan B Rusynko

No design tool renders any run time include files (virtual or file)
- requires the server to parse the page and render it in browser
If your run time includes are inside of the body tags
- best you can do is see the place holder for comments / server side code by turning on Show ALL [Ctrl][*]
- or add a FP comment describing the include purpose as in
<!--webbot bot="PurpleText" PREVIEW="Menu is Included here" -->
<!--#include virtual="/includes/divTop.asp" -->

Only Design time includes (like the FP Include pages) can be rendered in Design view in FP
- but converting your run time includes to design time includes probably defeats the purpose of them
--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Thank you... I think. (-; its not really the answer I want to Hear.
|
| Does Dreamweaver have the ability to do this? I think that is where this
| site came from.
|
| thanks again!
| Scott<-
| | >>> Is there a way to make Front Page render these includes when you are
| > developing?
| >
| > Nope.
| >
| >>> It make it hard to see the page if its not really all there.
| >
| > Yep.
| >
| > Bob Lehmann
| >
| > | >> We have inherited a Site that uses a lot of the following Includes:<!--#include virtual="/includes/divTop.asp" -->

| >> | >>
| >> Is there a way to make Front Page render these includes when you are
| >> developing? It make it hard to see the page if its not really all there.
| >>
| >> Thanks,
| >> Scott<-
| >>
| >>
| >>
| >>
| >>
| >
| >
|
|
 
S

Scott Townsend

Thank you all for your replies.

We have thought about converting them to FP DT includes, though we will be
getting framework updates every several months from the site creator people.
So we'd have to convert each update. We might look into a automated process
to swap out the tags.

Thanks again for all of your replies!

Scott<-
 
T

Thomas A. Rowe

If you use server-side includes and the replacement pages are always named the same, then all you
would need to do is replace the page on the server.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

Scott Townsend said:
Thank you all for your replies.

We have thought about converting them to FP DT includes, though we will be getting framework
updates every several months from the site creator people. So we'd have to convert each update.
We might look into a automated process to swap out the tags.

Thanks again for all of your replies!

Scott<-
Stefan B Rusynko said:
No design tool renders any run time include files (virtual or file)
- requires the server to parse the page and render it in browser
If your run time includes are inside of the body tags
- best you can do is see the place holder for comments / server side code by turning on Show ALL
[Ctrl][*]
- or add a FP comment describing the include purpose as in
<!--webbot bot="PurpleText" PREVIEW="Menu is Included here" -->
<!--#include virtual="/includes/divTop.asp" -->

Only Design time includes (like the FP Include pages) can be rendered in Design view in FP
- but converting your run time includes to design time includes probably defeats the purpose of
them
--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Thank you... I think. (-; its not really the answer I want to Hear.
|
| Does Dreamweaver have the ability to do this? I think that is where this
| site came from.
|
| thanks again!
| Scott<-
| | >>> Is there a way to make Front Page render these includes when you are
| > developing?
| >
| > Nope.
| >
| >>> It make it hard to see the page if its not really all there.
| >
| > Yep.
| >
| > Bob Lehmann
| >
| > | >> We have inherited a Site that uses a lot of the following Includes:<!--#include
virtual="/includes/divTop.asp" -->

| >> | >>
| >> Is there a way to make Front Page render these includes when you are
| >> developing? It make it hard to see the page if its not really all there.
| >>
| >> Thanks,
| >> Scott<-
| >>
| >>
| >>
| >>
| >>
| >
| >
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top