http://www.winhelponline.com/articles/156/1/Error-Registry-editing-has-been-disabled-by-your-administrator-when-you-open-the-Registry-Editor-in-Windows-Vista.html
Search This Blog
Mind freaker Stuff
Please Visit my new blog http://www.mindfreakerstuff.com for new articles related to web and mobile designing.
Thursday, May 26, 2011
Error Registry disabled by your administrator
Wednesday, May 11, 2011
Display Static Block With Title : Magento
<?php
echo
$this
->getLayout()->createBlock(
'cms/block'
)->setBlockId(
'identifier'
)->toHtml() ?>
By calling the static block model, you can then get all fields associated with that block such as the
static block title
<?php $block = Mage::getModel('cms/block')->load('identifier'); echo $block->getTitle(); echo $block->getContent(); ?>
Monday, May 9, 2011
get URL paths : Magento
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS);
//http://magento.demo/js/
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK);
//http://magento.demo/index.php/
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
//http://magento.demo/media/
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN);
//http://magento.demo/skin/
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB);
//http://magento.demo/
//http://magento.demo/js/
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK);
//http://magento.demo/index.php/
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
//http://magento.demo/media/
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN);
//http://magento.demo/skin/
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB);
//http://magento.demo/
Subscribe to:
Posts (Atom)