Friday, June 8, 2012

Upgrading Wordpress version

So if you happen to have an old Wordpress version and want to upgrade to the latest, and somehow automatic updating doesn't work, you can always update/upgrade manually. It's pretty easy.

  1. Backup your existing website (files and db)
  2. Download the latest Wordpress zip file, and extract on your local machine
  3. Access your site via FTP and remove/delete/rename (whichever suits you) these 2 directories in your current installation wp-admin and wp-includes
  4. Upload the new wp-admin and wp-includes from the newly extracted zip file
  5. Then upload the rest of the files overwriting the existing ones
  6. Check your admin site, WP might ask you to update your database.

That's it.

Tuesday, June 5, 2012

Installing fonts in Windows 7

When I was in high school and learning Corel Photopaint, I got fond of installing fancy looking fonts on my PC. My uncle taught me how to install fonts on Windows by simple copying the fonts to c:\windows\fonts and magically have it available for the applications I need it for. The last Windows version I used (before switching to Mac OSX) was WinXP. And I think I was still able to install fonts using the method I learned from my computer mentor. Now I'm back, using Windows 7, and in one project I'm working on required me to look and install for a font. I was able to download what I need but couldn't find the windows/font directory. I thought of sending my uncle an email for help but I figured Google would be faster. :)

I hope you'll read this someday Uncle Joe. Here's a quick(er) way to install fonts on Windows 7:

1. Right click on the font
2. Select install

Install fonts in Windows 7

Monday, June 4, 2012

Transferring Joomla site to root directory

I have a Joomla 2.5 installed in a sub-directory that I wish to transfer to the root (public_html). Below are the steps:
  1. Clean up the root directory of all files except cgi-bin
  2. Backup SQL db via php-admin
  3. Transfer all the files to the root
  4. Modify configuration.php esp. variables under $log_path and $tmp_path 
That's it.

Wednesday, May 30, 2012

Homepage elements

Eleven or so years ago, I designed my first website for my very first client. I've met with the client a few weeks back and we have agreed to redesign it. I'll be screen grabbing every page of this old website and I'll keep it. I just feel it's something I should do.

But enough of the nostalgia. This post is about how important a homepage is. I chanced upon an infographic highlighting important elements that should be present on a homepage. I'll be keeping these in mind while I work on my redesign project.

 

Saturday, May 26, 2012

Cooked omelette

This morning I decided to cook Omelette for breakfast. I thought it will be a good idea to give my digestive system a break from the usual cheerios and toasts. I ended up cooking two pieces. I shared one of  'em with my step dad who was very kind to compliment by saying "Have you considered a career in culinary arts"?


Here's what I used:

Ham
Green peppers
White onions
Mushrooms
Tomatoes
Egg
Butter
Soy milk

Monday, May 21, 2012

Reset Wordpress Admin Password

After a very long pause, I decided to revisit this blog and thought of using it just to make me remember stuff. Today, I want to remember how to reset the admin password of Wordpress. There are couple of ways to do it but the fastest for me would be through phpmyadmin.




  1. Log in to your webhost, go to phpmyadmin, then select the database you wish to hack. 
  2. Find the table "wp_user"
  3. Select the user you wish to edit then click "edit"
  4. Change the field under "user_pass". Just use normal letter and number but they're case sensitive
  5. Then select MD5 under the "function" column
  6. Lastly, click "Go" below the page

That's all there is to it.