This post originated from an RSS feed registered with Java Buzz
by scot mcphee.
Original Post: upgrade pebble 1.4 to 1.5 - phase two
Feed Title: SystemExxception()
Feed URL: http://www.autonomous.org/pebble/systemexxception/rss.xml?category=Java
Feed Description: java design and culture by scot mcphee
Well changing the new CSS to look something like the old one was fiddly, but not that bad and I got most of it done in an hour or two.
But editing the rightnav bar was a bit of a pain. Finding where all the various bits are (eg the blog headers and stuff) is a bit tedious.
I found that if you start/stop Tomcat with a shell pwd'd into the blog.home/theme directory it tends to make all your files go missing - lucky that happened to me when I was about to blow the old theme away and replace it with the modified default theme anyway so I did not stress about it. Stay away from editing the files on the disk and use the theme management supplied by Pebble itself.
The online editing of theme is an improvement but a small text area form control is no substitute for a real editor ;-), but you can cut and paste from text area to editor and back easy enough. It's one area I think that needs some help -- perhaps the ability to upload a whole zip file of the themes as well as download one? That way you could get the files as a zip bundle, unzip it, edit them, rezip it and upload the complete set back into your Pebble custom theme.
Well, that's it for me tonight. With a fiddly page layout, it took from from around 19.00 to 23.30 to upgrade satisfactorily from Pebble 1.4 to 1.5 -- four and a half hours -- most of that was tweaking my custom jsp. Phase One below took less than 15 minutes, so if you don't mind the default look or one very similar to it the upgrade is complete trivial.
I might have a look at the source tree from Sourceforge CVS soon and see if there's some easy improvement I can make to parameterising things like the right nav and where the links come from and that sort of thing.