Pedro Posada
  • How to revert to FireFox 3.6 on Ubuntu Natty Narwhal
    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:

  • Retrieve cck node form array
    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.
  • Set menu trail in primary links; Add active class to parent primary link
    Posted on November 3, 2010 - 10:41am
    Insert code snippet in template.php file.
  • Sample output for menu_get_active_trail() in drupal
    Posted on November 3, 2010 - 9:57am
  • Bahia Trio - Pura Chonta
    Posted on May 2, 2010 - 8:05am
    TitleTimeArtistAlbum

     

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

     

  • NUYORICAN FUNK EXPERIENCE VOL. 1, 2, 3
    Posted on May 1, 2010 - 10:57pm

     

    TitleDurationArtitsAlbum

     

  • Drupal 6 Multistep Form Oddities - $form_state empty
    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.
  • Text list of all countries
    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.
  • Make .htaccess files visible in Aptana Studio
    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