From: ptkwt@... (Phil Tomson) Date: 2004-12-03T02:37:43+09:00 Subject: Re: Hobix: Modifying sidebar In article <41AECBCF.4000609@whytheluckystiff.net>, why the lucky stiff wrote: >Phil Tomson wrote: >> I'm trying to modify the sidebar of my hobix blog. I want to add a >> 'contacts' section to the sidebar. >> >> From reading through some of the archives it seems like I should add an >> index.html.quick file to my skel directory which contains: >> >> sidebar_list: [sidebar_archive, sidebar_links, sidebar_contacts, >> sidebar_syndicate, sidebar_hobix] >> >> Where 'sidebar_contacts' is a new entry. > >What do you mean exactly by 'entry'? The 'sidebar_contacts' is, yes, a >new entry in the Quick Template YAML file 'index.html.quick', but, no, >not a new blog entry. Yep. Sorry for the ambiguity. I mean new entry in the list. > >Try this: > > sidebar_list: [sidebar_archive, sidebar_links, sidebar_contacts, > sidebar_syndicate, sidebar_hobix] > sidebar_contacts: | >
>

Contacts

> >
This worked! Thanks. > >For the full details on Quick templates, try these two howtos: > >+ Using Quick Templates >http://rubyforge.org/pipermail/hobix-is-the-way/2004-September/000003.html >+ Using Quick-Summary and Quick-Archive >http://rubyforge.org/pipermail/hobix-is-the-way/2004-September/000008.html > I looked at those prior to posting. I have to say I found them a bit confusing... do I use yaml or do I use erb? Apparently I could use either or both. >> >> When I do a 'hobix regen blogName' I get: >> >> /usr/local/lib/ruby/site_ruby/1.8/hobix/out/quick.rb:79:in `method': >> undefined method `sidebar_contact_erb' for class `Hobix::Out::Quick' >> (NameError) > >I will remedy this tomorrow. Heil. > Thanks, why. Out of the box, Hobix is very nice. I've got it set up so that whenever I send email to a certain address with a certain subject it gets posted (along with attached photos) to my hobix trip-blog automatically. Phil