Posted: Fri Jan 27, 2006 4:48 am
When I made Ladybug, I wanted to do an all-CSS source-ordered layout. It worked, too. I had to get a little creative to account for the possibility that I might not have any particular side column, but I got it.
Ladybug also uses fixed-width sides with a fluid center. I'm not sure how they managed the full-height columns, but that's cool.
It's not that difficult to accomplish anything, with Smarty templating. You basically modify the index.tpl to link your stylesheets, then call the appropriate functions at the appropriate places.
There is no header function; we basically write our own and include the hompage link ($serendipityBaseURL) and the link titles ($head_title and $head_subtitle). You could include anything you like.
The left and right sidebars are created by calling {serendipity_printSidebar} with side="left" or side="right". Again, you could put that anywhere you liked.
The blog content is in the variable $CONTENT. That's #col_a in your example.
The footer (if any) is printed by calling {serendipity_hookPlugin hook="frontend_footer"}.
Tah-dah! The layout you've been looking for.
Incidentally, is this a variant of the Jello Mold layout? I haven't had the opportunity to examine that one in detail, but it sure looks interesting.
Ladybug also uses fixed-width sides with a fluid center. I'm not sure how they managed the full-height columns, but that's cool.
It's not that difficult to accomplish anything, with Smarty templating. You basically modify the index.tpl to link your stylesheets, then call the appropriate functions at the appropriate places.
There is no header function; we basically write our own and include the hompage link ($serendipityBaseURL) and the link titles ($head_title and $head_subtitle). You could include anything you like.
The left and right sidebars are created by calling {serendipity_printSidebar} with side="left" or side="right". Again, you could put that anywhere you liked.
The blog content is in the variable $CONTENT. That's #col_a in your example.
The footer (if any) is printed by calling {serendipity_hookPlugin hook="frontend_footer"}.
Tah-dah! The layout you've been looking for.
Incidentally, is this a variant of the Jello Mold layout? I haven't had the opportunity to examine that one in detail, but it sure looks interesting.