Author Archives: Ammon

OGG Encoding for HTML5 Audio

The html5 <audio> tag needs an mp3 file and and ogg file to be cross-browser compatible. For best results, only encode raw, wav, or aiff files this way. Mp3 to ogg will look like it works, but the file won't play on Firefox. Encode Install oggenc: $ sudo apt-get install vorbis-tools Encode: $ oggenc -q [...]

Posted in Musings | Leave a comment

.htaccess for Magento pretty URLs

I was pulling my hair out over this because Magento failed to produce an .htaccess file after I enabled url rewrites on my local dev server. I searched the old internets and found nothing! I ended up using the same .htaccess arguments as I do for WordPress and it worked great. To enable url rewrites, [...]

Posted in Musings | Leave a comment

And the eCC compatible shopping cart winner is…

Opencart! No wait… it was actually LiveCart. Ed. Note 9/8/11: LiveCart made me a liar.  Turns out its broken, the community is non-existent, and the documentation is incomplete.  After struggling with PHP error after error for hours yesterday, I’ve given it up and my search for an eCC compatible shopping cart continues.  I remain impressed [...]

Posted in Musings | Tagged | Leave a comment

Livecart 500 Internal Server Error on Install

I just installed Livecart on my local development machine and got a 500 Internal Server error when I visited the site. My permissions were set correctly. The Apache log was showing this error: livecart/.htaccess: Options not allowed here Never seen that one before! I fixed it by following tristanC’s advice on this forum post. Just [...]

Posted in Musings | Tagged | Leave a comment

eCC compatible shopping cart reviews

I have a client who uses eCC for quickbooks integration with their webstore. Originally we had them on the WP E-Commerce plugin, but the new version (3.8) is badly broken, and after a horrendous couple days trying to fix it I’m forced to abandon ship. So I went through the list of eCC compatible shopping [...]

Posted in Musings | Tagged | 3 Comments

Disable WP E-Commerce scripts and stylesheets

This comes straight outta the getShopped forums: http://getshopped.org/forums/topic/disable-all-wpsc-javascript-and-css-files-3/ via cannobbio. To disable all scripts and stylesheets, add this code to the functions.php file in your theme folder: // Remove Styles function childtheme_deregister_styles() { wp_deregister_style( ‘wpsc-theme-css’ ); wp_deregister_style( ‘wpsc-theme-css-compatibility’ ); wp_deregister_style( ‘wpsc-product-rater’ ); wp_deregister_style( ‘wp-e-commerce-dynamic’); wp_deregister_style( ‘wpsc-thickbox’ ); wp_deregister_style( ‘wpsc-gold-cart’ ); } add_action( ‘wp_print_styles’, ‘childtheme_deregister_styles’, 100 [...]

Posted in Solutions | Tagged , , , | 3 Comments

WP E-Commerce 3.8 and Thematic = no sidebars!

I just upgraded a client from WP E-Commerce 3.7 to 3.8 and all my sidebars disappeared! This is how I fixed it: Background info The freshest software First of all, I’m using a child theme of Thematic (version 0.9.7.7) and the latest versions of WP E-Commerce (3.8.6) and WordPress (3.2.1). I just downloaded everything today [...]

Posted in Solutions | Tagged , , , | 2 Comments

Novacut is back!

Support Novacut, a pro open source video editor! Its an idea whose time has definitely come:

Posted in Musings | Leave a comment

Milholland Bicycle Company

Did I ever mention that my brother builds the best bikes in the world? He built a mountain bike for me that is the best thing I’ve ever ridden. Check him out! Sweet new website: http://www.milhollandcycles.com/ Facebook: Milholland Cycles

Posted in Musings | Leave a comment

Add Javascript to a Concrete5 template the right way

jQuery is included by default in Concrete5. Here’s how to add your own script: Put your .js file in the /js directory in the root of your Concrete5 install. In your theme’s elements/header.php file, add the following just before <?php Loader::element(‘header_required’); ?>: <?php $html = Loader::helper(‘html’); $this->addHeaderItem($html->javascript(‘my_script.js’)); ?> If you want to include your javascript [...]

Posted in Musings | 2 Comments