drupal 6.x

Duplicate Content Problems with the Drupal Quicktabs Module

I'm a big fan of the Quicktabs module, which easily lets you create tabbed content in Drupal.  However, there is an SEO problem that people should be aware of when using it.

On my Pitbulls.org site, I noticed Google indexing multiple versions of the same page.  This is known as duplicate content and it can penalize your rankings. Given that I had already modified my robots.txt file specifically to prevent this type of thing, I was a little confused.

Facebook Like Button for Drupal

The Facebook Like button is showing up everywhere. And while it may seem simple to put it on your Drupal nodes and pages, it's a little trickier than normal.

You can't just put a piece of javascript in a .tpl file like you can with the old Facebook Share widget, because you need to dynamically pass the URL of the current page yourself.

But it's easy to accomplish. The following is for Drupal 6.

Read Only Fields for Drupal Forms

When developing CrowdedText.com, I ran into the problem of needing read-only fields once a node had been created.  I didn't want to prohibit editing completely. Only for a few fields.

You can't just hide or disable the field, although that's a necessary step.  Anyone with a tool like Firebug would still be able to edit the html in real-time and submit the form, changing the value.  When some of your backend logic depends on the keeping these values accurate, this is a big no-no.

Syndicate content