Archive for October, 2006

useful CSS hack - replace an image with an.. er.. image

Wednesday, October 11th, 2006

via hicksdesign:-

img {
width: 0;
padding-left: 20px;
background: url(mynewimage.gif) no-repeat;
}

I have a real-world example of where this would be useful in plone skinning - in some places inline images are still used for icons (here and there - they are generally being phased out). At the moment I usually set them to display:none and apply padding and background image to the containing element, but this may be a better solution.

iPhoto ftp export - does it exist?

Wednesday, October 11th, 2006

I’m surprised that I still can’t find an ftp export plugin for iPhoto. This would be really handy for maintaining websites but also using the ftp facility with photobox . In fact a photobox export plugin for iPhoto would be even better. If anyone knows of one or a tried and tested solution please leave a comment here!

Find the best places to buy digital cameras on the Internet. You can compare prices before you shop at Pricerunner.com.

I got the power

Wednesday, October 11th, 2006

cocnut battery app showing high capacity

and just like that my battery fixed itself! Ha. if only - I actually coughed up and bought one from ebay in the end as the Apple store one isn’t going to arrive until well after plone conf seattle (but when it does i’ll have a spare which will give me a full working days worth of battery power). I think the calibration is confused at the moment as it thinks I have 4539mAh capacity (out of 4400mAh) - the battery status think in mac osx is stuck on “calculating”

Redefining Content Management

Friday, October 6th, 2006

This is a useful article about what Content Management is (and isn’t). Probably very useful to give to clients who aren’t sure what they want or need (or don’t need) in the way of a CMS.

using BackgroundImageCache to solve background image flicker in IE

Wednesday, October 4th, 2006

Fantastic - at last a solution to IE background image flicker that doesn’t involve applying background images to containing elements. I will be using this - I’ll be interested to know if I can use the IE CSS filter version without a performance hit, as that could just sit in my IE-only stylesheet.

scared of the nasty plone import error - save me from defecting to drupal

Tuesday, October 3rd, 2006

DFR Skate Zine is the lovechild that keeps me and Plone together outside of our business arrangement.

I need to move the site from plone 2.1 to 2.5, and i’ve been putting it off.

I provisionally tried a quick import of the zexp for dfr skate zine (exported from the live site on plone 2.1) into a fresh plone 2.5 install on my mac. After resolving the dependencies (see previous post) I was left with this import error:-

‘ascii’ codec can’t decode byte 0xe2 in position 4: ordinal not in range(128)

it’s this sort of error that makes me shudder, then panic that I have lost all my content (even though it is all still online!), I then start to make threats to rebuild the whole thing in drupal unless someone can help me out ;-)

Full traceback

moving a plone site

Tuesday, October 3rd, 2006

something worth bearing in mind when moving a plone site (or upgrading a plone site, or any other process that requires a full export and reimport of a plone site). If like me you have a habit of installing lots of products just to see what they do, it is worth uninstalling them (removing any objects in the site created using them first) before you do the export. Otherwise you might just find yourself having to track down all the products you used at any point on the site before it will let you import the zexp.

Things to do in Seattle

Tuesday, October 3rd, 2006

As I mentioned before a few of us from netsight are going to Plone Conference 2006 in Seattle. Besides actually attending the conference i’ve been reading up on other things to check out while i’m there. I plan to visit a few of these coffee shops with wifi and i’ve also just read that the blog business summit is also on at the same time - maybe there could be a bit of cross-fertilisation there as many of the plone bloggers will be at Plone conf?

plone navigation current folder/ node

Monday, October 2nd, 2006

I wonder if I am missing here - While the plone navtree is set up to help me apply a style to the currently selected item, I can’t think of a way to apply a style to the parent folder of that item. If the current location is something like:-

root -> sub-folder 1 -> item 3

“item 3″ will have a class of :”navTreeCurrentItem” applied to it, but I would also like “sub-folder 1″ to have a class, something like “navTreeCurrentNode” so that I could apply a style to that too.

I can’t think of a straightforward way (well, any way in fact, I get so lost trying to find the relevant bit of code in plone 2.5) to do this, please let me know!