Jason | 6th December 2012
WordPress 3.4.2, TwentyEleven Theme Sometimes you want a different sidebar on the home page of your WordPress site. Here’s how we do it with the TwentyEleven theme. Step 1 You will need to get your hands dirty just briefly by editing the file functions.php within the theme folder. Open the file and look for the […]
Jason | 3rd December 2012
Magento Community Edition 1.7.0.2 So you only want to show a list of your top-most categories, not all the children and their own spawn in turn; navigate to a file called Topmenu.php (app/code/core/Mage/Page/Block/Html/Topmenu.php) and look for the following conditional statement (around line 117). 123456789101112if ($child->hasChildren()) { if (!empty($childrenWrapClass)) { $html .= ‘<div […]
Jason | 3rd December 2012
Mac OS X (10.6.8) From terminal, we can execute a bash script easily. 1$ /Users/jason/Sites/scripts/myscript.sh That works fine, obviously, but it would be soooo cool if we could just call myscript from any location or folder. From terminal, we do the following. Switch to the current user’s root. 1$ cd ~/ Add the script path […]
Contact Me
Please fill out the form below and I will reply ASAP. I aim to answer all emails in 48 hours or less.