Jongwi “Call for price” Requirement

To properly display “Call for Price” Button on product description page, we need to edit this file: /home/jongwi/domains/jongwi.com/public_html/includes/functions/functions_general.php Line #1134 : $return_button = ‘<a href=”‘ . zen_href_link(FILENAME_CONTACT_US) . ‘”>’ . TEXT_CALL_FOR_PRICE . ‘</a>’; Change TEXT_CALL_FOR_PRICE to ‘<img src=”includes/templates/aberdeen_neutral/images/call_for_prices.jpg” alt=”Call for Price” title=” Call for Price ” width=”78″ height=”20″ />’

add210

February 17, 2011

Change Charset via PHP

<?php // your connection mysql_connect(“localhost”,”DB_USER”,”DB_PASSWORD”); mysql_select_db(“DB_NAME”); // convert code $res = mysql_query(“SHOW TABLES “); while ($row = mysql_fetch_array($res)) { foreach ($row as $key => $table) { mysql_query(“ALTER TABLE ” . $table . ” CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci”); echo $key . ” =&gt; ” . $table . ” CONVERTED<br />”; } } ?>

add210

February 16, 2011

Zen Cart Character Encoding

To properly use Thai Font on Zen Cart original fileset, Set Character Encoding to “tis-620” define(‘CHARSET’, ’tis-620′); // english.php and thai.php For Database, use UTF-8 for better compatibility. // utf8_general_ci

add210

February 16, 2011

Jailbroken iPhone 4 with Push Problem

Just bought BeejiveIM with Push. It worked like charm today. All messages got pushed instantly. However, a few hours later, the push won’t work. No message being pushed at all. I have to manually open the app to see those messages. Googled the problem and found that the push problem will occur if you use […]

add210

December 23, 2010
1 47 48 49 50