drupal

  • : Function ereg() is deprecated in /home/squtch/drupal-5.23/includes/file.inc on line 646.
  • : Function ereg() is deprecated in /home/squtch/drupal-5.23/includes/file.inc on line 646.
  • : Function ereg() is deprecated in /home/squtch/drupal-5.23/includes/file.inc on line 646.
  • warning: Creating default object from empty value in /home/squtch/drupal-5.23/modules/taxonomy/taxonomy.module on line 1418.
  • : Function ereg() is deprecated in /home/squtch/drupal-5.23/includes/file.inc on line 646.
  • : Function ereg() is deprecated in /home/squtch/drupal-5.23/includes/file.inc on line 646.
  • : Function ereg() is deprecated in /home/squtch/drupal-5.23/includes/file.inc on line 646.
  • : Function ereg() is deprecated in /home/squtch/drupal-5.23/includes/file.inc on line 646.
  • : Function ereg() is deprecated in /home/squtch/drupal-5.23/includes/file.inc on line 646.
  • : Function ereg() is deprecated in /home/squtch/drupal-5.23/includes/file.inc on line 646.
  • : Function ereg() is deprecated in /home/squtch/drupal-5.23/includes/file.inc on line 646.
  • : Function ereg() is deprecated in /home/squtch/drupal-5.23/includes/file.inc on line 646.
  • : Function ereg() is deprecated in /home/squtch/drupal-5.23/includes/file.inc on line 646.
  • : Function ereg() is deprecated in /home/squtch/drupal-5.23/includes/file.inc on line 646.
  • : preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/squtch/drupal-5.23/includes/unicode.inc on line 311.
  • : preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/squtch/drupal-5.23/includes/unicode.inc on line 311.

Drupal SPAM module works

The drupal module to catch comment spam caught a posting this morning. Very cool.

I'll be more impressed when I start getting a lot more comments as well as spam comments.

Just to increase my fun playing with it, I also entered the IP address into the Troll module with a one month ban. It came from a DSL line in Germany, so I am thinking about sending an abuse report to them to see if they pull that user's account.

Playing with AdSense

I've followed the workings of AdSense for a while now, but I've just never gotten around to playing with it much. As it is now obvious if you look to the right, that has now changed.

I'm playing with AdSense modules in both Drupal and Wordpress. While they are useful enough to start with, I would really like to put together a system that gives you a lot more control of all your ads. Doing something like being able to set specific overrides depending on what page is showing.

There are so many advertising options out there that might be appropriate for certain pages, but not of general interest around your website. Things like an affiliate link to Northern Tool when talking about a home generator, but I don't think I would want the affiliate link showing up for a page about sewing drapes.

Playing with themes

I just changed the theme to this site. Up till now, I was using the standard on that came with drupal.

The new theme is FriendsElectric, and it runs with the PHPTemplate engine instead of the standard engine. I'm looking forward to tweaking it around some to bet my own look to the site.

I'm also going to play around some with the positionaing of the various blocks, I started out with some on both the right and the left, but that took up all sorts of space when I wanted to print out a recipe. I'll probably put some back over on the right after I get the printable pages working.

I also want to mess around with putting up ads, but in a sensible fashion.

Added chat to the site

I just added a module called Chatbox to the site. A friend of mine was looking in to chat software, and I decided to give it a go to see how it works out.

To use it, you will need to register and login. Then go down the left column to find the link to join the chatbox. I set the refresh to 20 seconds for now, at least till I see how much of a load it puts on the server.I doubt that it will be all that much, and I will be able to crank it up to a 10 second refresh after a while.

Of sourse there needs to be a couple of people around at the time for it to be of any use. I'm online most afternoons.

Changing Recipe Module

When I first started playin with Drupal, I was excited to see that there was a module for posting recipes to your site. How cool is that?

Well, it didn't take me long to realize that there were lots of problems with it. To start with, there was no way to have a recipe with multi-part ingredient lists. For example, with Kung Pao Chicken, in addition to the main ingredients, there are also lists for the sauce and for the marinade. As it happens, that Kung Pao Chicken recipe was the first one that I wanted to enter.

Even worse, there was a separate field for each ingredient, and the standard form only had room for 6 ingredients. You had to click a check box and hit preview if you wanted to enter more than 6. And it would only add 6 more lines when you did that.

MotD is Pathauto

Drupal actually has a pretty sucky standard design from both a processor use and search engine optimization perspective.

Fortunately, at least the SEO part of the equation is helped out with the addition of a couple of modules and a setting.

Most important is the setting "Clean URLs", which uses mod_rewrite in Apache to change the URLs from http://www.example.com/index.php?q=node107 to http://www.example.com/node107. The "?q=" part, in addition to being rather ugly, has been known to confuse some search engine spiders. Not to mention that if you add more values beyond one or two, some spiders just refuse to follow those links.

Module of the day is gsitemap

I've decided that I'm going to try out one Drupal module a day on this site in addition tp any content that I might add. Today's module is the one to generate a sitemap of all the filenames that are available for Google to crawl.

Google sitemaps give the webmaster the ability to tell google which files exist and when the last time they changed. This reduces the bandwith requirements for both Google and my website. It also lets Google know when a new page has been created, so it you don't have to wait for Googlebot to find it on its own.

Syndicate content