Web Development

How to bulk delete all unapproved comments in Drupal?

Sun, 06/08/2014 - 21:10 -- Samira

Do you have the problem of thousands of spam comments building up on your Drupal site? Ok, the best solution is to check it regularly and delete the unwanted comments, and just leaving the appropriate ones. However, what if you forget to look at your comments for a few days, if you go on holiday for a week and don’t check your blog or your site has been attacked? You can delete these comments manually but this is time consuming (Drupal admin interface only shows you a list of 25 items). This method will allow you to delete all the unapproved comments and leaves the approved ones intact.

Upgrading imagecache presets to Drupal 7 image styles

Sun, 12/30/2012 - 20:46 -- Samira

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.

Disable comments by default for specific content type

Thu, 03/15/2012 - 00:36 -- Samira

You can disable comments from your content types admin by editing the content type on which you want to disable comments.
Go to admin/content/types, In the Comment settings section, set Default comments setting to Disabled. Save the content type. You are done! But, this will only change new posts, what for the existing posts? You have to change them manually by editing each node. It can be a bind.
We are going to do it via SQL snippets which I've tested on Drupal 7 and should work for Drupal 6 as well (in my case I have a content type 'quotation'):

10 SEO Techniques All Top Web Sites Should Use

Fri, 01/23/2009 - 18:10 -- Samira
10 SEO Techniques All Top Web Sites Should Use

This post focused on elements relating to design, content and development. This time, we’ll move onto the important issue of Search Engine Optimization (SEO).

SEO is such a hot topic these days. How do you get your web site within the first page or two of the search engines? How do you increase your Google page rank?

There are companies who dedicate themselves full time to doing SEO at a pretty penny. Something a lot of people can’t necessarily afford to pay for or spend the time on.

Drupal Developer’s Toolbox

Mon, 12/15/2008 - 19:55 -- Samira
Drupal Developer’s Toolbox

This post covers essential resources related to Drupal — the basics, modules, Drupal design inspiration, Drupal themes, tutorials, starter themes, blog editors and Drupal-projects.

1. The Basics

Just getting started with Drupal? Looking for some general resources to have bookmarked for when you need them? These resources will help you cover the basics of Drupal and provide documentation for much of your future work with the platform.

Drupal.org
The Drupal home page and location for downloading the latest version.

Subscribe to RSS - Web Development

Tweets

@azridesign on

Azul