Changes to index.php3 and articles.php3 to allow them
to automatically choose between four templates
depending on which columns are present:
Columns Template used
center, left index2colleft.tpl
center, right index2colright.tpl
center, left, right index3cols.tpl
block.class and block_i.class are changed to default to
width = 100% rather than 210 so that blocks work in the
All files are in the attached zip:
1. I put related links in the center column, but this
is easily changed back to putting them in the righ column)
2. article.php3 now uses slashHead() and slashFoot()
- block.php3.patch (contains block_i patch too).
Some of the changes are whitespace fixes or extra
debug()s which might need removed before posting.
- *.tpl - the new template files
The following files are superseded: index.tpl
It might be worth allowing the option of positioning at
center_top and center_bottom (ie above and below the
Also blockAdmin.php3 could be changed to give a
drop-down list of possible column positions.