In Drupal, posts are automatically trimmed to create excerpts, and a “read more” or other like text is inserted in the end of your excerpt to give readers a link to the full page. But what if your entire article is shown in the excerpt and you want to get rid of the “read more” …
Tag Archive: Drupal
Permanent link to this article: http://mikebeach.org/2011/10/09/drupal-more-tag/
Redirect non-www to www (and vice-versa) via htaccess
This is probably old news for a lot of folks, but it’s handy nonetheless and I often have to look up these .htaccess strings. Note that Apache mod_rewrite is required for any of this to work. This (and it’s comments) are based on the Drupal default .htaccess file [License as of 9/30/11: GPL], because the Drupal …
Permanent link to this article: http://mikebeach.org/2011/09/30/redirect-non-www-to-www-and-vice-versa-via-htaccess/
How to create an unfiltered input type in Drupal 7
The default input types in Drupal strip out unapproved HTML tags and optionally format links with tags. If you’re creating a block for some more advanced purpose, such as the insertion of JavaScript or other HTML that you don’t want stripped, you will likely want an input type with no filters. Note that an unfiltered …
Permanent link to this article: http://mikebeach.org/2011/08/24/how-to-create-an-unfiltered-input-type-in-drupal-7/
How to post an email address in Drupal’s ‘filtered HTML’ mode without creating a link
In Drupal’s ‘filtered HTML’ input mode, email addresses are automatically turned into links. However, there are times when you don’t want this behavior, such as when you’re posting a SIP address, Google calendar address, or any string that looks like an email address but isn’t. While you can turn off this behavior globally by editing …
Permanent link to this article: http://mikebeach.org/2011/08/01/how-to-post-an-email-address-in-drupals-filtered-html-mode-without-creating-a-link/
Bad Behavior on Drupal 7
Bad Behavior is a set of PHP scripts that is designed to keep your blog or forum clean from spam by taking a much different approach than typical solutions. While I could go into a big explanation, you can read all about it here That said, Drupal 7 is available for download, but the Drupal …
Permanent link to this article: http://mikebeach.org/2011/04/08/bad-behavior-on-drupal-7/
Drupal and Yourls
Actually, this should work with any CMS supporting PHP code blocks: Drupal, Joomla, WordPress (with a plug-in), phpBB, etc. Has been tested working with Drupal 6, Joomla 1.5. You’ll want to replace YOUR-YOURLS-DOMAIN-HERE below with the actual YOURLS domain, and API-SIGNATURE-HERE with the API key found at your YOURLSDOMAIN/admin/tools.php. The idea was based off this …
Permanent link to this article: http://mikebeach.org/2010/07/28/drupal-and-yourls/
Beware of poorly-written CMS plugins.
CMS systems like WordPress, Drupal, Joomla, etc are rife with plug-ins and modules you can add for extra functionality, but it’s really hard to tell the load that some of those add-ons place on your system and database. When you want to have a website that won’t collapse under load (or take the server down …
Permanent link to this article: http://mikebeach.org/2010/06/27/beware-of-poorly-written-cms-plugins/
Captchas, Anti-spam services, and Bad Behavior
I run this WordPress blog as well as a Drupal-powered forum site and one of the biggest challenges that any webmaster can have is controlling spam — both in comments and user sign-ups. I used to rely heavily on captchas, and I’ve gone through several captcha and non-captcha systems to try to find the “ideal” …
Permanent link to this article: http://mikebeach.org/2010/06/06/captchas-anti-spam-services-and-bad-behavior/
Web Analytics Reviews
I wrote this piece after going through several analytics packages in search of the best fit for my sites and needs. Here’s what I came up with… What I’m looking for in an analytics tool: Ability to track: Page views / Visits and visitor counts (the usual) Referrers / Searched terms from search engines IP …
Permanent link to this article: http://mikebeach.org/2010/05/22/web-analytics-reviews/




Recent Comments