Enable PDF Uploads in CubeCart 4

No swimming, no file uploads in CubeCart either!The CubeCart file and image uploader in the product editor only allows for a small set of file types: jpg, gif, jpeg, png, swf, fla, jpg, gif, jpeg, png, avi, mpg, and mpeg. If you want to upload a PDF in CubeCart, you will have to manually FTP it into the uploads folder, and even then the file browser won’t show you PDFs. If you try to upload PDFs, you’ll get the following alert: “Invalid file type.”  Well here’s how to fix that. Continue reading “Enable PDF Uploads in CubeCart 4”

How to turn off captions in WordPress 2.6

Having fun with new technology

Turn off da captions, turn off da funk!

I’ve found that many who found my previous article about removing caption from the All In One SEO Pack are interested in disabling the WordPress 2.6 captions altogether. This is very simple to do.

Futureproof way to disable captions

From Otto:

Add this to your theme’s functions.php file:
add_filter('disable_captions', create_function('$a','return true;'));

[Edited: Updated with final solution from Otto]. Thanks to King Rat and others who’ve contributed to solving this problem.

If you have any questions, revisions, or…comments, leave a comment!

Disable Styles and Javascript in Safari with Keyboard Shortcuts – How To

Now Safari’s just as cool as Firefox

If you’re a web developer on the Mac, you may be sick of everyone talking about Firefox Addons that do everything but wipe your ass. True, Firefox is a great browser that is very expandable, but I love Safari, and I want to do as much web development on Safari as possible.

The feature that I missed the most in Safari was Disable Styles and Disable Javascript, both of which are super-easily done in Firefox via the Web Developer Plugin. With the advent of Safari 3, disabling CSS and Javascript is as simple as a keystroke combination of your choice! Continue reading “Disable Styles and Javascript in Safari with Keyboard Shortcuts – How To”