Pedro Posada | Blog
  • Posted on September 17, 2009 - 11:50am
    Very interesting website about bringing down Internet Explorer 6. As far as I am concerned, no one in the world should use IE6 ever again and pretty much all the sites should warn and force users to switch to much better alternatives like Fire Fox, Safari and Chrome web browsers.

    http://www.bringdownie6.com/

    If you agree and want to contribute to the progress of accessibility and usability on the web paste the following code into your website:
  • Posted on May 2, 2010 - 8:05am
    TitleTimeArtistAlbum

     

  • Posted on May 1, 2010 - 11:33pm
    TitleDurationArtitsAlbum

     

  • Posted on May 1, 2010 - 10:57pm

     

    TitleDurationArtitsAlbum

     

  • Posted on March 22, 2010 - 10:47am
    Interesting link about drupal multi-step forms loading twice problem. I created a form using drupal's form api or FAPI. The form would load twice on the first submission. The first time the $form_state['storage'] goes empty and the second time is populated. I wanted to use $form_state to store some values and do some checks.
  • Posted on January 17, 2010 - 7:19pm
    Very handy simple list of country names. I use this list for country select boxes or drop down boxes all the time.
  • Posted on January 14, 2010 - 12:01pm
    I was having issues getting the .htaccess file to show up in the files window in Aptana. I went to Window->Preferences but there was no clue about fixing it. But here is the solution.

    1. In the "Navigator" view or "Project Explorer" view, look at the top of the view and you'll see a small triangle/arrow pointing downwards.
    2. Left-click this triangle and select the "Filters..." menu option.
    3. In the resulting popup window, uncheck the ".* resources" filter. Once this has been applied all .* files such as .htaccess will be shown
  • Posted on December 23, 2009 - 4:37pm
    http://www.realityloop.com/blog/2009/05/24/fixing-gd-image-rotation-drupal-6-ubuntu-server-810

    Thanks a lot for this really good quick fix to gd library in ubuntu.

    I modified the first two lines:
    deb http://packages.dotdeb.org stable all deb-src deb http://packages.dotdeb.org stable all
    I also noticed that the /etc/apt/sources.lst file in ubuntu is called sources.list
  • Posted on December 9, 2009 - 10:17am
    This is the best php tip I have found for reseting drupal administrator's password.
    You will need access to phpMyAdmin or some way to manage your database. Run this query
    update users set pass=md5('NEWPASS') where uid = 1;
    I found the info here: http://kb.siteground.com/article/How_to_reset_my_Drupal_admin_password.html
  • Posted on August 28, 2009 - 3:09pm
    I wanted to make one of the pages in my site look and feel completely different than the rest of the site. I wanted to use a different style sheet css file for this page and also didn't want to override all the existing styles. I found a very good post about it on http://drupal.org/node/258756