-
PHP Script to list and display all images in a directory
-
Javascript Count Up Timer With Hours, Minutes, and Seconds
Here is a script that takes a given time and increments each second to make it appear to update in realtime. Time given, must be in hh:mm:ss format and the div id must be realtime 12:12:12 12:12:12 Script that makes everything happen, needs jquery, but could be easily re-written in pure javascript. $(document).ready (function () […]
-
Create Global Function In Magento
This code will allow you to add a function that can be called from anywhere within Magento. It extends the helper class 1) Create a file named ‘Mycode.xml’ and copy it to app/etc/modules/ – it should look like this: true local 2) Create the directory app/code/local/Mycode/Function/etc and then create a file named ‘config.xml’ In it […]
-
Update To Drupal 7.2 The Easy Way (SSH)
After backing everything up… # get the upgrade wget http://ftp.drupal.org/files/projects/drupal-7.2.tar.gz # uncompress it tar xfzv drupal-7.2.tar.gz # copy all files to my document root cp -r drupal-7.2/. /www/. found here