osCommerce PHP4 -> PHP5 Fixes
Monday, September 15th, 2008 Posted in Programming, Technical Issues | 2 Comments »There are a few problems that come from moving an old install of osCommerce to a new server with PHP5 or just simply upgrading from PHP4 to PHP5.
Put LazzyMonk’s Blog onto the Magento Main Page
Tuesday, September 2nd, 2008 Posted in Programming | No Comments »On the CMS page that you want to see the blog on, just use the following code: [code]{{block type="blog/blog" template="blog/blog.phtml"}}[/code]
The Coolest Clock
Thursday, July 10th, 2008 Posted in Programming | No Comments »The Industrious Clock by Yugo Nakamura Read more to see it in action:
MySQL Update Query
Thursday, February 21st, 2008 Posted in Programming | No Comments »Reminder to myself what a MySQL update query looks like. [code]UPDATE products SET products_length=0, products_width=0, products_height=0 WHERE products_width='12';[/code]
Easy PHP/Javascript rollover images for osCommerce links
Thursday, February 14th, 2008 Posted in Programming | No Comments »The javascript portion: [code lang="php"] [/code] The links portion (place below the first part somewhere): [code lang="php"] [/code]
Firebug Addon for Firefox
Thursday, December 6th, 2007 Posted in Programming, Tips | No Comments »"Firebug integrates with Firefox to put a wealth of development tools at your fingertips while you browse. You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page." Install to Firefox.
Shorter nested IF statements in Excel
Tuesday, November 27th, 2007 Posted in Programming, Tricks | No Comments »This code checks to see if A1 equals the letters K, H or L. Instead of using: [code lang="html"]=IF(A1="K",TRUE,IF(A1="H",TRUE,IF(A1="L",TRUE,FALSE)))[/code] You can use: [code lang="html"]=IF(OR(A1="K",A1="H",A1="L"),TRUE,FALSE)[/code] As you can see, it's a lot shorter and makes a lot more sense. Especially if you need to add more ...
Easy stylesheets with basic PHP
Wednesday, November 14th, 2007 Posted in Programming, Tricks | No Comments »Create a file called stylesheet.php and link to it in you're page. Then play with this code: [code lang="php"] BODY { background: ; color: #000000; margin: 0px; } [/code]