drupal

Two drupal web sites

Organics Aotearoa New Zealand and Organic Products Exporters of New Zealand needed a CMS and member directory, and drupal was a perfect fit.

Moxie did great things with the design side of the projects. Both the designs intentionally use some similar design elements, as they are related organisations.

Read more

drupal with active directory (ldap)

Getting drupal authenticating logins against active directory can be intimidating, at first. I certainly felt that way.

A few hints

  • You will need PHP installed with the ldap extension. Use phpinfo(); to check if it's there. Without that you can't even begin.
Read more

drupal: inserting flash content (youtube videos) fails to display in IE

One of the drupal web sites I work on had a problem where any youtube video that was posted to the site failed to display on internet explorer. Any other browser worked fine.

The code we were trying to insert was this:

Read more

theming just one node in drupal

Drupal's theming system uses file names to decide which theme to apply to whatever page the visitor is asking for. So  page-front.tpl.php is the front page, block-footer.tpl.php is any block in the footer, page-node-10.tpl is the page that contains node 10, etc etc

However, out of the box, there is no way to theme just one node. You can't go node-1.tpl.php and expect node 1 to be themed. To get around this, add the following to your theme's template.php

function phptemplate_preprocess_node(&$vars, $hook) {
  $node = $vars['node'];
Read more
Syndicate content