Monday, August 28. 2006
After a request from Garvin Hicking, the lead developer of Serendipity, for a port of the hugely successful Wordpress theme Hemingway to Serendipity, I thought I'd take up the challenge, in between updating this site and continuing to work on other templates - which reminds me, I need to do more on the updated default theme, ah well not enough hours - anyway, enough rambling. The screenshot shows the first very rough draft of the startpage of Hemingway for Serendipity.
This is an interesting template to work on. First, the startpage only displays the latest two entries, and they are truncated. I've been forced to create a new smarty template file for these that removes all the other bits and pieces that you would normally expect from a Serendipity entry, specifically all the plugin code, comments, comment form etc. Those bits might be added back in later.
The next challenge was the sidebars. Hemingway actually uses three columns for sidebars, fortunately Garvin is really wanting to push development of Serendipity and the latest alpha of Serendipity 1.1 includes a new template configuration option that allows the template designer to add more sidebar spots around the screen instead of the previous two.
This is actually an amazingly powerful tool and will mean less troubleshooting in the future. Let me tell you why. At present, any template that doesn't support the traditional left and right sidebars, for example if the template is two column and only one sidebar, is confusing to many new users of Serendipity. What happens is they happily go into their plugin management screen and drag plugins into the left or right sidebar, then expect these to showup in the template, but they don't.
And the reason they don't is because the template only has one column for sidebar plugins, then the user makes a complaint in the forums, and the whole things gets really confusing to explain. The new template option that Garvin has coded will allow the template designer to remove a sidebar column from the options list if it isn't needed, meaning that the user will never even get the option of placing a plugin into a column that doesn't exist - Beautiful, an elegant solution, and a MAJOR step forward for Serendipity theme design.