Step1 ) Create a php file like assigntoDeafultCat.php
Step2) Paste this code in this file
<?php
require_once 'app/Mage.php';
Mage::app();
// $productIds...
Step 1)Create two static blocks
Step 2 )create main phtml block & call it like home_slider.phtml & save in template/cms/home_slider.phtml
<?php
function...
Step 1: Create a file app/code/local/Mage/Catalog/Block/Product/Mostviewed.php and add the following lines of code in it
class Mage_Catalog_Block_Product_Mostviewed...