Round Rock / Austin, Texas
Drupal Web Developer

Blog

Adding HTML Tags to Titles in Drupal

html in node title drupal 7

By default Drupal will not rendor HTML tags in a node's title.  While the "HTML Title" module works for rendoring the actual node correctly it does not work for printing the title correctly in a view.  Here's a little work around I used.

[field_youtube_video_link] More

Theme Your Drupal Search Results Page Using a View

Theme Search Results Using View

Want to make your Search Results page match a view you've already themed and formatted? Good news! You can do this pretty easily with just a few steps.

[field_youtube_video_link] More

Theming the Search Form in Drupal

Theme Drupal Search Form using template.php

Want to customize the Drupal Search Form with a placeholder, custom size, custom submit button text, or use an image for the submit button?  All of the things can be accomplished by adding a function to your theme's template.php file.

 

[field_youtube_video_link] More

Check to see if Drupal Content Type in template.php

Drupal if Content Type

Today I came across some error messages on my Search Results page because I was checking for a content type in my template.php file's preprocess_page function. Here's some code to to check that you're actually on a node prior to checking the content type.

[field_youtube_video_link] More

Adding Custom Fields to Ubercart and Getting them to Display on Invoices and Emails

Ubercart Extra Fields Module

Here's how to add custom fields to the Ubercart checkout screen and get the values to show up on Customer Invoices and Store Admin Emails.

[field_youtube_video_link] More

Pages