|
|
|
As of Andromeda 1.7.1 there are a number of new preferences (see the prefs guide) you can use to integrate Andromeda into your site. The table to the right provides a fundamental overview of how an Andromeda page is structured. The rows in blue are provided by Andromeda. The rows in gray you can set using preferences. By setting the includeHeader & includeFooter and/or absoluteHeader & absoluteFooter preferences you can 'wrap' Andromeda within your own interface. includeHeader and absoluteHeader insert your code immediately after the HTML headers (ending with the <BODY> tag). includeFooter and absoluteFooter insert your code immediately before the closing </BODY> tag. includeHeader and includeFooter are used to point to external include files. Note for the ASP version: this only works with version 5 and up of the script engine, and the scope of includeHeader is limited to itself - it cannot share information with the main script or the includeFooter, and vice-versa. Note for the PHP version: this takes an OS path, not a web path. You might also want to check the ini setting of include_path. absoluteHeader and absoluteFooter let you store HTML code directly in the prefs file (and they work with all versions of ASP). To change the appearance of the Andromeda-generated portion of your page, you should pick or make a skin. If you use style sheets you should also configure the cssLinkHref preference. Though possible, it is not recommended that you disableHTMLheaders and use your own (see the manual for details). |
|
<CENTER>your main menu header</CENTER><TABLE><TR><TD>your sidebar</TD><TD> and absoluteFooter (or the includeFooter file) is set to: </TD></TR></TABLE><CENTER>your main menu footer</CENTER> Note: If you do nest all of Andromeda within an enclosing table, that can seriously degrade percieved performace, as the browser will not be able to incrementally write rows, and will instead have to wait for *all* rows to be returned before writing the page. For such circumstances, you should consider using frames or an IFRAME, such as <IFRAME SRC=andromeda.php WIDTH=240 HEIGHT=400> You should also check out the page on maximizing performance. |