How to bulk delete all unapproved comments in Drupal?
Responsive Youtube Embed in Drupal without installing Modules
I was using Omega and needed to make Youtube embeds be responsive to match my responsive design (without installing any module) and have them resize correctly along with the rest of my content. After some Googling and research, I came up with this solution.
The trick from WebDesignerWall is very simple. You need to wrap the embed code with a
Upgrading imagecache presets to Drupal 7 image styles
While doing a Drupal 6 to 7 upgrade for a web project, I was wondering if there was a way to upgrade my imagecache presets to Drupal 7 image styles. Image styles in Drupal 7 are the equivalent of Imagecache presets in Drupal 6. I found out that you can do it via Features or finding another solution (the one posted by Drupal user Vladimir). Here's how I migrated my Drupal 6 imagecache presets to D7 image styles. Create file in "Drupal_ROOT" and paste the following code:
Displaying Recent Tweets in Drupal
There are many ways on how to show your recent tweets in Drupal sites. I am going to show you two methods to achieve this.
Custom code
Using the following code in a custom block. Working for both Drupal 6 and 7.
Drupal 6 cache_form table overload issue solution
A known issue in Drupal 6 where cache_form table isn't cleared when the items are expired. This causes cache_form to grow without an end. Solution?
In phpMyAdmin, truncate the cache_form table using the following query:
This issue is fixed in drupal 7.
Voilà !