<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mukesh Chapagain&#039;s Blog &#187; multiple</title>
	<atom:link href="http://blog.chapagain.com.np/tag/multiple/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.chapagain.com.np</link>
	<description>PHP Magento jQuery SQL Wordpress Joomla Programming &#38; Tutorial</description>
	<lastBuildDate>Tue, 07 Feb 2012 00:54:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Magento: Setup Multiple Website</title>
		<link>http://blog.chapagain.com.np/magento-setup-multiple-website/</link>
		<comments>http://blog.chapagain.com.np/magento-setup-multiple-website/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 06:38:33 +0000</pubDate>
		<dc:creator>Mukesh</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[localhost]]></category>
		<category><![CDATA[multiple]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://blog.chapagain.com.np/?p=847</guid>
		<description><![CDATA[In this article, you will learn about creating multiple website in Magento. Creating or setting up multiple stores in Magento is somehow easy but creating/setting up multiple website in Magento is a bit difficult task :). This step-by-step tutorial will guide you to do so. I suppose that you have installed Magento in folder named [...]


<strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/magento-setup-multiple-currency-shop/' rel='bookmark' title='Permanent Link: Magento: Setup multiple currency shop'>Magento: Setup multiple currency shop</a></li>
<li><a href='http://blog.chapagain.com.np/magento-showhide-demo-store-notice/' rel='bookmark' title='Permanent Link: Magento: Show/Hide Demo Store Notice'>Magento: Show/Hide Demo Store Notice</a></li>
<li><a href='http://blog.chapagain.com.np/magento-upgrading-mysql-setup-of-a-module/' rel='bookmark' title='Permanent Link: Magento: Upgrading mysql setup of a module'>Magento: Upgrading mysql setup of a module</a></li>
<li><a href='http://blog.chapagain.com.np/magento-paypal-website-payments-standard-not-displayed/' rel='bookmark' title='Permanent Link: Magento: PayPal Website Payments Standard not displayed'>Magento: PayPal Website Payments Standard not displayed</a></li>
<li><a href='http://blog.chapagain.com.np/magento-how-to-change-the-default-welcome-msg/' rel='bookmark' title='Permanent Link: Magento: How to change the &#8216;Default welcome msg!&#8217;'>Magento: How to change the &#8216;Default welcome msg!&#8217;</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In this article, you will learn about creating multiple website in Magento.</p>
<p>Creating or setting up multiple stores in Magento is somehow easy but creating/setting up multiple website in Magento is a bit difficult task :).</p>
<p>This step-by-step tutorial will guide you to do so.</p>
<p><span id="more-847"></span></p>
<p>I suppose that you have installed Magento in folder named <strong>&#8216;magento&#8217;</strong>. So, your website URL will be <strong>http://yourwebsite.com/magento/</strong></p>
<p><strong>- Create Website, Store, and Store View</strong></p>
<p>- Create Website<br />
- Go to System &#8211;> Manage Stores<br />
- Create Website<br />
- Name = My Website<br />
- Code = mywebsite<br />
- Sort Order = 10<br />
- Save Website</p>
<p>- Create Store<br />
- Go to System -&gt; Manage Stores<br />
- Create Store<br />
- Website = My Website<br />
- Name = Main Store<br />
- Root Category = Root Catalog</p>
<p>- Create Store View<br />
- Go to System -&gt; Manage Stores<br />
- Create Store View<br />
- Store = My Website -&gt; Main Store<br />
- Name = English<br />
- Code = English<br />
- Status = Enabled<br />
- Sort Order = 10</p>
<p><strong>- Change Link URL</strong><br />
- Go to System -&gt; Configuration -&gt; GENERAL -&gt; Web<br />
- Change &#8216;Current Configuration Scope&#8217; to &#8216;My Website&#8217;<br />
- Unsecure -&gt; Base URL = http://yourwebsite.com/magento/<br />
- Unsecure -&gt; Base Link URL = http://yourwebsite.com/magento/mywebsite/</p>
<p><strong>- Change Theme (Optional: If you want different design for your new website)</strong></p>
<p>- Suppose your new design template and skin folder is named &#8216;mywebsite&#8217;<br />
- Copy &#8216;mywebsite&#8217; template folder to magento/app/design/frontend/default/<br />
- Copy &#8216;mywebsite&#8217; skin folder to magento/skin/frontend/default/</p>
<p>- Go to System -&gt; Configuration -&gt; GENERAL -&gt; Design<br />
- Change &#8216;Current Configuration Scope&#8217; to &#8216;My Website&#8217;<br />
- Themes -&gt; Default = &#8216;mywebsite&#8217;<br />
- Uncheck &#8216;Use Default&#8217;<br />
- Save Config</p>
<p><strong>- Create a new folder named &#8216;mywebsite&#8217; inside &#8216;magento&#8217; folder.</strong></p>
<p><strong>- Copy index.php of magento folder into mywebsite folder.</strong></p>
<p><strong>- Open index.php of mywebsite folder.</strong><br />
- Change $compilerConfig = &#8216;includes/config.php&#8217;; to $compilerConfig = &#8216;../includes/config.php&#8217;;<br />
- Change $mageFilename = &#8216;app/Mage.php&#8217;; to $mageFilename = &#8216;../app/Mage.php&#8217;;<br />
- Change Mage::run(); to Mage::run(&#8216;mywebsite&#8217;,'website&#8217;);</p>
<p><strong>- Copy .htaccess file from magento folder to mywebsite folder</strong></p>
<p>Finally, you have created a new website for your magento shop. Your base installation can be browsed by http://yourwebsite.com/magento/ and your new website can be browsed by <strong>http://yourwebsite.com/magento/mywebsite/</strong></p>
<p>Hope this helps. Thanks.</p>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> )</small><img src="http://blog.chapagain.com.np/?ak_action=api_record_view&id=847&type=feed" alt="" />

<p><strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/magento-setup-multiple-currency-shop/' rel='bookmark' title='Permanent Link: Magento: Setup multiple currency shop'>Magento: Setup multiple currency shop</a></li>
<li><a href='http://blog.chapagain.com.np/magento-showhide-demo-store-notice/' rel='bookmark' title='Permanent Link: Magento: Show/Hide Demo Store Notice'>Magento: Show/Hide Demo Store Notice</a></li>
<li><a href='http://blog.chapagain.com.np/magento-upgrading-mysql-setup-of-a-module/' rel='bookmark' title='Permanent Link: Magento: Upgrading mysql setup of a module'>Magento: Upgrading mysql setup of a module</a></li>
<li><a href='http://blog.chapagain.com.np/magento-paypal-website-payments-standard-not-displayed/' rel='bookmark' title='Permanent Link: Magento: PayPal Website Payments Standard not displayed'>Magento: PayPal Website Payments Standard not displayed</a></li>
<li><a href='http://blog.chapagain.com.np/magento-how-to-change-the-default-welcome-msg/' rel='bookmark' title='Permanent Link: Magento: How to change the &#8216;Default welcome msg!&#8217;'>Magento: How to change the &#8216;Default welcome msg!&#8217;</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.chapagain.com.np/magento-setup-multiple-website/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Multiple file upload with jQuery and php</title>
		<link>http://blog.chapagain.com.np/multiple-file-upload-with-jquery-and-php/</link>
		<comments>http://blog.chapagain.com.np/multiple-file-upload-with-jquery-and-php/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 07:59:08 +0000</pubDate>
		<dc:creator>Mukesh</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[multiple]]></category>
		<category><![CDATA[upload]]></category>

		<guid isPermaLink="false">http://blog.chapagain.com.np/?p=125</guid>
		<description><![CDATA[Here, I am going to show you how easy it is to upload multiple files with the help of jQuery and PHP. I suppose that you are familiar with php and apache web server. Let our folder name be &#8216;test&#8217;. Let us create a file called &#8216;index.php&#8217; inside test folder. Inside the &#8216;test&#8217; folder, you [...]


<strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/file-upload-in-php-simplified/' rel='bookmark' title='Permanent Link: File Upload in PHP :: Simplified'>File Upload in PHP :: Simplified</a></li>
<li><a href='http://blog.chapagain.com.np/magento-how-to-upload-file/' rel='bookmark' title='Permanent Link: Magento: How to upload file?'>Magento: How to upload file?</a></li>
<li><a href='http://blog.chapagain.com.np/magento-jquery-how-to-use-them-together/' rel='bookmark' title='Permanent Link: Magento jQuery: How to use them together?'>Magento jQuery: How to use them together?</a></li>
<li><a href='http://blog.chapagain.com.np/jquery-print-array-and-object/' rel='bookmark' title='Permanent Link: jQuery: Print array and object'>jQuery: Print array and object</a></li>
<li><a href='http://blog.chapagain.com.np/jquery-grey-out-background-and-preview-image-as-popup/' rel='bookmark' title='Permanent Link: jQuery: Grey out background and preview image as popup'>jQuery: Grey out background and preview image as popup</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Here, I am going to show you how easy it is to upload multiple files with the help of jQuery and PHP.</p>
<p>I suppose that you are familiar with php and apache web server.</p>
<p><span id="more-125"></span></p>
<p>Let our folder name be &#8216;test&#8217;. Let us create a file called &#8216;index.php&#8217; inside test folder. Inside the &#8216;test&#8217; folder, you have to make another folder named &#8216;uploads&#8217;. The files will be uploaded into this folder.</p>
<p>We need few more things. We need the jQuery js files. Download the following two files and keep inside the folder &#8216;test&#8217;.</p>
<p>http://jquery.com/src/jquery-latest.js</p>
<p>http://jquery-multifile-plugin.googlecode.com/svn/trunk/jquery.MultiFile.js</p>
<p>Below is the complete code for multiple file upload:</p>
<pre class="brush: php; title: ; notranslate">&lt;?php
if(isset($_POST['upload']))
{
    $uploaddir = 'uploads/';
    foreach ($_FILES[&quot;pic&quot;][&quot;error&quot;] as $key =&gt; $error)
    {
        if ($error == UPLOAD_ERR_OK)
        {
            $tmp_name = $_FILES[&quot;pic&quot;][&quot;tmp_name&quot;][$key];
            $name = $_FILES[&quot;pic&quot;][&quot;name&quot;][$key];
            $uploadfile = $uploaddir . basename($name);

            if (move_uploaded_file($tmp_name, $uploadfile))
            {
                echo &quot;Success: File &quot;.$name.&quot; uploaded.&lt;br/&gt;&quot;;
            }
            else
            {
                echo &quot;Error: File &quot;.$name.&quot; cannot be uploaded.&lt;br/&gt;&quot;;
            }
        }
    }
}
?&gt;

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;
&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
&lt;title&gt;Multiple File Upload with jQuery and PHP&lt;/title&gt;

&lt;script src=&quot;jquery.js&quot; type=&quot;text/javascript&quot; language=&quot;javascript&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;jquery.MultiFile.js&quot; type=&quot;text/javascript&quot; language=&quot;javascript&quot;&gt;&lt;/script&gt;

&lt;/head&gt;

&lt;body&gt;
&lt;form action=&quot;&quot; method=&quot;post&quot; enctype=&quot;multipart/form-data&quot;&gt;
&lt;input type=&quot;file&quot; name=&quot;pic[]&quot; class=&quot;multi&quot; /&gt;
&lt;input type=&quot;submit&quot; name=&quot;upload&quot; value=&quot;Upload&quot; /&gt;
&lt;/form&gt;
&lt;/body&gt;

&lt;/html&gt;</pre>
<p>There is one important thing to be noticed.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;input type=&quot;file&quot; name=&quot;pic[]&quot; class=&quot;multi&quot; /&gt;
</pre>
<p>You have add &#8220;[ ]&#8221; to name of your element. And you also have to add class=&#8221;multi&#8221;.</p>
<p>For more examples, see:</p>
<p>http://www.fyneworks.com/jquery/multiple-file-upload/#tab-Examples</p>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> )</small><img src="http://blog.chapagain.com.np/?ak_action=api_record_view&id=125&type=feed" alt="" />

<p><strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/file-upload-in-php-simplified/' rel='bookmark' title='Permanent Link: File Upload in PHP :: Simplified'>File Upload in PHP :: Simplified</a></li>
<li><a href='http://blog.chapagain.com.np/magento-how-to-upload-file/' rel='bookmark' title='Permanent Link: Magento: How to upload file?'>Magento: How to upload file?</a></li>
<li><a href='http://blog.chapagain.com.np/magento-jquery-how-to-use-them-together/' rel='bookmark' title='Permanent Link: Magento jQuery: How to use them together?'>Magento jQuery: How to use them together?</a></li>
<li><a href='http://blog.chapagain.com.np/jquery-print-array-and-object/' rel='bookmark' title='Permanent Link: jQuery: Print array and object'>jQuery: Print array and object</a></li>
<li><a href='http://blog.chapagain.com.np/jquery-grey-out-background-and-preview-image-as-popup/' rel='bookmark' title='Permanent Link: jQuery: Grey out background and preview image as popup'>jQuery: Grey out background and preview image as popup</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.chapagain.com.np/multiple-file-upload-with-jquery-and-php/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
