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 June 20, 2011 - 6:58pm

    How to go back to an older version of Mozilla FireFox on Ubuntu Natty Narwhal.

    I need to connect to my company's vpn using F5 vpn pluggin, it is a web-based vpn client that my company uses for remote connections to their network.

    I upgraded my home computer to Ubuntu 11 Natty Narwhal and lost the ability to connect because FireFox 4 has no support for F5 plugin. I was forced then to revert or downgrade my version of FireFox to 3.6, but this was not as simple as I thought.

    Step by step instructions:

  • Posted on December 13, 2010 - 3:48pm
    The code bellow is to be used in any module. It requires cck module to be installed. The advantage of this code is that it allows you to use labels and field definitions done through the cck ui. It allowed me to build a custom form based in the fields previously defined, it saves time and keeps your custom form consistent with the content type form.
  • Posted on November 3, 2010 - 10:41am
    Insert code snippet in template.php file.
  • Posted on November 3, 2010 - 9:57am
  • 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.