Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This fixes the way Magento imports data as it just keeps adding ‘straight join’ to the array which uses a lot of memory if your importing a lot of products and will kill the import.
Replace this function in /lib/Varien/Db/Select.php
This h...
0
1277
posted 15 years ago by TheJasonParker
WP Functions
Step 1: Upload the logo you want into the theme images folder
Step 2: Add the following code to your theme functions.php file
3
1540
posted 15 years ago by silentpro
Useful for when you want to move all mp3 files in sub directories into the current dir
0
1353
posted 15 years ago by studioevoque
Useful for syncing only MP3 or PDF files which are nested in a deep directory tree
0
2148
posted 15 years ago by studioevoque
Uploading multiple files at once used to be strictly in the realm of flash or required javascript to crate multiple upload forms as needed. The first method has the problems with the general incompatibility of flash. The second, well, it's a very low...
0
2045
posted 15 years ago by FatFolderDesigner
This function will interpolate the points on a line. When tracking mouse movements, not every point is captured. This is especially true the faster the mouse moves. This function will allow you to fill in the gap of points between two recorded pos...
0
3541
posted 15 years ago by parkerkrhoyt
1. You'll need the perl-based rename script http://tips.webdesign10.com/how-to-bulk-rename-files-in-linux-in-the-terminal
2. I'm using Terminal on mac so you might need to change some of your flags
0
1829
posted 15 years ago by timberjorge
If post has featured image, use it.. If not, pick out the first in the post.. Still not working? Stick with the default one..
3
2094
posted 15 years ago by Wendelboe