Drupal 6

Resetting the ROOT password in a MySql server

If you haven't guessed, this blog contains things I need to remember because I make alot of stupid mistakes. This happens often when your brain is a sieve.

Anyhow, so with my last install of WAMP, I decided to be clever and give my 'root' privilege an actual password because I was tired of seeing that error is phpMyAdmin. LOL, well, so after I set it and tried to get into the phpMyAdmin ... I was locked out.

So, if that happens to you, try this:

  1. use the WAMP task bar manager and select the MySQL console or ...

Setting up SSH / Drush on a Go-Daddy Shared Hosting Plan

Yeah you read that right!

The details surrounding this is quite complicated ... so i won't bore you with history. I will just tell you how to do it (which is all I want when I spent more hours that I can remember looking for a solution!)

Return NID for a Content Type

This little diddy evaluates a content type and, if it checks out, returns the NID for the specific node / page!

Quick Guide to using drupal_add_tabledrag and enjoying jquery drag and drop loveliness

tom_o_t was working on creating dragable tables in Drupal and found this great tutorial. I am posting it here so that I can find it later :)
orginally posted on computerminds

Replacing strings in a specific table within phpMyAdmin

  1. In the phpMyAdmin interface for your site, navigate to the correct table
  2. Click the SQL tab, and in the SQL query box...
  3. Using this code and replacing the ** with correct information, test to see if you are replacing the correct string
    SELECT replace(*rowName*,'*original string*','*new string*'), *rowName* FROM `*table name*`   
  4. if this checks out, then use this code to replace the string:
    update *table name* set *rowName*= replace(*rowName*,'*original string*','*new string*');  
  5. Check the results

Nine Splice

Nine-Splice is a frame work for creating borders that I have been working on for a while. I was on the IRC when a Drupal user was inquiring about a good way to create borders around content. I offered to post it ... as it just my get my arse moving to finish it up. This is teh beginnning stages as I have some ideas to develop it into a module: particularly a "Theming Module".

The attached zip file contains several files. The way this works is this: I use the DREADED table to create a 3 x 3 framework around the content. Why a grid? Well, to be quite honest... it the best framework for our solution. I have three images:

Syndicate content