Comment Spam on Drupal

Image credit: Luc De Leeuw

Back in the 90's when the web was fresh and new and full of promise, we imagined information shared freely around the globe in a technical utopia. Our lives would be immeasurably better and everyone would share cat photos and live in harmony. What happened? Spam happened. (At least if you ask me.)

Google Fonts for Drupal... The Hard Way

Manual typesetting

Image credit: Willi Heidelbach

I may have turned into a Drupal curmudgeon. The signs were already there... I don't install WYSIWYG editors unless I have to. More and more I choose to write code rather than install a module.

I had been using the Google Fonts module and I wanted to switch fonts. There was a problem with the new font for some reason—I spent about 30 minutes troubleshooting before I gave up and decided to just do it manually.

How to Fix Drush Make Error on the *New* D7 Drupal.org

UPDATE: This bug on drupal.org has been fixed. I'll keep this article published, but it will no longer be listed on the front page.

Drupal.org is now (as of Halloween 2013) on D7. This is good news with improved features, especially in the issue queues. However, something happened with the upgrade that broke my drush make. There's something different in the project information on drupal.org. (See: https://github.com/drush-ops/drush/issues/234 if you'd like more info.)

My .gitignore Trick for Drupal Using Multi-site

I'm always tweaking my Git setup in search of version control nirvana. One thing I've been doing over the past several months makes use of .gitignore and Drupal's multisite feature. The default .gitignore for Drupal 7 looks like this:

Lazy Man's Guide to Drupal DB Performance

Or... How I got my server to run OK without wasting too much time.

Database performance, whether in Drupal or any other platform is serious business. There's a lot of benchmarking, analyzing queries, forming hypotheses, making changes, benchmarking again... I've done it and it can take a team weeks to hit performance targets on a major enterprise application. Everyone wants a shortcut. There really are no shortcuts, but sometimes a few tweaks can get you to "good enough".

Git and Drupal: my .gitignore file

If you're doing anything more than just experimenting in Drupal, you should be using some sort of version control software. If you haven't already picked a version control system, you should go with Git. Why?

Drupal hook_page_alter() example

Frypan Module Explained

Thanks to Pasada Media's generous offer of a free beer for anyone demonstrating a live Drupal 7 site at the Toronto D7 Release Party, I decided to upgrade this site. Now I get to play with the new toys in D7!

The Problem with CSS Grids

The 960 Grid System: - designed to make page layout easier, but it's not without a few problemsThe 960 Grid System: - designed to make page layout easier, but leads to tighter coupling between content and presentationCSS was designed to improve web page layout by separating presentation from layout. By separating content (HTML) from presentation (CSS) there is looser coupling from a computer science perspective. The whole idea is that you can change the layout of the entire site by changing the CSS without any changes to the content. The problem is to get anywhere beyond the basics of layout and cross-browser compatibility, CSS takes time to learn and can be frustrating.

CSS grids like the 960 Grid System came along offering the advantages of CSS with fewer layout hassles. Using a grid for layout is nothing new--graphic designers have been using the grid concept for print layout for years. (See: http://en.wikipedia.org/wiki/Grid_(page_layout) )


Subscribe to RSS - Drupal