Heine

  • Home
  • Drupal
  • About

Menu access, a new pitfall when going back to Drupal 5

Heine —Mon, 2009/05/25 - 13:56

If you spend a lot of time exclusively in one Drupal version, you develop muscle memory for its API. This can be pretty dangerous as I caught myself writing the following menu item while backporting a Drupal 6 module.

  • Drupal
  • Planet Drupal
  • Pitfalls
  • Read more about Menu access, a new pitfall when going back to Drupal 5

Drupal 6: $base_path doesn't always point to the frontpage

Heine —Sun, 2009/05/17 - 20:13

Dear themers,

<a href="<?php print $base_path ?>" title="<?php print t('Home'); ?>" ...

.... in page.tpl.php breaks Home functionality on many multilingual sites.

  • Drupal
  • Planet Drupal
  • Theming
  • Multilingual
  • Read more about Drupal 6: $base_path doesn't always point to the frontpage
  • 2 comments

A new form element in Drupal core

Heine —Wed, 2009/01/28 - 09:48

This post was written for a development version of Drupal between 6 and 7. The queries and pager need conversion to DBTNG.

With Commit #167487, a new form element has been added to Drupal core (7.x) to provide an alternative means of selecting items. Now, next to 'select' (combobox, list), checkboxes and radios, core carries the 'tableselect' element. This element allows developers to easily create tables with selectable rows. Ideal for those situations where you have to provide a lot of data on the items to the user.

  • Drupal
  • Planet Drupal
  • FAPI
  • Read more about A new form element in Drupal core
  • 17 comments

The backstabbing March-Hare

Heine —Thu, 2009/01/22 - 01:19

If you use the CVSNT free/open source edition to commit to Drupal.org, drop to the command line and check your version with:

cvs --version

CVSNT version 2.5.04 or later inserts advertising in every commit message. Please, either buy a license for the CVSNT Suite, download an older version, or switch to another client.

  • Let's hope it doesn't become popular
  • Planet Drupal
  • Read more about The backstabbing March-Hare
  • 2 comments

Drupal HEAD and HTTP 500 errors on IIS 7

Heine —Fri, 2009/01/09 - 12:41

If you use PHP via FastCGI on IIS 7 and installing Drupal HEAD (7.x-dev) results in an HTTP 500 error, you may need to increase a number of timeout settings. The PHP.ini ones are fairly straightforward, but setting the activityTimeout for the FastCGI module is not intuitive.

Open a Command prompt with Administrative rights and enter:

  • Drupal
  • IIS
  • Read more about Drupal HEAD and HTTP 500 errors on IIS 7

Drupal clean URLs on IIS 7

Heine —Thu, 2008/10/16 - 10:57

To get Clean URLs working on IIS 7, install the new URL rewriter module (x86, x64) and add the following to the system.webServer section of the sites' web.config:

  • Drupal
  • IIS
  • Read more about Drupal clean URLs on IIS 7
  • 9 comments

Pages

  • « first
  • ‹ previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • next ›
  • last »
Subscribe to Heine RSS

Recent posts

  • Other vectors for SA-CORE-2014-005?
  • Lazy loading: hook_hook_info is for hook owners only.
  • "Always offline" problem in EA's Origin due to antivirus
  • From bug to exploit - Bakery SSO
  • Solving getting bogus dates via MSSQL_QUERY
more

Security reviews

I provide security reviews of custom code, contributed modules, themes and entire sites via LimoenGroen.

Contact us for a quote.

Follow @ustima

Copyright © 2021 by Heine Deelstra. All rights reserved.

  • Home
  • Drupal
  • About