You are here

Blogs

Recover Your Super User Password On Your Local Machine

The other day I was working on my Mac OSX 10.6 MacBook Pro. A very old model. I imported the database from a live site. When I tried to log in to the root/super user, I was not able to. The password would not work. My first thought was,  "how am I going to recover my password?"

Why doesn't the password recovery work?

For me, my mac would not send out the email.

The link would not find my computer because the Drupal installation is only accessible from localhost

Using PHP to remove all nodes from a Content type

category: 

Today I had over 1,000 nodes to remove from a Drupal 6 installation. The bulk update only lets you remove 50 nodes at a time. What to do?

My Situation

All the node were from a certain content type. Actually, I need to remove all node that belonged to a particular content type. Lets call this content type "articles" My Solution Use PHP to remove all the node that belong to that node type. First I activated the PHP filter Then I ran this PHP script

Taking Money without completing the work

category: 

So I found this post on a Drupal forum:

@PersonWhoPostedBeforeMe, my point is that if Dave is unable to dedicate the time to this issue, and that if someone else was to spend their time to resolve the issue they should receive the bounty. I disagree with the paid approach in these situations as I've seen time and time again people taking donations but never coming through.

How to create a menu using views and your theme in Drupal

category: 

Recently, I ran into kind of  a jam while working on a drupal project. I had a view pulling multiple elements of a node into a list. I was pulling things like the title, thumbnail and description. The thing was this list was suppose to act like a menu. What I needed was a views menu.

Bulk update comment settings on multiple nodes - Drupal

category: 

Recently, I needed to archive the blog section of a Drupal site. Part of this included removing all past comments and removing the ability to leave new comments. Removing comments is pretty easy in Drupal. There is a comment management section for that.

However, to remove the ability to comment on published nodes requires a bulk update. This is something that is not available in the standard Drupal site. Therefore, I had to resort to an alternative method of bulk updating the blog posts.

Use Jquery to add commas and remove non integers in Drupal Webform Module

category: 

Drupal's Webform module is top notch. I have made the move from Webform 2.x to Webform 3.x because of the usability and features. The only issue I have is the lack of a number field. Actually, both versions of Webform have this issue. If you want to format a textfield to restrict the character set to integers, the Webform module does not do this. However, I don't see this as a downfall. Webform is a very useful module. Besides,  we can easily limit characters in an input is pretty with Jquery.

My Problem

Pages