redesign of alsharpton
dvanhorn <[email protected]> Wed, 16 Jun 2004 16:11:09 -0400
| Newsgroups | gmane.org.ballistichelmet.devel |
|---|---|
| Message-ID | <[email protected]> |
I made an executive decision that all the pages in the alsharpton
incarnation of the bh page should use the same layout. Previously we had
two layouts, one for the index, one for everything else.
I wrote on 3 Feb 2004 in "include alsharpton":
> I've made some new files in alsharpton/
>
> bh_doctype
> bh_head
> bh_body_preamble
> bh_body_postamble
I had also made bh_front_body_{preamble|postamble} but these files are now gone.
> They are meant to be used like this:
>
> <?php include 'bh_doctype'; ?>
> <html ...>
> <head>
> <title>Title</title>
> <?php include 'bh_head'; ?>
> </head>
> <body>
> <?php include 'bh_body_preamble'; ?>
> ...
> <?php include 'bh_body_postamble'; ?>
> </body>
> </html>
>
> See alsharpton/index.php for an example.
There are still small variations between the index and non-index pages. For
example, the random image shouldn't appear on no-index pages.
This is accomplished in index.php by putting this anywhere before you start
including files:
<?php $include_random_image = True; ?>
I'd like the left column to change, possibly by expanding into a hierarchy
of menus page on the current page. But it's not on my short list.
Check out /rant/ for an example non-index page.
-d