Pages

Thursday, October 4, 2012

Format a USB flash with GUID from Windows

I recently had an issue to open a flash USB that had GUID partitions in Windows. This table partition scheme is only used by MAC OS X. So, to solve it, I downloaded The partition Wizard, erased the GUID partitions, create a FAT32 partition and here you are the flash USB working again on Windows.

Monday, July 23, 2012

Oscommerce 2.3.2 error opening the large images

Recently I found an error on my oscommerce instance. I couldn't open the large images when I clic on the small ones, so I did the following:

Search on product_info.php this code:


<div id="piGal" style="float: right;"> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank" rel="fancybox">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), null, null, 'hspace="5" vspace="5"') . '</a>'; ?> </div>

Replacethe above code with the following:


<div id="piGal" style="float: right;"> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . ".jpg".'" target="_blank" rel="fancybox">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'].".jpg", addslashes($product_info['products_name']), null, null, 'hspace="5" vspace="5"') . '</a>'; ?> </div>

What I've donde is to add the .jpg extension to the name of the large and small picture. This solution works just for .jpg images. So, if you're planning to use .png or .gif replace the .jpg for your favorite extension.

Saturday, May 26, 2012

MX for Google Apps

I always being looking for the MX to setup a new Google Apps accounts. Today I'm writting a post to locate ASAP this info. If anybody needs it, here you are:

Priority Points to
1 ASPMX.L.GOOGLE.COM.
5 ALT1.ASPMX.L.GOOGLE.COM.
5 ALT2.ASPMX.L.GOOGLE.COM.
10 ASPMX2.GOOGLEMAIL.COM.
10 ASPMX3.GOOGLEMAIL.COM.

These are the MX for any host company. More info look for on Google Apps Web page. google.com/a