Posts tagged Development

Styling XUL elements

I allways have a troubles with styling XUL elements and without DOM Inspector it could be even worse. Today I’ve tried to style <button type=“menu“/> and it also was a hard work but result is pretty good:
As you see I have two types of menu buttons – with label and without – the most [...]

Customizing Thunderbird’s message header view

As I worked on tbNotes extension I needed to add item to the message header view (see the picture).
I didn’t found any usefull informations on MDC or Google so I look into the Thunderbird’s sources (msgHdrViewOverlay.js) file and there I founded it. Solution is simple:
Code placed in overlays.xul:
<!– Message header view overlay –>
[...]

MySQL Trick: GROUP_CONCAT

Today I discovered and firstly used MySQL aggregate function GROUP_CONCAT and it’s really usefull in same cases. Consider structure database like this:
┌───────────────────────────────┐ ┌───────────────────────┐
│ eshop_items │ │ eshop_items_to_genres │
├───────────────────────────────┤ [...]

Venkman JavaScript Debugger for Komodo Edit

Today I’ve noticed on ActiveState Community web that was released Venkman JavaScript Debugger with Komodo Edit/IDE support – this is really great for debugging your Komodo’s extensions. As on Firefox – the only thing you need to do is uncheck Exclude browser files in Venkman’s debug menu.
As usual here are some screens:

Using nsIDownloadManager

In my work I’m currently working on an application based on Mozilla’s XULRunner and I need to implement downloading of blank form (DOC file from remote URI) and I spent with it over one hour – I finally succeeded after I read this page on MXR.
So here are is some code I used and I [...]

Mozilla Dehydra Cross Reference

Wow, this is another „the must have“ tool for Mozilla-aimed developers – the Mozilla Dehydra Cross Reference. I packed it as a Prism application and I love it . See some screenshots bellow and try it!

VisualDiffer for Komodo Edit

Today I found really nice extension for Komodo Edit made by Davide Ficano. I think this is the best Komodo’s extension I’ve seen up today.
And here some links:

extension’s homepage
post about it on Komodo’s forum

And some screenshots:

extensions.checkCompatibility

Have you problems with extensions in beta versions of Firefox 3? I had them too but do you know about extensions.checkCompatibility? No? Yeah, I missed it too – but it’s really great. See more on Glazman’s blog post.
And here how it is look like in the Addons Manager dialog:

Proposal for XUL layout of content manager – part 2.

Here are some updates on my layout proposal – as you can see from the screenshots I consolidate main menu and move it into the left pane (user in its preferences can choose left or right sight) and move control buttons from the left side of each tree into their context menus. Here are the [...]

Proposal for XUL layout of content manager – Part 1.

Last few evenings I worked on deep revisition of on old e-shop (PHP4/MySQL) and here I want to introduce latest proposal of my new XUL content manager (more about old manager – post, gallery 1, gallery 2).

PS: I’m also writing a long post about my fresh experiences about rewritting and exteding old PHP [...]