Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Using 'Page Include' in FP 2000

9:53 pm on Sep 25, 2003 (gmt 0)

New User

10+ Year Member

joined:May 3, 2002
votes: 0

I have a review of each product saved as a html file within the FP 2000 web - each of these is named the same as the product to which it relates.

eg. Product name 'Widget1', product review=Widget1.htm

I have a .asp page that is fed from a simple FP search form and want it to include the product review based on the search form input. I have managed to retrive all of the data relating to the product so far but cannot get it to drag the product review in as well.

To date I have tried using the Page Include command within FP 2000 and adjusting the target within the html to equal the product field from the database.

I would like to avoid using frames if possible as I understand that shared borders and frames don't sit happily together when using FP2000.

Any suggestions or help gratefully received.


6:03 am on Sept 26, 2003 (gmt 0)

Administrator from JP 

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Oct 12, 2000
votes: 142

I'm not sure I understand what you're asking...FP's Include Page content is added to the page when you save or publish it. If your ASP page is pulling in other data related to the query then why not just add the review data to the area with the product data you're accessing? I assume you're pulling this from a database? If so it sounds like you may need to rewrite your query as opposed to using FP's Include Page.
10:42 am on Sept 26, 2003 (gmt 0)

New User

10+ Year Member

joined:May 3, 2002
votes: 0

Hi Bill

Thanks for the info about how the Inlcude Page component works - I hadn't appreciated that it was processed as the page was saved - I'd assumed it was done at run time. Clearly this is not an option given what I am trying to do.

The data is being pulled from an Access database.

I have tried storing the product reviews in the database but when they are retrieved they appear as one block of unformatted text - no paragraphs or headings - not very readable or user friendly.

How might I get over this? Is it possible to store the html code in the database field and get FP to treat is as html when it is displayed in the .asp results page?

Thank you

11:04 am on Sept 26, 2003 (gmt 0)

Senior Member from GB 

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 16, 2003
votes: 8

If you store the HTML formatted text in the database field, when you create the asp page, you can right click an option that says "this field is HTML".

Added: you may also be able to pre format your product.asp template with font, size, style and paragraph so you only need to add <p> tags to the product text in the DB.

Added2: you could perhaps use an inline frame for your product.asp page, and where you "set initial page" you choose/edit the DB parameters (not entirely sure how, but I think you can dictate in your DB what file - include page is to be used for each record)