Quantcast
Channel: sam wirch - drupal
Browsing latest articles
Browse All 16 View Live

Image may be NSFW.
Clik here to view.

drupal 6 template.php

Posted In: drupalHere are a handful of PHP snippets to put in your template.php file to allow Drupal to use different page templates depending on your URL alias. It will also take the URL alias and add...

View Article



Image may be NSFW.
Clik here to view.

Drupal 6 Custom Theme Template

Posted In: drupalHere are some resources for creating a custom theme in Drupal 6.The minimum files you need are:.info filepage.tpl.php filetemplate.php fileCSS stylesheetThe .info file describes the...

View Article

Image may be NSFW.
Clik here to view.

Accessing and Displaying Custom Profile Fields in Drupal 6

Posted In: drupalHere are some PHP snippets to display data from custom profile fields you can set up using the core profile module in Drupal 6. In this first example I have a custom user profile field...

View Article

Image may be NSFW.
Clik here to view.

iPhone, iPad and Flash Video with SWF Tools and Drupal 6

Posted In: drupalWhen updating my website recently, I decided to add iPhone and iPad video playback to my video player in case a visitor to my site did not have Flash installed. I more or less followed...

View Article

Image may be NSFW.
Clik here to view.

Backup a Drupal 6 Site to a Local Testing Server

Posted In: drupalOver time, you may find that your production website and the local copy of your website become out of sync. You might find it necessary to create a backup of your site to place on your...

View Article


Image may be NSFW.
Clik here to view.

Top Ten Modules for Drupal 6

Posted In: drupalHere are ten(ish) of my favorite modules to extend the functionality of Drupal.  Views& CCKOften regarded as two of the most powerful modules in Drupal. You can create new fields...

View Article

Image may be NSFW.
Clik here to view.

Be Notified of a New Comment in Drupal 6

Posted In: drupalHere is a way to have Drupal send you an email when a new comment has been posted on your site. This method uses the built in modules, Actions and Triggers, that come with Drupal core....

View Article

Image may be NSFW.
Clik here to view.

Custom Maintenance Theme Pages for Drupal 6

Posted In: drupalRecently, I wanted to change the default "Site Offline" page that Drupal provides to a design that was less generic and more fitting with the style of the website. I needed to have the...

View Article


Image may be NSFW.
Clik here to view.

Don't Forget to Print the $closure Variable on Custom Theme Pages

Posted In: drupalIf you have any modules that add external JavaScript to your pages (like Google Analytics), make sure you have the line <?php print $closure; ?> in your .tpl.php files right...

View Article


Image may be NSFW.
Clik here to view.

Updating Themes to Drupal 7

Posted In: drupalI am in the process of upgrading my Drupal 6 theme into a fully functioning Drupal 7 theme and came across some issues that I wanted to document here as a reference to those in a...

View Article

Image may be NSFW.
Clik here to view.

.htaccess and 301 Redirects in Drupal

Posted In: drupalAfter updating/upgrading your website it is often necessary to define some 301 redirects to make sure end users don't come across a broken link or a file not found error. While...

View Article

Image may be NSFW.
Clik here to view.

MAMP and Multiple Drupal Installations

Posted In: drupalFor a long time I was developing websites using MAMP and creating separate installations of Drupal in sub directories of my htdocs folder to allow me to work on several different...

View Article

Image may be NSFW.
Clik here to view.

Improve Performance of Drupal Site by Serving Compressed Content

Posted In: drupalI recently came across this article to find the correct way to modify my .htaccess file to compress the content of my website.You can use the free yslow Add-on for Firebug to check...

View Article


Image may be NSFW.
Clik here to view.

Adding Javascript to Drupal 7

Posted In: drupaljavascriptI recently wanted to add some jQuery javascript to my website and it's pretty easy to do once you get the correct syntax down.First, I added the javascript file to my theme...

View Article

Image may be NSFW.
Clik here to view.

Be Notified of a New Comment in Drupal 7

Posted In: drupalI previously posted on how to be notified of a new comment in Drupal 6, but there is a slight change you need to make to the settings if you want it to work in Drupal 7.Instead of...

View Article


Image may be NSFW.
Clik here to view.

Responsive Videos with FitVid.js and Drupal 7

Posted In: drupaljavascriptFitVid.js allows you to embed videos from YouTube, Vimeo, and several other third party services on your responsive website and have them resize correctly along with the rest...

View Article
Browsing latest articles
Browse All 16 View Live




Latest Images