Add a Layout
Username:  
Password:
  > Home
> User Guide
> Reference
> Portal Object
v Development Guide
    o Overview
    > A Typical Page (C)
    > Data Handling
    > Applications
    v Working BEE
       o Add a Layout


Shortcuts
sys Class
debug Class
Intrinsic Conversions
>> Development Guide >> Working BEE >> Add a Layout <=      <  1  2  3  4  5  6  >  
How to add a layout

The instant website service allows the web owner to select a layout from a list and all contents and applications will follow instantly.  The layout may be designed by a designer or acquired from a template provider, completely independent of BEE.  This section will discuss the code to insert and the procedure to do so.

There are only two places that you need to add files for a new layout: www/layout/ and scheme/layout.  Let's call your new layout newlayout, then the files should be located at:

  • www/layout/newlayout/layout.htm.bee
  • www/layout/newlayout/bee.css (for BEE admin applications)
  • www/layout/newlayout/images/thumbnail.jpg (for Settings)
  • www/layout/newlayout/... (other supporting files like style sheets and images)
  • scheme/layout/newlayout/menu (Menu specification)
  • scheme/layout/newlayout/sidemenu (if there is one)
  • src/layout/newlayout/layout.htm (used only if layout.htm.bee does not exist)

The above locations are fixed but the web address does not need to be fixed.  The codes and procedure in this section have already taken into account that the root address of the web site may not start after the host name.  e.g. www.xyz.com/siteone and www.xyz.com/sitetwo can be two separate sites.  The layout will be able to handle this if you follow the codes and procedures well (in particular the {pt%rt} variable).

The following pages will take you step-by-step to adapt the files and add the layout to the layout list for Working BEE users to select.

Previous Page       Next Page

Accsoft Computer Technology Pty Ltd     ABN: 98 065 617 549
PO Box 892, Epping NSW 1710         Level 1, Epping Office Park, 242 Beecroft Rd, Epping NSW 2121, Australia
Tel: Sydney - (02)98691668     National - 1300-881668         Fax: (02)98691866
© Copyright 2003 Accsoft Computer Technology Pty Ltd