April 2010
Promising New Drupal module handles Ubercart SSL pages better than Secure Pages Module
We recently developed an e-commerce Drupal site using the popular module, Ubercart. Ubercart is fantastic as an e-commercie plugin for Drupal. It's miles ahead of anything that's available for Joomla. However, one thing that Ubercart does not do natively is handle SSL (Secure Sockets Layer) pages. These are secure pages needed when accepting credit card payments on a website in order to properly protect and encrypt payment information given by the purchaser. You know you are on an SSL page when your browser address changes from http:// to https:// .
How to Redirect the Root of a Sub Domain to a Subfolder with .htaccess and mod_rewrite
Sometimes as a web developer, I get the oddest requests. I recently needed to redirect the root of a subdomain to a sub folder within that sub domain. So basically I wanted to send a request for subdomain.example.com to subdomain.example.com/subfolder. I was able to achieve this by using Apache mod_rewrite and .htaccess. You will need mod_rewrite enabled on your server and hopefully you are on a Linux / Unix paltform for this to work. At the root of my domain I created a .htaccess file with this code:
- #Enable mod_rewrite
- Options +FollowSymLinks
Photo: The back streets in the North End of Boston
My girlfriend and I were having a leisurely day wondering around the back streets of the North End in Boston. I grabbed this three exposure bracketed HDR series with my Canon EOS 7D. Processed in Photomatix, then LightRoom 3 Beta and finally Photoshop CS3. Tameron 10 - 24 MM ultra wide angle zoom @ 10 MM. 
How to Customize and Theme Post and Date info in Drupal
When I was theming my blog in Drupal, I decided I wanted a better way to customize and display post info such as wording used and the way date was displayed. The first step is to have a look around and see where the code is coming from that renders this info. I viewed the files in my custom theme folder and discovered these few lines of code in node.tpl.php
- <?php if ($submitted): ?>
- <span class="submitted"><?php print $submitted ?></span>
- <?php endif; ?>
In HTML, that is rendered as:
- Submitted by highrockmedia on 4-01-10

