View Single Post
  #1  
Old 04-25-2003, 08:10 PM
  kpriest's Avatar 
kpriest kpriest is offline
 

eXpert
  
Join Date: Apr 2003
Location: Seattle, WA
Posts: 263
 

Default There must be an easier way to incorporate static HTML pages

The site I am developing has about 20 or more static HTML pages that are maintained by other people. The way I figured to create links to these pages and have those pages also include all of the X-Cart menus and functions and navigation is the following laborious process:
  • - Create a unique PHP file for each static page which passes a unique value for the $main variable
    - Modify the home_main.tpl to include {if} statements for those unique variables and {include file=static_html_page} so it shows up in the main content area
    - Set the links to these static pages to point to the specific PHP file

This is a real pain. Is there an easier way? Would it be possible to create a frames page with left, right and top frames that the content would force itself into? Or is that asking for even more trouble?

Any ideas?
Reply With Quote