[Zope] Help structuring site content.

Mike Renfro renfro@tntech.edu
Tue, 24 Jul 2001 17:03:48 -0500


On Tue, Jul 24, 2001 at 01:39:09PM -0700, Jason C. Leach wrote:

> page.html: This generates a set of frames for a banner on the top
> (top.html) and a nav bar on the right (nav.html) and loads the page
> contents c_page.html in the right frame.

Don't know how you would do it with frames, but since Zope provides
the functionality to keep a standard header and footer on all pages,
you could make a table-based frame-lookalike.

Final result would be something like: (ascii art below)

+---------------+
| top content   |
+---------------+
| nav |         |
|     | content |
+---------------+

With the html broken up by file as follows (assuming a URL of the form
http://your.server/path/to/c_page):

[standard_html_header]

<table width=100%>
  <tr>
    <td colspan=2>
      top content
    </td>
  </tr>
  <tr>
    <td>
      nav
    </td>
    <td>

[c_page]

      content

[standard_html_footer]

    </td>
  </tr>
</table>

That's exactly the sort of thing I do on www.cae.tntech.edu. Frames
are just too difficult to do "right" (work on a variety of screen/font
sizes, index with search engines, render with lynx, etc.).

-- 
Mike Renfro  / R&D Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- renfro@tntech.edu