Tutorial: Skinning your site

domesticat's picture

Not all the changes that take place here show up on the front page, but some are worth noting here when they happen.

For quite some time, I’ve been muttering that I needed to write up a real tutorial on how to create skinnable (or themed) websites. What I’d previously made available was seriously under-documented and, I think, had a few errors in the code.While walking Christine (of blahblahblog.com) through the process of making her site skinnable, I started making notes. By this morning, I’d amassed enough notes that I could no longer ignore the fact that I was sitting on a tutorial.

So, at last, here is a decent explanation of what it takes to really make a site thoroughly skinnable, plus some generous snips and bits of code to help smooth the transition. The explanations, plus code and suggestions on how to structure the back-end portion of your site, take up a whopping ten pages. Ouch. (I knew there was a reason I didn’t do this any earlier.)

I’m hoping this helps matters for the people who are thinking of skinning (or theming) their sites. I’d like to update the code a bit more—insert some stuff about deleting old cookies and perhaps fixing the (to me) clumsy way it redirects you once you’ve selected a new skin. That, for sure, is should be left for another day entirely.

Now, if I could just get the rest of the front flowerbeds weeded, I’d be ahead of my game.

Edmund’s been loving this; I do believe that cat has spent the entire day snoozing on my desk. Ever since we got home from dragon*con, he hasn’t wanted to be more than ten feet from me. He generally doesn’t want petting, doesn’t want to be cuddled—just wants to make sure that I’m not going to pull another five-day vanishing act again anytime soon.

For now, I think my karmic duty is to turn off the computer, sit on the couch, and scritch whichever cat shows interest in having his head scratched.

jimenezcricket's picture

Skinning

I'd be interested in seeing your skinning tutorial. I'm having some problems, and not sure of some things. I noticed it says page not found. Veronica

Post new comment

User login

Recent comments

  • Anonymous 3 days 11 hours ago [view]
  • Charli 2 weeks 3 hours ago [view]
  • quiltmom anna 3 weeks 3 days ago [view]
  • rslatkin 3 weeks 5 days ago [view]
  • Donna 3 weeks 6 days ago [view]

Search

Hello, anonymous!

If you're seeing this, you're not logged in. A lot of content here is only visible if you're logged in, and comments by anonymous users are held for moderation. Consider getting an account to save yourself some frustration?

domesticat.net

is the home of Amy Qualls-McClure since 2000. She is a Drupal / quilt geek in Huntsville, Alabama. One spouse, two cats, no kids, lots of opinions.

Public account for work and Drupal stuff: Private account for friends and personal life:

me on plurk me on drupal.org my music habits on last.fm my photos on flickr my bookmarks on del.icio.us my bookmarks on pinboard.in Amy Q. on foursquare what I'm reading

Some content is locked. Copy these links AFTER logging in for a query string giving you full feed-reader access:

Atom feed, entries RSS feed, entries RSS feed, comments