FP2K3: Reusing pages with Included Content?

V

Vagabond Software

I'm basically a novice at creating web sites. I have done it before, but everything was done by "brute force" so to speak. This time I'm trying to be at least a little bit smarter.

I have a web-page that uses a layout that will be standard throughout my site, but it is not a very printer-friendly layout. So, I created a "printable format" link to a common "print.htm" page with the relevant content included.

Is there a way to automatically reuse that "print.htm" with the content from the source page?

For example, here is a "topic" page from my site that includes a "text" content page:
http://home.san.rr.com/vagabondia/admin/mail.htm

If you follow the "Printable Format" link, you'll arrive at the printable page for mail.htm. Do I have to create a separate "_print" page for every topic, or is there some way to read the included "_text" page from the "topic" page where the user has clicked "printable format" and automatically include that in the standard "print" page.

I hope that makes sense... it's still early here.

carl
 
S

Stefan B Rusynko

Do it in reverse
Create your content in printable pages (no nav, etc) as say pfilename.htm
Then include the printable page as rich content w/i your main pages (as say filename.htm)
- link from the main pages to the related printable page




I'm basically a novice at creating web sites. I have done it before, but everything was done by "brute force" so to speak. This
time I'm trying to be at least a little bit smarter.

I have a web-page that uses a layout that will be standard throughout my site, but it is not a very printer-friendly layout. So, I
created a "printable format" link to a common "print.htm" page with the relevant content included.

Is there a way to automatically reuse that "print.htm" with the content from the source page?

For example, here is a "topic" page from my site that includes a "text" content page:
http://home.san.rr.com/vagabondia/admin/mail.htm

If you follow the "Printable Format" link, you'll arrive at the printable page for mail.htm. Do I have to create a separate
"_print" page for every topic, or is there some way to read the included "_text" page from the "topic" page where the user has
clicked "printable format" and automatically include that in the standard "print" page.

I hope that makes sense... it's still early here.

carl
 
T

Thomas A. Rowe

You could do this using a server-side solution, such as ASP, however you can not do this using the
FP Include Page component.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


I'm basically a novice at creating web sites. I have done it before, but everything was done by
"brute force" so to speak. This time I'm trying to be at least a little bit smarter.

I have a web-page that uses a layout that will be standard throughout my site, but it is not a very
printer-friendly layout. So, I created a "printable format" link to a common "print.htm" page with
the relevant content included.

Is there a way to automatically reuse that "print.htm" with the content from the source page?

For example, here is a "topic" page from my site that includes a "text" content page:
http://home.san.rr.com/vagabondia/admin/mail.htm

If you follow the "Printable Format" link, you'll arrive at the printable page for mail.htm. Do I
have to create a separate "_print" page for every topic, or is there some way to read the included
"_text" page from the "topic" page where the user has clicked "printable format" and automatically
include that in the standard "print" page.

I hope that makes sense... it's still early here.

carl
 
V

Vagabond Software

Stefan B Rusynko said:
Do it in reverse
Create your content in printable pages (no nav, etc) as say pfilename.htm
Then include the printable page as rich content w/i your main pages (as say filename.htm)
- link from the main pages to the related printable page

--

I believe that is what I'm already doing to the best of my ability without using ASP automation.

This page is actually several pages of nested included content:
http://home.san.rr.com/vagabondia/admin/mail.htm

It is the top_bott page:
http://home.san.rr.com/vagabondia/tmpl/top_bott.htm

which includes the topic page:
http://home.san.rr.com/vagabondia/tmpl/topic.htm

which includes the text page:
http://home.san.rr.com/vagabondia/admin/mail_text.htm

And the printable format page is actually this print page:
http://home.san.rr.com/vagabondia/tmpl/print.htm

with the text page included.

Thanks for you replies.

carl
 

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