Before running any stand alone scripts that use core Magento objects and functionality, you need to make sure Magento is properly initialised. Add this snippet to the top of your script, updating the path according to your installation.
Featured Content
Stand alone Magento scripts
December 29th, 2009
Comments Off on Stand alone Magento scripts
WordPress Snippet: Display multiple loops on the same page
December 12th, 2009
Comments Off on WordPress Snippet: Display multiple loops on the same page
Let’s say that on a category page of your WordPress blog, you want to display a secondary list of posts, for example the 3 latest posts from a “featured” category. You have a couple of good options here.
Let’s say that on a category page of your WordPress blog, you want to display a secondary list of posts, for example the 3 latest posts from a “featured” category. You have a couple of good options here.
Javascript & jQuery Cheat Sheet
December 5th, 2009
Comments Off on Javascript & jQuery Cheat Sheet
Even the smartest cookies forget things from time to time.. Here’s a collection of Javascript & jQuery code snippets for your reference.
Even the smartest cookies forget things from time to time.. Here’s a collection of Javascript & jQuery code snippets for your reference.
WordPress Function: in_category_extended()
November 30th, 2009
3 Comments
The core WordPress function in_category() is pretty handy but it’s also pretty basic. in_category_extended() is designed to extend the functionality of in_category() by examining descendant categories aswell as the current one.
The core WordPress function in_category() is pretty handy but it’s also pretty basic. in_category_extended() is designed to extend the functionality of in_category() by examining descendant categories aswell as the current one.
LAMP setup guide: Configure Debian Linux for Apache, MySQL and PHP
November 20th, 2009
2 Comments
Here at Sycha, we’re full advocates of the LAMP web development suite. This article is a step by step guide to setting up a Linux server running Debian with stable versions of Apache, MySQL and PHP. Also included are some performance tweaks to default settings, sys admin tips, and info on sending email with Exim.
Here at Sycha, we’re full advocates of the LAMP web development suite. This article is a step by step guide to setting up a Linux server running Debian with stable versions of Apache, MySQL and PHP. Also included are some performance tweaks to default settings, sys admin tips, and info on sending email with Exim.