Helmets
I’m sure people are sick of my rant about open faced helmets… So I’m not going to give you one. Instead… here’s an image 🙂
I’m sure people are sick of my rant about open faced helmets… So I’m not going to give you one. Instead… here’s an image 🙂
There’s a small creature that lives in many of us. It sits at the back of your mind, resting its head against the rawest parts… Read More »Back on Two Wheels
What an evening! We received reports that the two strays were being abused by local young adults, between 17 and 25 year old idiots decided… Read More »Big Mac and Little Nugget Safe!
A couple of days ago I was made aware of a stray cat that has been living at the local McDonalds, in the car park,… Read More »Introducing Mac and Nugget
Easy one! Modify your local.xml file, adding the following directly after <layout> <customer_account_create> <reference name=”customer_form_register”> <action method=”setData”><key>show_address_fields</key><value>1</value></action> </reference> </customer_account_create>
This means the user database is probably corrupt. Simply run: (not tested elsewhere) /usr/bin/pure-pw mkdb /etc/pureftpd.pdb -f /etc/proftpd.passwd
Mage/Persistent/Model/Observer.php: ‘persistent_session_expired’ Mage/Persistent/controllers/IndexController.php: ‘persistent_session_expired’ Mage/Rss/Block/Catalog/Review.php: ‘rss_catalog_review_collection_select’, array(‘collection’ => $collection) Mage/Rss/Block/Catalog/Special.php: ‘rss_catalog_special_xml_callback’, $args Mage/Rss/Block/Catalog/NotifyStock.php: ‘rss_catalog_notify_stock_collection_select’, array(‘collection’ => $collection) Mage/Rss/Block/Catalog/New.php: ‘rss_catalog_new_xml_callback’, $args Mage/Rss/Block/Catalog/Category.php: ‘rss_catalog_category_xml_callback’, $args Mage/Rss/Block/Catalog/Tag.php: ‘rss_catalog_tagged_item_xml_callback’,… Read More »1.9 Observable Events Magento
//Clear cache first! Mage::getModel(‘catalog/product_type_configurable’)-> getProduct($product)->unsetData(‘_cache_instance_products’); $_product = Mage::getModel(‘catalog/product’)->load(5525); $childProducts = Mage::getModel(‘catalog/product_type_configurable’)->getUsedProducts(null, $product);
<?php $_product = Mage::getModel(‘catalog/product’)->load(5525); $_product = Mage::getModel(‘catalog/product’)->loadByAttribute(‘sku’,’hypnotherapy-cd-weightloss’);
<?php $_category = Mage::getModel(‘catalog/category’)->load(2); $_category_url = $_category->getUrl();