I've updated the comment code in Connections. Feel free to leave a comment and let me know if anything seems awry. If it's bug free, it's probably time I released another version. Boy, am I sick of it though. I really need some time to write a new theme.

I've now released my second Habari theme, a port of the WordPress Japanese Cherry Blossom theme [I'd link to the original author's site, but it's a holding page at the moment. I'll update if I find out where to link to.] As with the Connections theme, it's an extremely basic and direct port. There is no support for plugins, no blogroll and no archives, and there are known bugs. I'll fix them as I have the time. Please let me know if you try it out. As always, thanks to the Habari community.
I've now released version 0.1 of the Connections theme for Habari.This was necessitated by a recent Habari core change that broke the theme, but enough else has been added for this not to be beta any more. As always, comments are extremely welcome.

Details

  • Increase padding on date so long months don't overflow.
  • When multiple posts are displayed, display the first in full and subsequent posts as excerpts. Comment out the appropriate line in theme.php for all full posts.
  • Nicer handling of tags with no posts.
  • Move post.php to entry.php and only use the template for entries. Pages are ...
[read more]
I've just released version 0.1beta of the Connections theme for Habari. I'm happy to move to beta now because I'm actually using it on this site, and have made a lot of updates (0.1alpha was actually pretty badly broken). Please let me know if you use the theme, or even if you test it.

Details

  • Use the comment content output set up in theme.php
  • Removed redundant tagline from the sidebar
  • Changed class content to id content in entry.multiple (which it should have been all along).
  • Changed post.php so that it does not include the date, and moved the date ...
[read more]
Michael Bishop (aka miklb) over at Blogging Meta has released a new version of the Mzingi theme for Habari. I used Mzingi as a reference when I was porting the WordPress Connections theme to Habari, trying to figure out how Habari themes work. It's a really nice theme. Kudos to Michael for all his great work with Habari.
Now that WordPress comes with tag support, you might have posts that you only want tagged and not categorised. To set that up in the Connections theme, you'll need to set up a category that you don't want displayed (I used 'Uncategorised' and no, I don't live in America, thank you), and edit post.php. If you enabled tags by following my instructions for enabling tags in Connections, you'll have some code like this: Posted by <?php the_author(); ?> under <?php the_category(' '); the_tags(', tagged ', ', ', ''); edit_post_link(' (edit)'); ?> The call to the function the_category()...
[read more]
I've just released a port of the WordPress Connections theme by Patricia Müller for Habari. At the moment it's an extremely basic and direct port. There is no support for plugins, no blogroll and no archives. If anyone uses it and has any requests, let me know. In fact, if anyone uses it, feel free to let me know. This is my first Habari theme, so it's probably really crappy. I don't mind if you tell me it's crappy if you do it in a nice way or tell me how to fix it. I did derive some of ...
[read more]
I previously dismissed PHP's alternative syntax for control structures, but after spending some time working on themes for WordPress and Habari, I've come to realise that it's actually very useful from a readability point of view. The point is that if you have a mix of code and HTML, as themes do, then it can be very difficult to work out what control structure that lone dangling close brace is actually closing. By spelling it out with a endif, endwhile or endforeach the code is made just a little bit clearer. So, for templating, okay, I'll accept it. ...
[read more]