Archive for the ‘Development’ Category

Trouble with Trac

Tuesday, April 29th, 2008

I ran across two annoying problems when setting up a new Trac project on our xserve today. Thought I’d share my solutions in hopes of helping someone. Our xserve runs OS X Server 10.4.11, and we’re using Trac version 0.11b2.

(more…)

TinyMCE 3.0.5 Drop-down Menu Problem

Monday, March 31st, 2008

I just ran into this today while I was updating the TinyMCE editor in WebTree. I noticed that any drop-down menus created from the “Select Style” or “Select Formatting” options would create a 1-pixel wide “menu” instead of an actual menu in Firefox. Awesome! I looked at the HTML it was generating, and it seemed to include an inline style setting the menu DIV to be 0 pixels wide with a 1px border.

Pretty annoying.

I’m not sure why it was doing this.

In Safari, it would generate the menu correctly the first time you clicked on it. Subsequent clicks to show the drop-down menu resulted in a increasingly narrow menu-width, until about the 5th click, at which point we’d hit the 0 pixel limit.

After much wasted time looking through the source code and finding nothing, I found a hint to an alternate solution in the API to the function that writes out the menu. There’s a new setting, called use_native_selects; that apparently was just added in this version. It looks like it is set to true by default, which was causing it to attempt some unnecessary crap writing out a JS menu instead of the browser-specific drop-down menu.

I added this line to my tinyMCE.init({}) settings:


use_native_selects: true,

And the problem was solved. Not as uniform an experience, but that’s ok. It’s functional, and that’s all I really care about. Not sure if there’s any other reports about this bug, but hopefully this will save you some time. Pretty annoying new feature, though, isn’t it?

A PHP Developer’s Keyboard

Monday, March 31st, 2008

Too many times writing <?php echo(’stuff’); ?>? Or just a dirty pinky finger? Why would my little finger be so much grittier than the others? Why is it red? Pounding out that damn PHP code too hard, probably.

Blogging Upgrade - A New WordPress

Monday, March 31st, 2008

It’s been a long time comin’, but our blogging platform of choice, WordPress (which powers what you’re currently reading), has been completely redone. I had been reading all the buzz over the past few weeks via the Dashboard, Matt’s blog and Happy Cog rumblings and was eager to get us on the now stable 2.5.

So this is the first post with the new system, and the updated interface is much improved. I’m still questions some of the design decisions made (mostly layout issues - which might stem from things just looking “different”") but all in all, it is nice to have a fresh view.

We’ll keep you posted on how much WordPress 2.5 rocks after we’ve used it for a week.