Modifying Widget Titles in WordPress
Posted on | February 19, 2010 | 1 Comment
On a recent project, my client wanted graphical headers for the widgets on her WordPress blog. Unfortunately, widgets are not that easily themed. Nor can you do this in CSS.
The internet was no help. Lots of people were suggesting using a “dyamic_widget_params” filter. Nope, that isn’t what I want. I don’t want to modify before and after the title, I want to actually change the title.
But, with some poking around, I figured it out. It’s actually pretty easy.
How To Run Sandboxed Django Sites in Production
Posted on | January 13, 2010 | 2 Comments
Recently, I moved all my sites from a dedicated server to a great VPS over at SliceHost. I took the opportunity of “the big move” to fix an ongoing problem I’d had, which was that all four of my Django sites were using the same libraries.
Ouch! That meant that I couldn’t update any of my sites without updating all of them, or at least retesting all of them.
This article will explain how I sandboxed my Django sites, so that all of them have their own versions of the appropriate library, and how I have them all running on the new production server.
Read moreRunning Wordpress on Lighttpd
Posted on | December 29, 2009 | 1 Comment
I’ve finally moved the site to a new server. My new host is a 1 gig slice at SliceHost, which will be hosting all my sites (yes, I really need a 1 gig slice) from now on.
One of my big goals was to completely drop Apache. I just don’t like that server. Ugly to configure, huge, slow & bloated. I much prefer Lighttpd for my Django & Satchmo projects, but I hadn’t ever tried using it for PHP. Today I bit the bullet and started the transition.
Speaking at DjangoCon 2009
Posted on | August 24, 2009 | 1 Comment
I’m going to be presenting at DjangoCon 2009! The 45 minute presentation will be on the advanced use of Django signals to promote reuse. I’ll be using Satchmo as an example of how to create very useful custom signals to allow for some quite complex customizations. If you want a copy of the presentation, please sign up below and I’ll send it after the convention.Django, the web framework for ponies with magical powers
Posted on | July 28, 2009 | No Comments
Last year at DjangoCon, one of the most interesting sessions was the one where people presented their “pony requests”, and made a case for their pet feature to be built into Django.
Shortly after that, the first logos for the Django Pony began to appear, followed by the inevitable (in retrospect) djangopony.com.
This morning, I discovered that NASA uses Django and even has a Django Pony page.
Fly, little pony, spread your meme wide!Technorati Tags: django pony, django, djangocon
My Top 5 Most Used Web Applications
Posted on | July 22, 2009 | 3 Comments
In the past, I’ve written about several of the programs I use daily on my Mac. But as the web matures, I find that several of the “applications” which have become indispensable to me are web applications. I use every one of these on a daily basis. Read moreAll downloads should be working now.
Posted on | March 16, 2009 | No Comments
In the changeover to the updated Wordpress installation, I somehow managed to misconfigure the downloads. It is fixed, and everything should be working now. Please let me know if any files are still missing for you.A short example using django-app-plugins
Posted on | November 27, 2008 | 7 Comments
At Djangocon a couple months ago, I was intrigued to hear about Django App Plugins. This small app adds the ability to make mount points in your Django templates.
That way, you can have your apps insert text into your templates just by referencing the mountpoint in the template. This allows you to have apps which possibly aren’t central to your main application add text which you wouldn’t want to put into the default template.
Unfortunately, there is absolutely no documentation, so I spent the evening working out how to get this to work. There are tons more options than what I’ve figured out, I think a simple example is much better than no documentation at all.
Git SVN Error – Fixed
Posted on | September 16, 2008 | No Comments
While working on a SVN project using my new favorite tool, “git”, I ran into a small problem. A network bobble caused the subversion portion to fail. I stopped it, but then when I tried again, git said:
Cannot dcommit with a dirty index. Commit your changes firstor stash them with `git stash'.
Read more
Weewar Status Notifier for Adobe Air
Posted on | June 10, 2008 | 15 Comments
I’m pleased to announce the release of my first Adobe AIR application. This is a simple little desktop (not browser) app which checks your status on Weewar to see if you have any games waiting for your attention.
Revision 2.2 feature list:
- Checks your status using the Weewar API
- User settable interval between checks
- You can force an update by clicking on the “games waiting” message.
- Semitransparent, draggable window
- Built with HTML, not Flash.
- (New in version 1.1) If you have waiting games and you click on the message, you’ll open a new browser window and go to your headquarters.
- (New in version 1.2) Works on Windows.
- (New in version 1.3) Turns red when you have games waiting. Resizes to fit contents.
- (New in version 1.4) Lists the games waiting for your attention
- (New in version 1.5) Added the option to have the window always stay on top
- (New in version 1.5) Changed the last checked display to show “xx minutes ago”
- (New in version 1.7) Compatible with AIR Beta 2
- (New in version 1.7) The window floats to the top automatically if you have waiting games. That way it doesn’t get buried but you don’t have to have it always floating on top of the other windows.
- (New in version 2.0) Updated for Adobe Air 1.1
- (New in version 2.2) You can now click on the “checked x minutes ago” status line to do an immediate status check.
Installation
- Install the AIR Runtime. It is very small and fast.
- Download Weewarify 2.2
- Install the app by double-clicking on the downloaded installer.
- The first time you run it, it should detect that you haven’t configured, and show you the configuration window. Put in your username and your “token” from your Weewar account page.
- Click the icon on the top right to save and flip back to the status page.
- That’s it, the program will now check Weewar every few minutes for you.
- Important! If you let the installer run the app after install (which is the default), it doesn’t work. I have no idea why. Just quit and restart it. It will work when launched normally.
- WARNING: Doesn’t work on Windows at the moment. I’ll fix very soon.
Open Source
Feel free to contribute, browse the source, report bugs, or request enhancements at Weewarify’s home on Launchpad.Technorati Tags: air, adobe-air, weewar
keep looking »