Tuesday, 31 January 2012

Monday, 16 January 2012

CSS: how to click though objects

CSS: how to click though objects

pointer-events:none;


click here for the original website

CSS: css3 with IE

CSS: css3 with IE

Just add a link to the PIE.htc in the css style that requires it and it should work in IE7 and IE8.

Edit.
Make sure to add position relative inorder to get it to work.

click here for the original website

Silverstripe: Math Spam Protection

Silverstripe: Math Spam Protection

Go to the link below to get a hold of it and some instructions.


click here for the original website

Thursday, 12 January 2012

SilverStripe: Get the contents of one page to appear on another

SilverStripe: Get the contents of one page to appear on another

Use snippet of code:
<div class="typography"><h1><% control Title %>$XML<% end_control %></h1>
<% control Page(disclaimer) %>$Content<% end_control %></div>


click here for the original website

Wednesday, 11 January 2012

Magento: adding the contents of a category to a page

Magento: adding the contents of a category to a page

If you want to add the contents of a category to a page insert this code:

{{block type="catalog/product_list" column_count="4" category_id="8" template="catalog/product/list.phtml"}}


click here for the original website

Tuesday, 10 January 2012

Magento: if language is

Magento: if language is

Use this bit of code see what the language is

$language_settings = Mage::app()->getStore()->getCode();
$language_settings = strtolower($language_settings);
if ( $language_settings == “default") {
echo “Default = English”;
} elseif ( $language_settings == “french") {
echo “French”;
} elseif ( $language_settings == “german") {
echo “German”;
}

click here for the original website

Monday, 9 January 2012

Magento - Add multiple currencies

Magento - Add multiple currencies

  1. Go to System\Configuration\Currency Setup and select your allowed countries.
  2. Then go to System\Manage Currency Rates and adjust your currency converstion rates. You can also do this by importing the rates from 'Webservicex'.

this is the phrase I googled for: "magento setup multiple currency shop"

click here for the original website

Friday, 6 January 2012

Magento - Translation

Magento - Translation


If you want to translate your website there are 2 sets of translate files you need to add.
  1. app/locale/translate_folder_here
    The translation folder you place here is the offical translation of Magento. It contains lots of files all in csv format.
  2. app/design/frontend/default/skin_name_here/locale/translation_folder_here/translate.csv
    This translation file is almost like your customised version. Anything that has been missed or you wish to translate further you can do here in this format:

    'original phrase', 'translated_original phrase'
Translation files:
  • Click here to go to the translation section where you can download all the available translations.
  • Click here to go to the Farsi Files forum entry.

Magento - Free Modules

Magento - Free Modules

An article post that contains free magento modules.


click here for the original website