homepage Welcome to WebmasterWorld Guest from 54.196.62.132
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

    
Using 'Page Include' in FP 2000
Jube




msg:935873
 9:53 pm on Sep 25, 2003 (gmt 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.

Jube

 

bill




msg:935874
 6:03 am on Sep 26, 2003 (gmt 0)

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.

Jube




msg:935875
 10:42 am on Sep 26, 2003 (gmt 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

Marketing Guy




msg:935876
 11:04 am on Sep 26, 2003 (gmt 0)

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)

Scott

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved