Tip: never call a drupal theme and a drupal module the same!

in

When developing a Drupal site, it's quite common to have at least one custom module with some overrides and settings. It's quite tempting to call it with the same name of the project.

It is also quite common to have a custom theme, maybe a zen or fusion subtheme, or a renamed version of basic. You might think it's a good Idea to call your theme again with the same name.

Well, don't! It will cause all sorts of weird problems. The most common being that your custom blocks won't show up. (also, some kittens will suffer and die).

So, never call a drupal theme and a drupal module the same way!

Comments

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd><h2><h3><img>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <bash>, <drupal5>, <drupal6>, <javascript>, <php>. The supported tag styles are: <foo>, [foo].

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.