Coder’s Eye

A site about one of the three passions in my life.

Coder’s Eye header image 4

Entries Tagged as 'Best Practices'

Tricky Drupal Javascript Loading Problem

May 7th, 2007 · 1 Comment

A short tale about squashing a bug.
You see, my mistrust for IE made me miss the real problem. What was happening was that in IE 7 on Vista, a site I’m building for a client was not loading any Javascript. It wasn’t even loading the base Javascript "jquery.js" and "drupal.js", so my site […]

[Read more →]

Tags: Drupal · Tips

Django auto_now Removal Gotcha

May 6th, 2007 · 2 Comments

The latest Django revisions have removed the shortcut handlers "auto_now&quot and "auto_now_add". This didn’t look like a very big deal to replace.

[Read more →]

Tags: Tips · Django · Python

VPN Client for Vista using Parallels

April 23rd, 2007 · No Comments

A recent client needed me to run some Windows-only software from their network.

[Read more →]

Tags: Tips · Macintosh · Downloads

Lighttpd on Cpanel VPS

March 28th, 2007 · 11 Comments

Working on a new project for a client, I need to run Django/Satchmo.

[Read more →]

Tags: Domains · Hosting · Best Practices · Tips

Enhancing FAQs with jQuery

March 8th, 2007 · 4 Comments

I’m so pleased by how useful and concise jQuery has been for my development of a dynamic FAQ module for Drupal. I can’t share that module yet, but I can talk about the jQuery that gives it a snappy and useful facelift.
It isn’t original, of course. Just click-to-toggle questions on a faq page. […]

[Read more →]

Tags: Tips · Javascript

CSSEdit is my friend

February 24th, 2007 · 2 Comments

Developing sites for clients involves a lot of heavy CSS work for me.

[Read more →]

Tags: Reviews · Tips · CSS

Howto Reset The Admin Password in Django

February 16th, 2007 · 8 Comments

I keep needing to do this, darn it! I leave a project for a few months, possibly push it live, and then I go back to fire up the dev server but I simply cannot remember the password I used for admin during development.Why don’t I use my stupid-development-password? I don’t know, but this seems to happen with some regularity.Luckily, it is trivial to fix with a few lines at the python commandline.Deep:/opt/webapps/invisible bruce$ ./manage.py shell 20:49:14 DEBUG root: loaded from /Volumes/Shoebox/Users/bruce/.logging.invisible.conf20:49:14 DEBUG settings: DEVELOPMENT MODE20:49:14 DEBUG settings: DEVELOPMENT MODE2007-02-16 20:49:15,610 - root - DEBUG - loaded basic config20:49:15 DEBUG root: loaded basic configPython 2.5 (r25:51918, Sep 19 2006, 08:49:13) Type “copyright”, “credits” or “license” for more information.IPython 0.7.2 — An enhanced Interactive Python.? -> Introduction to IPython’s features.%magic -> Information about IPython’s ‘magic’ % functions.help -> Python’s own help system.object? -> Details about ‘object’. ?object also works, ??

[Read more →]

Tags: Tips · Django · Python

Semitransparent rollovers made easy with JQuery

February 3rd, 2007 · 26 Comments

I’m continuing to enjoy working with jQuery.

[Read more →]

Tags: Tips · Open Source · Javascript

Dell CN 3100 for OSX

January 24th, 2007 · 8 Comments

I just got my beautiful new color laser printer from Dell. I did a lot of research, and I really think Dell’s CN3100 is the best color laser under $400 (if you buy it from delloutlet.com).

[Read more →]

Tags: Equipment · Tips · Macintosh

Howto use Satchmo as an App

January 10th, 2007 · 3 Comments

I’m going to be using Satchmo to power the backend of a highly customized store that I’m building for a new client.

[Read more →]

Tags: Best Practices · Django · Open Source · Python