Free Website Tips
Clients Include




Drupal 7
Custom title for front homepage in Drupal 6 and 7
For the homepage of HowToSew.com I wanted to have a custom page title. The obvious answer to this was the nifty Page Title module which I've used with great success in the past.
However, in this case it just seemed like overkill as I only wanted the homepage title customized.
It isn't very tough to do which is handy. Using Sivaji's post on "How to set [a] custom page title in Drupal 7" as a starting place, it only took a moment. Here is the resulting code snippet:
Linking a Field Collection Image using a Link Field
For the homepage of the soon-to-launch HowToSew.com, I wanted to make an easy way for editors to keep the homepage updated. There are a lot of ways to do this, but in this case I used a Field Collection on a specific content type to allow them to add images and links.
However, making the Image field link to the Link field's URL was a chore. Here are the quick steps:
Weight vs. Nodequeue - A comparison on when to use which module
If you're looking for an easy Drupal 7 module to sort nodes with by weight, you will find two options available. The Weight module, and the Nodequeue module.
There is a handy comparison of all the ordering modules available, but it doesn't easily answer which to use when - so here is my answer from experience.
Use the Weight module when...
Remove/change Omega's viewport meta tag on user-set pages
Omega sets the viewport meta tag to something like this by default when you enable (it is enabled by default) the "Allow customizing viewport meta properties on iOS and Android devices" checkbox under Appearance > Settings for your Omega sub-theme. With this checked, Omega prints out a meta tag like this in the <head> section of the pages on your site:
DrupalCon Cliff's Notes: Rethinking Responsive Building Techniques with Drupal
Session: Rethinking Responsive Building Techniques with Drupal
Speaker: John Albin Wilkins - creator and maintainer of Zen theme



