Trent Wyman


Drupal Resources

Essential Drupal SEO Modules:

(1) Global Redirect Module:
GlobalRedirect is a simple module which…
1. Checks the current URL for an alias and does a 301 redirect to it if it is not being used.
2. Checks the current...

To display the user name for the current logged-in user of a Drupal site, while also providing "login" & "logout" links, the following if/else conditional function can be used (or modified as needed).

<?php if($user->uid==FALSE...

The script below is an example of how to embed a view into a node template (.tpl file) in Drupal.

<?php
/* Invoke the views module and assign to a variable */
$myVar = module_invoke('views', 'block' , 'view', 'my-block_id...

1) Backup & Copy site files & database to a Local Site and/or Staging Server, including .htaccess, robots.txt, sites directory (settings.php), contrib modules, custom theme, & files directory. Setup a "Legacy" version of the site to...

To increase the default php memory limit and max file upload size in Drupal 6, the following methods can be performed:

If you have access to your php.ini file add this script (recommended):

In your php.ini file...

The following PHP function checks to see if a particular taxonomy id (term name) exists:

<?php
if(!empty($node->taxonomy) && $node->taxonomy[6]-->name == 'Term-name-here'){
print 'Term exists';
}else{...

Here is an example theme.info file to reference formatting for declaring page regions and style sheets custom to that theme.
------------------------------------------------------------------------------------------

; $Id: theme-name...

Announcements

DrupalCon Denver 2012 - I'm Going!

Press Release:
Michael C. Carlos Museum

Read the press release announcing the Drupal redesign of Emory University's Michael C. Carlos Museum. View Press Release