Monday 15 September 2014

tutorial of wordpress theme using bootstrap easy way

 AAVIK KUMAR PRODUCTION

Tutorial of wordpress theme using bootstrap

Converting Bootstrap Files to WordPress Templates

Most WordPress themes include the following files:
  • index.php
  • style.css
  • header.php
  • footer.php
  • sidebar.php
wordpress theme bootstrap tutorial step by step :-

index.php

<?php get_header(); ?>


    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> //title in form of link
     
         
<p><em><?php the_time('l, F jS, Y'); ?></em></p> //time

          <?php the_content(); ?>  //content

    <?php endwhile; else: ?>
        <p><?php _e('Sorry, this page does not exist.'); ?></p>
    <?php endif; ?>


<?php get_footer(); ?>  

front-page.php

<?php get_header(); ?>

<div class="row">

  <div class="span8">

    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
 <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
    
        
<p><em><?php the_time('l, F jS, Y'); ?></em></p>
<?php the_content(); ?>
      <hr>
   
    <?php endwhile; else: ?>
        <p><?php _e('Sorry, this page does not exist.'); ?></p>
    <?php endif; ?>
</div>
<div class="span4">

    <?php get_sidebar(); ?>  

  </div>
</div>

<?php get_footer(); ?>  

DOWNLOAD FULL SOURCE CODE 



Sunday 14 September 2014

bootstrap theme,templates,website,tutorial

 CHANGE THIS CODE IN bootstrap.min.css
nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}.
CHANGE THIS CODE IN  style.css

/* customized carousel */
.carousel {
    height: 500px;
    margin-bottom: 50px;
    position: relative;
}
.carousel-caption {
    z-index: 10;
    margin-bottom: 90px;
}
.carousel .item {
    background-color: rgba(0, 0, 0, 0.8);
    height: 500px;
}

 Today we will learn in bootstrap tutorial about bootstrap themes,bootstrap css,web designing by bootstrap.

create bootstrap,theme,templates easily and fast :-
create bootstrap website step by step process

AAVIK KUMAR PRODUCTION

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="author" content="Script Tutorials" />
    <meta name="description" content="Responsive Websites Using BootStrap - demo page">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>Responsive Websites Using BootStrap | AAVIK KUMAR</title>

    <!-- css stylesheets -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">
</head>
<body>

    <!-- modal box -->
    <div class="modal fade" id="my-modal-box" tabindex="-1" role="dialog" aria-labelledby="my-modal-box-l" aria-hidden="true">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
            <div class="modal-title" id="my-modal-box-l">
              <h3>Share it</h3>
            </div>
          </div><!-- /.modal-header -->
          <div class="modal-body">
            <p>Share it box content</p>
            <!-- AddThis Button BEGIN -->
            <div class="addthis_toolbox addthis_default_style addthis_32x32_style">
            <a class="addthis_button_preferred_1"></a>
            <a class="addthis_button_preferred_2"></a>
            <a class="addthis_button_preferred_3"></a>
            <a class="addthis_button_preferred_4"></a>
            <a class="addthis_button_compact"></a>
            <a class="addthis_counter addthis_bubble_style"></a>
            </div>
            <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4dbfb1915f17d240"></script>
          </div><!-- /.modal-body -->
        </div><!-- /.modal-content -->
      </div><!-- /.modal-dialog -->
    </div><!-- /.modal -->

    <!-- menu bar -->
      <nav class="navbar navbar-default navbar-static">
        <div class="navbar-header">
            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#b-menu-2">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">website name</a>
        </div>

        <!-- submenu elements for #b-menu-2 -->
        <div class="collapse navbar-collapse" id="b-menu-2">
          <ul class="nav navbar-nav">
            <li class="active"><a href="#"><span class="glyphicon glyphicon-home"></span> Home</a></li>
            <li><a href="#"><span class="glyphicon glyphicon-question-sign"></span> Help</a></li>
            <li><a href="#"><span class="glyphicon glyphicon-exclamation-sign"></span> About</a></li>
            <li class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-list"></span> Other <b class="caret"></b></a>
              <ul class="dropdown-menu">
                <li><a href="#">Submenu 1</a></li>
                <li><a href="#">Submenu 2</a></li>
                <li><a href="#">Submenu 3</a></li>
                <li><a href="#">Submenu 4</a></li>
                <li class="divider"></li>
                <li><a href="#">Submenu 5</a></li>
                <li><a href="#">Submenu 6</a></li>
                <li class="divider"></li>
                <li><a href="#">Submenu 7</a></li>
              </ul>
            </li>
          </ul>

          <ul class="nav navbar-nav navbar-right">
            <li data-toggle="modal" data-target="#my-modal-box"><a href="#"><span class="glyphicon glyphicon-share"></span> Share popup</a></li>
          </ul>
        </div><!-- /.nav-collapse -->
      </nav>

    <!-- slider -->
    <div id="slider" class="carousel slide" data-ride="carousel">
      <!-- controls -->
      <ol class="carousel-indicators">
        <li data-target="#slider" data-slide-to="0" class="active"></li>
        <li data-target="#slider" data-slide-to="1"></li>
        <li data-target="#slider" data-slide-to="2"></li>
      </ol>
      <div class="carousel-inner">
        <!-- slides -->
        <div class="item active">
          <div class="container">
            <div class="carousel-caption">
              <h1>Lorem ipsum - 1</h1>
              <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sit amet tempus massa. Nam quis purus sit amet augue iaculis dapibus non in nisi.<br />Sed sed volutpat neque. Nulla posuere.</p>
              <p><a class="btn btn-lg btn-default" href="#" role="button">Button 1</a></p>
            </div>
          </div>
        </div>
        <div class="item">
          <div class="container">
            <div class="carousel-caption">
              <h1>Lorem ipsum - 2</h1>
              <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sit amet tempus massa. Nam quis purus sit amet augue iaculis dapibus non in nisi.<br />Sed sed volutpat neque. Nulla posuere.</p>
              <p><a class="btn btn-lg btn-primary" href="#" role="button">Button 2</a></p>
            </div>
          </div>
        </div>
        <div class="item">
          <div class="container">
            <div class="carousel-caption">
              <h1>Lorem ipsum - 3</h1>
              <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sit amet tempus massa. Nam quis purus sit amet augue iaculis dapibus non in nisi.<br />Sed sed volutpat neque. Nulla posuere.</p>
              <p><a class="btn btn-lg btn-warning" href="#" role="button">Button 3</a></p>
            </div>
          </div>
        </div>
      </div>
      <!-- left-right controls -->
      <a class="left carousel-control" href="#slider" data-slide="prev"><span class="glyphicon glyphicon-chevron-left"></span></a>
      <a class="right carousel-control" href="#slider" data-slide="next"><span class="glyphicon glyphicon-chevron-right"></span></a>
    </div><!-- /.carousel -->

    <!-- main container -->
    <div class="container">

    
      <!-- 2-column layout -->
      <div class="row row-offcanvas row-offcanvas-right">
        <div class="col-xs-12 col-sm-9">

          <!-- jumbotron -->
          <div class="jumbotron">
            <h1>Lorem ipsum</h1>
            <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sit amet tempus massa. Nam quis purus sit amet augue iaculis dapibus non in nisi. Sed sed volutpat neque. Nulla posuere.</p>
            <p><a role="button" href="#" class="btn btn-lg btn-success">Sign up today</a></p>
          </div>

          <div class="row">

            <!-- column 1 -->
            <div class="col-sm-6">

              <!-- box 1 -->
              <div class="panel panel-default">
                <div class="panel-heading">
                  <h3 class="panel-title">Panel 1 title</h3>
                </div>
                <div class="panel-body">
                  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sit amet tempus massa. Nam quis purus sit amet augue iaculis dapibus non in nisi. Sed sed volutpat neque. Nulla posuere.</p>
                  <p><a class="btn btn-default right" href="#" role="button">Continue &raquo;</a></p>
                </div>
              </div>

              <!-- box 2 -->
              <div class="panel panel-primary">
                <div class="panel-heading">
                  <h3 class="panel-title">Panel 2 title</h3>
                </div>
                <div class="panel-body">
                  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sit amet tempus massa. Nam quis purus sit amet augue iaculis dapibus non in nisi. Sed sed volutpat neque. Nulla posuere.</p>
                  <p><a class="btn btn-default right" href="#" role="button">Continue &raquo;</a></p>
                </div>
              </div>
            </div> <!-- /column 1 -->

            <!-- column 2 -->
            <div class="col-sm-6">

              <!-- box 3 -->
              <div class="panel panel-success">
                <div class="panel-heading">
                  <h3 class="panel-title">Panel 3 title</h3>
                </div>
                <div class="panel-body">
                  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sit amet tempus massa. Nam quis purus sit amet augue iaculis dapibus non in nisi. Sed sed volutpat neque. Nulla posuere.</p>
                  <p><a class="btn btn-default right" href="#" role="button">Continue &raquo;</a></p>
                </div>
              </div>

              <!-- box 4 -->
              <div class="panel panel-warning">
                <div class="panel-heading">
                  <h3 class="panel-title">Panel 4 title</h3>
                </div>
                <div class="panel-body">
                  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sit amet tempus massa. Nam quis purus sit amet augue iaculis dapibus non in nisi. Sed sed volutpat neque. Nulla posuere.</p>
                  <p><a class="btn btn-default right" href="#" role="button">Continue &raquo;</a></p>
                </div>
              </div>
            </div> <!-- /column 2 -->

          </div><!--/row-->
        </div><!--/span-->

        <!-- column 3 (sidebar) -->
        <div class="col-sm-3 sidebar-offcanvas" id="sidebar">
          <div class="list-group" role="navigation">
            <a href="#" class="list-group-item">Link</a>
            <a href="#" class="list-group-item">Link</a>
            <a href="#" class="list-group-item active">Link</a>
            <a href="#" class="list-group-item">Link</a>
            <a href="#" class="list-group-item">Link</a>
          </div>

          <!-- box 5 -->
          <div class="panel panel-danger">
            <div class="panel-heading">
              <h3 class="panel-title">Form elements</h3>
            </div>
            <div class="panel-body">
              <form role="form">
                <div class="form-group">
                  <label for="emailField">Email address</label>
                  <input type="email" class="form-control" id="emailField" placeholder="Enter email">
                </div>
                <div class="form-group">
                  <label for="selectField">Type</label>
                  <select class="form-control" id="selectField">
                    <option>1</option>
                    <option>2</option>
                    <option>3</option>
                    <option>4</option>
                    <option>5</option>
                  </select>
                </div>
                <div class="progress progress-striped active">
                  <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width:30%">
                    <span class="sr-only">30% Complete</span></div>
                </div>
                <button type="submit" class="btn btn-default">Submit</button>
              </form>
            </div>
          </div>

          <!-- box 6 -->
          <div class="panel panel-info">
            <div class="panel-heading">
              <h3 class="panel-title">Panel 6 title</h3>
            </div>
            <div class="panel-body">
              <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sit amet tempus massa. Nam quis purus sit amet augue iaculis dapibus non in nisi. Sed sed volutpat neque. Nulla posuere.</p>
              <p><a class="btn btn-default right" href="#" role="button">Continue &raquo;</a></p>
            </div>
          </div>

        </div><!-- /column 3 (sidebar) -->

      </div><!--/row-->

      <footer>
        <nav class="navbar navbar-default navbar-static-bottom" role="navigation">
        <p class="navbar-text">&copy Copyright 2013</p>
        <p class="navbar-text navbar-right"><a href="https://plus.google.com/+aavikkumar/about">AAVIK KUMAR</a></p>
        </nav>
      </footer>

    </div><!--/.container-->

    <!-- add javascripts -->
    <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
</body>
</html>  





DOWNLOAD AAVIK KUMAR STATIC BOOTSTRAP FULL CODE

 

Thursday 11 September 2014

create cms blog using ckeditor and save selected data of dropdown value in php

          Today we will learn how to create cms using ckeditor and how to save selected data of dropdown value in php?How To: Insert Data into MySQL Database Using Drop Down Box in PHP?How to save values from Dynamic Drop Down List into MySQL database?

simple example

<select name="color">
<option value="Red">Red</option>
<option value="Green">Green</option>
<option value="Black">Black</option>
<option value="White">White</option>
</select>

<input type="submit" name="submit" />
 
<?php
if(isset($_POST['submit']))
{
$name=$_POST['name'];
$color=$_POST['color'];
if($name!="" && $color!="")
{
$query=mysql_query("insert into tb(color) values('$color')");
if($query)
{
echo "Updated successfully!";
}
 
color is table attribute give its TYPE varchar(25).
 
----------------------------------------------------------
 
HOME.php
 
<code>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
  <title>Test Page </title >
  <meta http-equiv="content-type" content="text/html; charset=utf-8"/ >
  <script type="text/javascript" src="ckeditor/ckeditor.js"></script>
</head>
<body>

<form id="form1" name="form1" method="post" action="add.php">
<table width="958" height="372">
  <tr>
    <td width="69">Name:</td>
    <td width="608"><input name="textfield" type="text" id="textfield" size="40" /></td>
  </tr>


<tr>
    <td width="69">Email:</td>
    <td width="608"><input name="te" type="text" id="te" size="40" /></td>
  </tr>


  <tr>
    <td>Section:</td>
    <td><select name="select" id="select">
     <option selected="selected" value="MALE">Male</option>
  <option selected="" value="FEMAIL">FEMAIL</option>
    </select></td>
  </tr>
  <tr>
    <td>Subject:</td>
    <td><select name="select2" id="select2">
<option selected="selected" value="MA">Ma</option>
  <option selected="" value="FE">FE</option>
    </select></td>
  </tr>
  <tr>
    <td height="53">Description</td>
    <td><textarea name="textarea" id="textarea" cols="45" rows="3"></textarea></td>
  </tr>
  <tr>
    <td>Upload</td>
    <td>
      <label for="fileField"></label>
      <input name="fileField" type="file" id="fileField" size="40" />
    </td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>
      <label for="textarea2"></label>
      <textarea class="ckeditor" cols="20" id="editor1" name="editor1" rows="10"></textarea>
</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>
      <input type="submit" name="button2" id="button2" value="Upload" />
    </td>
  </tr>
</table>

</form>
</body>
</html>

 
 
 
</code> 

-----------------------------
 add.php

<?php
include("mysql.php");

if(isset($_POST["button2"]))
{
$sql="INSERT INTO cktext (papername,email,subject,section,description,upload,uploadtext)
VALUES
('$_POST[textfield]','$_POST[te]','$_POST[select2]',
'$_POST[select]',
'$_POST[textarea]','$_POST[fileField]','$_POST[editor1]')";

if (!mysql_query($sql,$con))
  {
  die('Error: ' . mysql_error());
  }
  else
  {
echo "Question paper uploaded Successfully</br> YOUR TEXT IS";
$data = mysql_query("SELECT * FROM cktext") or die(mysql_error()); Print "<table border cellpadding=3>"; 

while($row = mysql_fetch_array( $data ))
 {
 Print "<tr>"; Print "<th>Name:</th> <td>".$row['papername'] . "</td></tr>";

Print "<tr>"; Print "<th>Blog:</th> <td>".$row['uploadtext'] . " </td></tr>";


echo "--------------------------------<br>";
echo "EMAIL ID :{$row['email']}  <br> ".
         "description : {$row['description']} <br> ".
         "upload : {$row['upload']} <br> ".
         "--------------------------------<br>";

 } // end of while
  
Print "</table>";
  
}//else

 }//first if isset


?>


---------------------------------
mysql.php

<?php
$con = mysql_connect("localhost","root","");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }

mysql_select_db("ckeditor",$con);
?>
----------------------------------------
IMP NOTE :- In database subject,section will be of varchar type for words or char.
 
DOWNLOAD CODE HERE




 
  

Saturday 23 August 2014

ALL SOLUTION FOR MAGENTO

Eros theme of zoop http://learn2programming.blogspot.in/2015/02/eros-magento-theme-on-zoopmobile.html .

---------------------------

make whole background black

magento\skin\frontend\fed\default\css\bootstrp.css

 body {

  /*font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;*/

   font-family: 'Ubuntu', Tahoma, sans-serif;

  font-size: 12px;

  line-height: 1.428571429;

  color: #585858;

  background-color: #000000;
}

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

show the product on home page in magento

Home Page

{{block type="customblocks/customblock" alias="root" template="customblocks/customblock.phtml"}}
{{block type="catalog/product_list" name="home.catalog.product.list" alias="products_homepage" template="catalog/product/list.phtml"}}


set store name general >>store name

 ------------------------------------------------

how to show currency symbol in magento

system>>manage currency>>symbols 

below 2 step is very important


  \magento\app\design\frontend\jm_trex\default

is same as

app/design/frontend/<package name>jm_trex/<theme name>default

------------------------------------------

 USE MAGENTO CONNECT FOR THEME AND PLUGIN.

How to Set up Free magento Banner Slider extension in a magento store


How to download and install

1. Download
Official source 
(Compatible with Magento version 1.4 – 1.7)
2. Install
  1. Go to System/Cache Management ->Choose Enable and Submit
  2. Use FTP client to upload or copy all folders in the zip package to your Magento site root folder.
  3. Log in Magento administration panel , refresh cache
  4. Go to System/ Magento Extensions/ License keys, put your license key
  5. Log out admin panel and log in again
  6. Go to front-end and try to process

 

  http://tutorialmagento.com/top-5-affordable-magento-hosting

 http://tutorialmagento.com/magento-tutorial-for-developer/page/2

 ------------------------------------------------

how to install new theme in magento

1...after you see “Theme successfully installed” message go to System->Configuration->Design->Themes and provide the theme name in Default field (which will change your default theme to this new theme) and click “Save Config” button at the top right corner of your screen.





magento-system-design-configuration

OR
  • After Refresh the page Click Return to admin button (page top)
  • Here to Check new magento theme is installed or not
Go to system->Design
Here Click Add Design Change Button as seen below
Here to select Custom Design Tab in DropDown list Select your installed new theme Example:f002(magento Classic theme) and Click Save Button



2.... A Magento theme revolves around different columns in your theme layout. In case your store home page doesn’t load properly and shows weird design then go to CMS->Manage Pages. You will notice that there are two different layouts for the home page (may be more depending upon how many themes you have tried in the past). Based on your new theme layout disable all the other home page layouts. You can easily disable/enable the layouts by clicking “Enabled” or “Disabled” links provided in the status field.
magento-cms-manage-pages

 



You can do as followed:
1. Locate the root directory where your Magento is installed. Search for “errors” directory.
2. Change the filename of local.xml.sample to local.xml
3. Reload the page where it shows error message, you will see a full list of error message – The purpose of rename local.xml is to allow the full error message to be shown.
4. Now, locate magento_directory/lib/Zend/Cache/Backend/File.php and look for:
Replace it with:
And save the file.
5. Now, go to Magento root directory and create a new directory with the name “tmp”.6. Refresh the error page and see if the issue solved.




---------------------------------------------------------------------------------------------

Q. ADD PRODUCT ON HOME PAGE


Index

New products

Go to “CMS - Manage Pages” and select “Home Page” from the list of pages.
Use this code snippet to show products labeled as “new” on your front page:
  1. {{block type="catalog/product_new" name="home.catalog.product.new" alias="product_homepage" template="catalog/product/new.phtml"}}
(Note that you must have some new products in your catalogue for anything to show when you do this. In this context new doesn’t mean that you’ve recently added them; only products explicitly marked as new using ‘Set Product as New from Date’ and ‘Set Product as New to Date’ options in the ‘General’ product information page in the admin tool will be shown.)

All Products

Go to “CMS - Manage Pages” and select “Home Page” from the list of pages.
Use this code snippet to show all products in your catalog on your front page:
  1. {{block type="catalog/product_list" name="home.catalog.product.list" alias="products_homepage" template="catalog/product/list.phtml"}}

All Products from one Category

Go to “CMS - Manage Pages” and select “Home Page” from the list of pages.
Use this code snippet to show one category on your front page:
  1. {{block type="catalog/product_list" name="home.catalog.product.list" alias="products_homepage" category_id="4" template="catalog/product/list.phtml"}}
The category ID can be found when you go to “manage category” and then select the category you want. The ID is written in the header.
Examples are outdated, dosent work in magento 1.4.1

Layout Update XML for magento 1.4

Because in 1.4 version Layout update is different than in 1.3 version, you can use this example:
  1. <reference name="content">
  2.     <block type="catalog/product_list" name="featured" template="catalog/product/list.phtml">
  3.         <action method="setCategoryId"><category_id>[category id here]</category_id></action>
  4.     </block>
  5. </reference>
    --------------------------------------------

    Q.Call to a member function getSortedChildren()


    In Magento 1.9, I encounter the below error while showing products on homepage
    You can go through this blog post to resolve the above error and show products on homepage.
    The new RWD design has two child blocks for the product list.
    And in the template itself there are no checks to see if these are present before they are attempted to be loaded and used.
    A good idea is to use a different template that is a copy of the main template but with the following edits:
    You can first call your block in CMS Homepage like below:
    Now in your catalog/product/list.phtml find
    and replace with
    Find below code
    This code is in 2 PLACES
    and replace with this in 2 PLACES
    The name.after occurs twice in the template but the after appears just one.
    ---------------------------------------------------------
    Q.Service Temporarily Unavailable
    
    The server is temporarily unable to service your request due to maintenance downtime
    or capacity problems. Please try again later.
     
    ANS.  Check if there is a file called maintenance.flag in your magento root. If so Delete it.
    When Magento is performing certain tasks it temporarily creates this file. Magento checks for its existence and if it's there will send users to the page you described.
     
    -----------------------------------------------------
    To be able to useFeatured Product criteria of Type of product display, you need to create a new attribute named “featured”.
    Go to Catalog > Attributes > Manage Attributes > Add New Attribute with parameter as below.
    After creating the attribute, add the attribute to the default feature set by going to Catalog >> Attributes >> Manage Attributes Sets >> select Product group to go to “Edit attribute set for Product group”.
    Drag and drop attribute to attribute group that you want.
    Go to Catalog >> Manage Products >> select product >> set “Featured Product = yes”.
    Front-end Appearance
    You can follow the above mentioned steps to configure featured attribute for other products.
    On Module Configuration page, set Mode = Featured Product so that products that has featured attribute will be displayed on the product slider.
    To display this module on front page, go to CMS >> Manage page >> select page that you want to display this module on e.g. Homepage.
    Push HTML code onto Content parameter according to below syntax:
    {{block type=”joomlart_jmcategorylist/list” name=”home.jmcategorylist.list”}}
    Let’s see how it works on front-page:
     ---------------------------------------------------------------
    AAVIK KUMAR's






      
    how to change Check / Money order to cash on delivery or other payment system in magento

    The following payment methods do not require the use of a third-party service provider or gateway.
    • Cash On Delivery Payment
      The Cash On Delivery payment method, also called "collect on delivery," or COD, lets customers pay for their purchases upon delivery.
    • Check / Money Order
      Magento Go allows you to accept payments by check and money order. By default, the Check / Money Order payment method is enabled.
    • Zero Subtotal Checkout
      The Zero Subtotal Checkout payment method can be used only if the shopping cart subtotal equals zero. Such a situation may occur if, for example, a discount covers the entire price of an item and the customer selects free shipping. This payment method is visible only for orders created from the Admin panel.
    • Bank Transfer Payment
      The Bank Transfer Payment method lets customers pay for purchases by making a direct bank transfer to your merchant bank account.
    • Purchase Order
      The Purchase Order payment method lets commercial buyers make purchases from your Magento Go store by purchase order rather than cash or credit.

    Payment Service Providers

    On your Dashboard, go to System --> Configuration

    Magento Payment Gateways System -Configuration
    Scroll the mouse down and look on the left navigation menu, you will see "Sales" menu. Look down, you see "Payment Methods" and "Payment Services" right? Click on Payment Methods.
    Magento Payment Gateways System -Payment Method Section
    The first User Interface of Magestore appears like this:

     

    The following services direct your customer to their own payment page, which is outside of your Magento Go store. When the payment is complete, the customer returns to your store.

    Worldwide

    • PayPal Express Checkout
      PayPal Express displays the "Check out with PayPal" button, to let customers complete the purchase through PayPal.
    • 3D Secure Credit Card Validation
      3D Secure Credit Card Validation provides an additional layer of protection against fraudulent charges and chargebacks for sales. The service is available only for eligible payment gateways, and must be enabled by the administrator of your Magento Go store.

    South Asia

    • CCAvenue
      CCAvenue is the largest and most popular online payment gateway solution serving India and South Asia. With more than 5,000 websites relying on their services, they are a clear leader of online transactions in the region.

    To enable cash on delivery payment method:

    1. From the Admin panel, select System > Configuration.
    2. From the Configuration panel on the left, under Sales, select the Payment Methods tab.
    3. Click to expand the Cash on Delivery section. Then, do the following:
      1. To activate this payment method, set Enabled to Yes.
      2. In the Title field, enter an appropriate title to identify this payment method during the checkout process of your Magento Go store.
      3. Set New Order Status to Pending so that new generated orders are appropriately defined as Pending in their status until they are processed completely.
      4. In the Payment from Applicable Countries field, select the countries where this payment method can be used:
        • All Allowed Countries: Customers from all countries in the default countries list can use this payment method.
          NOTE: To define which countries are listed by default, modify the Allowed Countries field in System > Configuration > General > Countries Options.
        • Specific Countries: Customers from only those countries selected in the Payment from Specific Countries list can use this payment method. (The list appears when you select this option.)
      5. In the Instructions field, you enter any specific instructions for customers to follow with regards to the cash on delivery payment.
      6. In the Minimum Order Total and Maximum Order Total fields, specify the minimum and maximum order totals that qualify for this payment method. If an order exactly matches the minimum or maximum total, it qualifies for this payment method.
      7. To set the position of Cash on Delivery in the list of payment methods that is displayed during checkout, enter a numeric value in the Sort Order field. Enter 0 for the top of the sort order list, 1 for the second highest in the list, and so on.
    4. When finished, click Save Config.



    Cash On Delivery activated Admin Only ( Not Frontend enabled ) - Magento?

     http://phpmysqltalk.com/category/magento

    ----------------------------------

    I got the solution to show the currency symbol of product price:
    Currency Code :

    ?
    1
    <?php echo $currency_code = Mage::app()->getStore()->getCurrentCurrencyCode(); ?>
    Currency Symbol :
    ?
    1
    <?php echo Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol(); ?>