Search This Blog

Friday, July 13, 2012

Flying Twitter Bird on Your Website Best Working



<script
src="http://bloggerblogwidgets.googlecode.com/files/way2blogging.org-tripleflap.js"
 type="text/javascript"></script>
<script type="text/javascript">
 var twitterAccount = "niravpanchal29";
tripleflapInit(); </script>

For more information checkout our official website. http://www.shreejiinfotek.com/

Friday, June 15, 2012

Footer Code for sitemap in magento

<div style="float: left; width: 87%;"><ul>
<?php
 $h3h3=Mage::getModel('catalog/category')->getCollection();
foreach($h3h3 as $cat){
   
$cata=Mage::getModel('catalog/category')->load($cat->getEntityId());
if($cat->getEntityId() != 1 && $cat->getEntityId() != 2){
        echo "<li><a href='".$cata->getUrl()."'>".$cata->getName()."</a></li>";
}
}
?>
 </ul>

For more information checkout our official website.

Thursday, May 31, 2012

Validation for Phone number

<script language="javascript">
    <!--
        function initValidation()
        {
            var objForm = document.forms["contactus"];
            objForm.fname.required = 1;
            objForm.fname.regexp =/\w*$/;

            objForm.phone.required = 1;
            objForm.phone.regexp = /^\d+([\.]\d\d)?$/;

            objForm.email.required = 1;
            objForm.email.regexp = "JSVAL_RX_EMAIL";
        }
    //-->
    </script>

For more information checkout our official website.

Wednesday, May 23, 2012

Display Products on Home page with add to cart button in Magento

Display Products category and products on Home page..

{{block type="catalog/product_list" category_id="3" name="home.catalog.product.list" alias="product_homepage" template="catalog/product/mylist.phtml"}}

For more information checkout our official website.

Display CMs Block in CMS Pages in Magento

 Copy and paste below code to your cms page where you want to show the code. and change the block id of this code.

{{block type="cms/block" block_id="just-sleep-image"}}

For more information checkout our official website.

Display CMS Block on Phtml file in Magento

Paste your html code in cms block and copy below code and paste at the place where you want to display cms block....

<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('detail-right-side')->toHtml(); ?>

For more information checkout our official website.



Tuesday, May 15, 2012

Magento Homesellers 5in1 - FREE

http://www.magentocommerce.com/magento-connect/homesellers-5in1-free.html

http://connect20.magentocommerce.com/community/Magazento_Homesellers

Organize home page in few clicks. Show best sellers,popular,new,most rated products and product reviews.

For more information checkout our official website.