Coder’s Eye

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

Coder’s Eye header image 4

Entries from February 2007

jQuery Selector Magic

February 27th, 2007 · 1 Comment

I’ve been working on a Drupal module to automatically make CSS-styled drop-down menus from the built-in menuing system. That’s been going great, and I’m really enjoying Drupal’s modular architecture and theming abilities.

[Read more →]

Tags: CSS · 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

Taxonomy Theme, how I love thee

February 20th, 2007 · 2 Comments

I’m building a new Drupal 5 site for a client, and I was dreading the hack-work I was going to have to do to make it look like what the designer had come up with. There are at least five distinct page templates in the crazy thing!So, I started trying to figure out how I would handle such a beast.

[Read more →]

Tags: Drupal · PHP

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