[geeklog-devel] The Mysterious Case of the Double Blocks (was 1.5.1 - what's left to do?)
Michael Jervis
mjervis at gmail.com
Sat Aug 16 13:23:49 EDT 2008
And to resolve the following:
http://project.geeklog.net/tracking/view.php?id=684
How would people feel if I changed professional/functions.inc to NOT
set blockheader-left and blockfooter-right based on the database.
Changed the templates to left-blockheader and right-blockheader and
changed COM_getBlockTemplate to look and see if there is a
$side_[template] and if so switch to it?
This might involve some changes to the APIs for COM_getBlockTemplate
and the call stack above it to introduce an (optional, defaulting to
blank) $side variable.
Seems the most sensible solution, and eliminates a call to the
database for the theme.
Issues with this?
I don't think it would break any other theme. They'd work as is. But
if Chameleon wanted to update to use the new magic beans it could.
Cheers,
Mike
More information about the geeklog-devel
mailing list