<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Zend Framework, Magento</title>
	<atom:link href="http://sohelrana09.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sohelrana09.wordpress.com</link>
	<description>Take a challenge in web application?</description>
	<lastBuildDate>Fri, 13 Jan 2012 11:34:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sohelrana09.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Zend Framework, Magento</title>
		<link>http://sohelrana09.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sohelrana09.wordpress.com/osd.xml" title="Zend Framework, Magento" />
	<atom:link rel='hub' href='http://sohelrana09.wordpress.com/?pushpress=hub'/>
		<item>
		<title>I upgraded to OS X Lion, but now the oDesk Team application is uploading black screenshots. What should I do?</title>
		<link>http://sohelrana09.wordpress.com/2011/10/03/i-upgraded-to-os-x-lion-but-now-the-odesk-team-application-is-uploading-black-screenshots-what-should-i-do/</link>
		<comments>http://sohelrana09.wordpress.com/2011/10/03/i-upgraded-to-os-x-lion-but-now-the-odesk-team-application-is-uploading-black-screenshots-what-should-i-do/#comments</comments>
		<pubDate>Mon, 03 Oct 2011 17:17:29 +0000</pubDate>
		<dc:creator>sohelrana09</dc:creator>
				<category><![CDATA[oDesk Team black screenshots]]></category>
		<category><![CDATA[OS X Lion]]></category>

		<guid isPermaLink="false">http://sohelrana09.wordpress.com/?p=94</guid>
		<description><![CDATA[1. Close the oDesk Team application(If already running). 2. Open the Terminal. 3. Run the following command in the terminal window: defaults write com.odesk.Preferences &#8220;TeamCapture.UseCGS&#8221; 1 4. Run the oDesk Team client and check the screensnaps. Done! Good Luck !<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sohelrana09.wordpress.com&amp;blog=7340128&amp;post=94&amp;subd=sohelrana09&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1. Close the oDesk Team application(If already running).</p>
<p>2. Open the Terminal.</p>
<p>3. Run the following command in the terminal window: defaults write com.odesk.Preferences &#8220;TeamCapture.UseCGS&#8221; 1</p>
<p>4. Run the oDesk Team client and check the screensnaps.</p>
<p>Done!</p>
<p>Good Luck !</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sohelrana09.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sohelrana09.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sohelrana09.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sohelrana09.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sohelrana09.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sohelrana09.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sohelrana09.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sohelrana09.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sohelrana09.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sohelrana09.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sohelrana09.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sohelrana09.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sohelrana09.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sohelrana09.wordpress.com/94/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sohelrana09.wordpress.com&amp;blog=7340128&amp;post=94&amp;subd=sohelrana09&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sohelrana09.wordpress.com/2011/10/03/i-upgraded-to-os-x-lion-but-now-the-odesk-team-application-is-uploading-black-screenshots-what-should-i-do/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/40722e3295bf34a4445abbc4cf7db7eb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sohelrana09</media:title>
		</media:content>
	</item>
		<item>
		<title>Trouble creating a quote/order through custom code (programmatically create order without use API)</title>
		<link>http://sohelrana09.wordpress.com/2011/09/15/trouble-creating-a-quoteorder-through-custom-code-programmatically-create-order-without-use-api/</link>
		<comments>http://sohelrana09.wordpress.com/2011/09/15/trouble-creating-a-quoteorder-through-custom-code-programmatically-create-order-without-use-api/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 15:02:30 +0000</pubDate>
		<dc:creator>sohelrana09</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Magento Custom Order]]></category>

		<guid isPermaLink="false">http://sohelrana09.wordpress.com/?p=91</guid>
		<description><![CDATA[After a long time I am posting a new post for Magento custom create order. When you create custom order then you can face various type session problem that&#8217;s why you loss of interest for creating custom code. Bellow this code is only for loged In user. $AccountNo = Mage::getModel('customer/session')-&#62;getCustomer()-&#62;getId(); $customerObj=Mage::getModel('customer/customer')-&#62;load($AccountNo); $quoteObj=Mage::getModel('sales/quote')-&#62;assignCustomer($customerObj); $quoteObj = $quoteObj-&#62;setStoreId(Mage::app()-&#62;getStore()-&#62;getId()); [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sohelrana09.wordpress.com&amp;blog=7340128&amp;post=91&amp;subd=sohelrana09&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After a long time I am posting a new post for Magento custom create order. When you create custom order then you can face various type session problem that&#8217;s why you loss of interest for creating custom code. Bellow this code is only for loged In user.</p>
<p><code><br />
$AccountNo = Mage::getModel('customer/session')-&gt;getCustomer()-&gt;getId();<br />
$customerObj=Mage::getModel('customer/customer')-&gt;load($AccountNo);<br />
$quoteObj=Mage::getModel('sales/quote')-&gt;assignCustomer($customerObj);<br />
$quoteObj = $quoteObj-&gt;setStoreId(Mage::app()-&gt;getStore()-&gt;getId());</code></p>
<p>$productModel=Mage::getModel(&#8216;catalog/product&#8217;);<br />
$productObj=$productModel-&gt;load($productId);<br />
if ($productObj-&gt;getTypeId() == &#8216;simple&#8217;) {<br />
$quoteObj-&gt;addProduct($productObj , 1);</p>
<p>} else if ($productObj-&gt;getTypeId() == &#8216;subscription_simple&#8217;) {<br />
if ( (!isset($params['aw_sarp_subscription_type'])) ) {<br />
$params['aw_sarp_subscription_type'] = $productObj-&gt;getAwSarpPeriod();<br />
}</p>
<p>if ( (!isset($params['aw_sarp_subscription_start']))) {<br />
$default_period = Mage::getModel(&#8216;sarp/period&#8217;)-&gt;load($productObj-&gt;getAwSarpPeriod());<br />
$params['aw_sarp_subscription_start'] = trim($this-&gt;formatDate($default_period-&gt;getNearestAvailableDay()));<br />
}<br />
$params['qty'] = $qty;<br />
$request = new Varien_Object();<br />
$request-&gt;setData($params);<br />
$quoteObj-&gt;addProduct($productObj , $request);</p>
<p>} else if ($productObj-&gt;getTypeId() == &#8216;subscription_downloadable&#8217;) {</p>
<p>$links = Mage::getModel(&#8216;downloadable/product_type&#8217;)-&gt;getLinks( $productObj );<br />
$linkId = 0;<br />
foreach ($links as $link) {<br />
$linkId = $link-&gt;getId();<br />
}</p>
<p>$params['product'] = $productId;<br />
$params['related_product'] = &#8221;;</p>
<p>if ( (!isset($params['aw_sarp_subscription_type'])) ) {<br />
$params['aw_sarp_subscription_type'] = $productObj-&gt;getAwSarpPeriod();<br />
}</p>
<p>if ( (!isset($params['aw_sarp_subscription_start']))) {<br />
$default_period = Mage::getModel(&#8216;sarp/period&#8217;)-&gt;load($productObj-&gt;getAwSarpPeriod());<br />
$params['aw_sarp_subscription_start'] = trim($this-&gt;formatDate($default_period-&gt;getNearestAvailableDay()));<br />
}</p>
<p>$params['links'] = array($linkId);<br />
$params['qty'] = $qty;<br />
$request = new Varien_Object();<br />
$request-&gt;setData($params);<br />
$quoteObj-&gt;addProduct($productObj , $request);</p>
<p>//return;<br />
} else if ($productObj-&gt;getTypeId() == &#8216;downloadable&#8217;) {<br />
$links = Mage::getModel(&#8216;downloadable/product_type&#8217;)-&gt;getLinks( $productObj );<br />
$linkId = 0;<br />
foreach ($links as $link) {<br />
$linkId = $link-&gt;getId();<br />
}</p>
<p>$params['product'] = $productId;<br />
$params['qty'] = $qty;<br />
$params['links'] = array($linkId);<br />
$request = new Varien_Object();<br />
$request-&gt;setData($params);<br />
$quoteObj-&gt;addProduct($productObj , $request);<br />
}</p>
<p>$quoteObj-&gt;getShippingAddress()-&gt;setShippingMethod(&#8216;flatrate_flatrate&#8217;);</p>
<p>$quoteObj-&gt;getShippingAddress()-&gt;setCollectShippingRates(true);<br />
$quoteObj-&gt;getShippingAddress()-&gt;collectShippingRates();</p>
<p>$quoteObj-&gt;collectTotals();</p>
<p>$quoteObj-&gt;save();</p>
<p>$quoteObj-&gt;collectTotals();</p>
<p>$transaction = Mage::getModel(&#8216;core/resource_transaction&#8217;);<br />
if ($quoteObj-&gt;getCustomerId()) {<br />
$transaction-&gt;addObject($quoteObj-&gt;getCustomer());<br />
}<br />
$transaction-&gt;addObject($quoteObj);</p>
<p>$quoteObj-&gt;reserveOrderId();</p>
<p>$payment = $order-&gt;getPayment();<br />
$ccInfo = array();<br />
if (payment_method == &#8216;authorizenet&#8217;) {</p>
<p>// set payment method<br />
$quotePaymentObj = $quoteObj-&gt;getPayment(); // Mage_Sales_Model_Quote_Payment<br />
$quotePaymentObj-&gt;setMethod(&#8216;authorizenet&#8217;);<br />
$quoteObj-&gt;setPayment($quotePaymentObj);<br />
$quoteObj-&gt;getPayment()-&gt;setCcNumber($ccInfo['cc_number']);<br />
$quoteObj-&gt;getPayment()-&gt;setCcType($ccInfo['cc_type']);<br />
$quoteObj-&gt;getPayment()-&gt;setCcExpMonth($ccInfo['cc_exp_month']);<br />
$quoteObj-&gt;getPayment()-&gt;setCcExpYear($ccInfo['cc_exp_year']);<br />
$quoteObj-&gt;getPayment()-&gt;setCcLast4(substr($ccInfo['cc_number'],-4));<br />
if (isset($ccInfo['cc_cid']) &amp;&amp; $ccInfo['cc_cid']) {<br />
$quoteObj-&gt;getPayment()-&gt;setCcCid($ccInfo['cc_cid']);<br />
}</p>
<p>} else {<br />
// set payment method<br />
$quotePaymentObj = $quoteObj-&gt;getPayment(); // Mage_Sales_Model_Quote_Payment<br />
$quotePaymentObj-&gt;setMethod($order-&gt;getPayment()-&gt;getMethod());<br />
$quoteObj-&gt;setPayment($quotePaymentObj);<br />
}</p>
<p>$convertQuoteObj=Mage::getSingleton(&#8216;sales/convert_quote&#8217;);<br />
if ($quoteObj-&gt;getIsVirtual()) {<br />
$orderObj = $convertQuoteObj-&gt;addressToOrder($quoteObj-&gt;getBillingAddress());<br />
} else {<br />
$orderObj = $quoteConvert-&gt;addressToOrder($quote-&gt;getShippingAddress());<br />
}</p>
<p>$orderPaymentObj=$convertQuoteObj-&gt;paymentToOrderPayment($quotePaymentObj);</p>
<p>$orderObj-&gt;setBillingAddress($convertQuoteObj-&gt;addressToOrderAddress($quoteObj-&gt;getBillingAddress()));<br />
$orderObj-&gt;setPayment($convertQuoteObj-&gt;paymentToOrderPayment($quoteObj-&gt;getPayment()));<br />
if (!$quoteObj-&gt;getIsVirtual()) {<br />
$orderObj-&gt;setShippingAddress($convertQuoteObj-&gt;addressToOrderAddress($quoteObj-&gt;getShippingAddress()));<br />
}</p>
<p>// set payment options<br />
if (count($ccInfo) &gt; 0) {<br />
$orderObj-&gt;setPayment($convertQuoteObj-&gt;paymentToOrderPayment($quoteObj-&gt;getPayment()));<br />
$orderObj-&gt;getPayment()-&gt;setCcNumber($ccInfo['cc_number']);<br />
$orderObj-&gt;getPayment()-&gt;setCcType($ccInfo['cc_type']);<br />
$orderObj-&gt;getPayment()-&gt;setCcExpMonth($ccInfo['cc_exp_month']);<br />
$orderObj-&gt;getPayment()-&gt;setCcExpYear($ccInfo['cc_exp_year']);<br />
$orderObj-&gt;getPayment()-&gt;setCcLast4(substr($ccInfo['cc_number'],-4));<br />
if (isset($ccInfo['cc_cid']) &amp;&amp; $ccInfo['cc_cid']) {<br />
$orderObj-&gt;getPayment()-&gt;setCcCid($ccInfo['cc_cid']);<br />
}<br />
} else {<br />
$orderObj-&gt;setPayment($convertQuoteObj-&gt;paymentToOrderPayment($quoteObj-&gt;getPayment()));<br />
}</p>
<p>$items=$quoteObj-&gt;getAllItems();</p>
<p>foreach ($items as $item) {<br />
//@var $item Mage_Sales_Model_Quote_Item<br />
$orderItem = $convertQuoteObj-&gt;itemToOrderItem($item);<br />
if ($item-&gt;getParentItem()) {<br />
$orderItem-&gt;setParentItem($orderObj-&gt;getItemByQuoteItemId($item-&gt;getParentItem()-&gt;getId()));<br />
}<br />
$orderObj-&gt;addItem($orderItem);<br />
}</p>
<p>$orderObj-&gt;setCanShipPartiallyItem(false);</p>
<p>$totalDue=$orderObj-&gt;getTotalDue();</p>
<p>$transaction-&gt;addObject($orderObj);<br />
$transaction-&gt;addCommitCallback(array($orderObj, &#8216;place&#8217;));<br />
$transaction-&gt;addCommitCallback(array($orderObj, &#8216;save&#8217;));</p>
<p>try {<br />
$transaction-&gt;save();</p>
<p>} catch (Exception $e){<br />
Mage::log($e-&gt;getMessage());<br />
Mage::log($e-&gt;getTraceAsString());<br />
}</p>
<p>$orderObj-&gt;sendNewOrderEmail();</p>
<p>Mage::dispatchEvent(&#8216;checkout_type_onepage_save_order_after&#8217;, array(&#8216;order&#8217;=&gt;$orderObj, &#8216;quote&#8217;=&gt;$quoteObj));</p>
<p>$quoteObj-&gt;setIsActive(false);<br />
$quoteObj-&gt;save();</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sohelrana09.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sohelrana09.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sohelrana09.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sohelrana09.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sohelrana09.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sohelrana09.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sohelrana09.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sohelrana09.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sohelrana09.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sohelrana09.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sohelrana09.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sohelrana09.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sohelrana09.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sohelrana09.wordpress.com/91/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sohelrana09.wordpress.com&amp;blog=7340128&amp;post=91&amp;subd=sohelrana09&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sohelrana09.wordpress.com/2011/09/15/trouble-creating-a-quoteorder-through-custom-code-programmatically-create-order-without-use-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/40722e3295bf34a4445abbc4cf7db7eb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sohelrana09</media:title>
		</media:content>
	</item>
		<item>
		<title>How to overwrite sales view order phtml file in magento</title>
		<link>http://sohelrana09.wordpress.com/2011/06/24/how-to-overwrite-sales-view-order-phtml-file-in-magento/</link>
		<comments>http://sohelrana09.wordpress.com/2011/06/24/how-to-overwrite-sales-view-order-phtml-file-in-magento/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 05:34:23 +0000</pubDate>
		<dc:creator>sohelrana09</dc:creator>
				<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://sohelrana09.wordpress.com/?p=83</guid>
		<description><![CDATA[If you need to customize sales view order or customize your view order phtml page for admin , then you need to overwrite this phtml file. You don&#8217;t should customize the core phtml file. You should customize your own file. So lets go&#8230;. Step 1 : you should create a xml file inside layout folder(Possible [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sohelrana09.wordpress.com&amp;blog=7340128&amp;post=83&amp;subd=sohelrana09&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you need to customize sales view order or customize your view order phtml page for admin , then you need to overwrite this phtml file. You don&#8217;t should customize the core phtml file. You should customize your own file. So lets go&#8230;.<span id="more-83"></span></p>
<p><strong>Step 1 :</strong> you should create a xml file inside layout folder(Possible path: app/design/adminhtml/default/default/layout).</p>
<p>For example : custom.xml</p>
<p>Your code should be:</p>
<p>&lt;?xml version=&#8221;1.0&#8243;?&gt;<br />
&lt;layout version=&#8221;0.1.0&#8243;&gt;</p>
<p>&lt;adminhtml_sales_order_view&gt;<br />
&lt;reference name=&#8221;sales_order_tabs&#8221;&gt;<br />
&lt;block type=&#8221;adminhtml/sales_order_view_tab_info&#8221; name=&#8221;order_tab_info&#8221; template=&#8221;custom/sales/order/view/tab/info.phtml&#8221;&gt;<br />
&lt;block type=&#8221;adminhtml/sales_order_view_messages&#8221; name=&#8221;order_messages&#8221;&gt;&lt;/block&gt;<br />
&lt;block type=&#8221;adminhtml/sales_order_view_items&#8221; name=&#8221;order_items&#8221; template=&#8221;custom/sales/order/view/items.phtml&#8221;&gt;<br />
&lt;action method=&#8221;addItemRender&#8221;&gt;&lt;type&gt;default&lt;/type&gt;&lt;block&gt;adminhtml/sales_order_view_items_renderer_default&lt;/block&gt;&lt;template&gt;sales/order/view/items/renderer/default.phtml&lt;/template&gt;&lt;/action&gt;<br />
&lt;action method=&#8221;addColumnRender&#8221;&gt;&lt;column&gt;qty&lt;/column&gt;&lt;block&gt;adminhtml/sales_items_column_qty&lt;/block&gt;&lt;template&gt;sales/items/column/qty.phtml&lt;/template&gt;&lt;/action&gt;<br />
&lt;action method=&#8221;addColumnRender&#8221;&gt;&lt;column&gt;name&lt;/column&gt;&lt;block&gt;adminhtml/sales_items_column_name&lt;/block&gt;&lt;template&gt;sales/items/column/name.phtml&lt;/template&gt;&lt;/action&gt;<br />
&lt;action method=&#8221;addColumnRender&#8221;&gt;&lt;column&gt;name&lt;/column&gt;&lt;block&gt;adminhtml/sales_items_column_name_grouped&lt;/block&gt;&lt;template&gt;sales/items/column/name.phtml&lt;/template&gt;&lt;type&gt;grouped&lt;/type&gt;&lt;/action&gt;<br />
&lt;/block&gt;<br />
&lt;block type=&#8221;adminhtml/sales_order_payment&#8221; name=&#8221;order_payment&#8221;/&gt;<br />
&lt;/block&gt;<br />
&lt;action method=&#8221;addTab&#8221;&gt;&lt;name&gt;order_info&lt;/name&gt;&lt;block&gt;order_tab_info&lt;/block&gt;&lt;/action&gt;<br />
&lt;action method=&#8221;addTab&#8221;&gt;&lt;name&gt;order_invoices&lt;/name&gt;&lt;block&gt;adminhtml/sales_order_view_tab_invoices&lt;/block&gt;&lt;/action&gt;<br />
&lt;action method=&#8221;addTab&#8221;&gt;&lt;name&gt;order_creditmemos&lt;/name&gt;&lt;block&gt;adminhtml/sales_order_view_tab_creditmemos&lt;/block&gt;&lt;/action&gt;<br />
&lt;action method=&#8221;addTab&#8221;&gt;&lt;name&gt;order_shipments&lt;/name&gt;&lt;block&gt;adminhtml/sales_order_view_tab_shipments&lt;/block&gt;&lt;/action&gt;<br />
&lt;action method=&#8221;addTab&#8221;&gt;&lt;name&gt;order_history&lt;/name&gt;&lt;block&gt;adminhtml/sales_order_view_tab_history&lt;/block&gt;&lt;/action&gt;<br />
&lt;action method=&#8221;addTab&#8221;&gt;&lt;name&gt;order_transactions&lt;/name&gt;&lt;block&gt;adminhtml/sales_order_view_tab_transactions&lt;/block&gt;&lt;/action&gt;<br />
&lt;/reference&gt;<br />
&lt;reference name=&#8221;order_tab_info&#8221;&gt;<br />
&lt;block type=&#8221;adminhtml/sales_order_view_info&#8221; name=&#8221;order_info&#8221; template=&#8221;custom/sales/order/view/info.phtml&#8221;&gt;&lt;/block&gt;<br />
&lt;block type=&#8221;adminhtml/sales_order_view_history&#8221; name=&#8221;order_history&#8221; template=&#8221;custom/sales/order/view/history.phtml&#8221;&gt;&lt;/block&gt;<br />
&lt;block type=&#8221;adminhtml/sales_order_view_giftmessage&#8221; name=&#8221;order_giftmessage&#8221; template=&#8221;custom/sales/order/view/giftmessage.phtml&#8221;&gt;&lt;/block&gt;<br />
&lt;block type=&#8221;adminhtml/sales_order_totals&#8221; name=&#8221;order_totals&#8221; template=&#8221;custom/sales/order/totals.phtml&#8221;&gt;<br />
&lt;block type=&#8221;adminhtml/sales_order_totals_tax&#8221; name=&#8221;tax&#8221; template=&#8221;custom/sales/order/totals/tax.phtml&#8221; /&gt;<br />
&lt;/block&gt;<br />
&lt;/reference&gt;<br />
&lt;/adminhtml_sales_order_view&gt;</p>
<p>&lt;/layout&gt;</p>
<p><strong>Step 2 :</strong> Then you need to create a folder (name: custom) inside template folder (Possible path: app/design/adminhtml/default/default/template).</p>
<p>Copy all content of core Sales/Order/View to Custom folder.</p>
<p>Now you have folder structure of Custom/Sales/Order/View/</p>
<p>and Copy all content of core Sales/Order/totals to Custom folder as same folder structure and also Sales/Order/totals.phtml</p>
<p><strong>Step 3:</strong> Clear the cache</p>
<p>Enjoy!<!--more--></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sohelrana09.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sohelrana09.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sohelrana09.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sohelrana09.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sohelrana09.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sohelrana09.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sohelrana09.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sohelrana09.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sohelrana09.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sohelrana09.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sohelrana09.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sohelrana09.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sohelrana09.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sohelrana09.wordpress.com/83/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sohelrana09.wordpress.com&amp;blog=7340128&amp;post=83&amp;subd=sohelrana09&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sohelrana09.wordpress.com/2011/06/24/how-to-overwrite-sales-view-order-phtml-file-in-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/40722e3295bf34a4445abbc4cf7db7eb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sohelrana09</media:title>
		</media:content>
	</item>
		<item>
		<title>How to integrate joomla 1.5.x into wordpress</title>
		<link>http://sohelrana09.wordpress.com/2010/06/25/how-to-integrate-joomla-1-5-x-into-wordpress/</link>
		<comments>http://sohelrana09.wordpress.com/2010/06/25/how-to-integrate-joomla-1-5-x-into-wordpress/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 06:35:13 +0000</pubDate>
		<dc:creator>sohelrana09</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://sohelrana09.wordpress.com/?p=74</guid>
		<description><![CDATA[You should install WordPress first. Now put joomla inside wordpress(wordpress/joomla ). Now install joomla into same database that are already install wordpress. All of the header and footer stuff in joomla is used from wordpress so you do not need to restyle it in joomla . All you need to do is to style and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sohelrana09.wordpress.com&amp;blog=7340128&amp;post=74&amp;subd=sohelrana09&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You should install WordPress first.</p>
<p>Now put joomla inside wordpress(wordpress/joomla ).</p>
<p>Now install joomla into same database that are already install wordpress.</p>
<p>All of the header and footer stuff in joomla is used from wordpress so you do not need to restyle it in joomla . All you need to do is to style and work on the content area of the joomla template output.<span id="more-74"></span></p>
<p>Steps:<br />
1) Do the full styling of wordpress part. After that, header.php of your wordpress template file and surround the header output stuff with comments like:<br />
&lt;!– STARTHeaderContainer –&gt;<br />
—<br />
—-<br />
——<br />
—-<br />
—</p>
<p>&lt;!– ENDHeaderContainer –&gt;</p>
<p>2) Do the full styling of wordpress part. After that, footer.php of your wordpress template file and surround the footer output stuff with comments like:</p>
<p>&lt;!– STARTFooterContainer –&gt;</p>
<p>—<br />
—-<br />
——<br />
—-<br />
—</p>
<p>&lt;!– ENDFooterContainer –&gt;</p>
<p>3) Go to Joomla/includes/application.php file, copy paste the class into it.</p>
<p>class Joomlawordpress_ConnectWJ<br />
{<br />
private $_content;<br />
private $_header;<br />
private $_footer;</p>
<p>public function __construct($url, $markerStartHeader = null, $markerEndHeader = null, $markerStartFooter = null, $markerEndFooter = null)<br />
{<br />
$this-&gt;_content = file_get_contents($url);<br />
$this-&gt;_renderHeader($markerStartHeader, $markerEndHeader);<br />
$this-&gt;_renderFooter($markerStartFooter, $markerEndFooter);<br />
}</p>
<p>public function renderHeader($markerStart = null, $markerEnd = null)<br />
{<br />
return $this-&gt;_header;<br />
}</p>
<p>private function _renderHeader($markerStart = null, $markerEnd = null)<br />
{<br />
$markerStart = (is_null($markerStart)) ? ‘’ : (string)$markerStart;<br />
$markerEnd = (is_null($markerEnd)) ? ‘’ : (string)$markerEnd;</p>
<p>$headerStart = stripos($this-&gt;_content, $markerStart);<br />
$headerEnd = stripos($this-&gt;_content, $markerEnd);</p>
<p>$this-&gt;_header = substr($this-&gt;_content, $headerStart, $headerEnd-$headerStart);<br />
}</p>
<p>public function renderFooter()<br />
{<br />
return $this-&gt;_footer;<br />
}</p>
<p>private function _renderFooter($markerStart = null, $markerEnd = null)<br />
{<br />
$markerStart = (is_null($markerStart)) ?&#8221; : (string)$markerStart;<br />
$markerEnd = (is_null($markerEnd)) ? &#8221;: (string)$markerEnd;</p>
<p>$footerStart = stripos($this-&gt;_content, $markerStart);<br />
$footerEnd = stripos($this-&gt;_content, $markerEnd);</p>
<p>$this-&gt;_footer = substr($this-&gt;_content, $footerStart, $footerEnd-$footerStart);<br />
}</p>
<p>}<br />
4) Inside Joomla theme folder, open index.php and instantiate a class like:</p>
<p>$parts = new Joomlawordpress_ConnectWJ(&#8216;http://example.domain&#8217;);</p>
<p>echo $parts-&gt;renderHeader();</p>
<p>5) Inside Joomla theme folder, open index.php and instantiate a class like:</p>
<p>$parts = new Joomlawordpress_ConnectWJ(&#8216;http://example.domain&#8217;);</p>
<p>echo $parts-&gt;renderFooter();<br />
Upon refresh of Joomla home page you should now see the WordPress header and footer loaded with Joomla content.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sohelrana09.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sohelrana09.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sohelrana09.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sohelrana09.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sohelrana09.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sohelrana09.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sohelrana09.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sohelrana09.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sohelrana09.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sohelrana09.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sohelrana09.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sohelrana09.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sohelrana09.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sohelrana09.wordpress.com/74/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sohelrana09.wordpress.com&amp;blog=7340128&amp;post=74&amp;subd=sohelrana09&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sohelrana09.wordpress.com/2010/06/25/how-to-integrate-joomla-1-5-x-into-wordpress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/40722e3295bf34a4445abbc4cf7db7eb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sohelrana09</media:title>
		</media:content>
	</item>
		<item>
		<title>How do I integrate RECAPTCHA into Magento sign up page?</title>
		<link>http://sohelrana09.wordpress.com/2010/06/11/how-do-i-integrate-recaptcha-into-magento/</link>
		<comments>http://sohelrana09.wordpress.com/2010/06/11/how-do-i-integrate-recaptcha-into-magento/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 05:23:21 +0000</pubDate>
		<dc:creator>sohelrana09</dc:creator>
				<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://sohelrana09.wordpress.com/?p=63</guid>
		<description><![CDATA[Follow the instruction then this will be very easy to solve this problem app/design/frontend/base/default/template/customer/form/register.phtml Put this code for your any desired place . &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; require_once &#8216;lib/recaptcha/recaptchalib.php&#8217;; $publickey = &#8220;xxxxxxxxxxxxxxxxxxxxxxxxxxx’&#8221;; // you got this from the signup page # the response from reCAPTCHA $resp = null; # the error code from reCAPTCHA, if any $error = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sohelrana09.wordpress.com&amp;blog=7340128&amp;post=63&amp;subd=sohelrana09&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Follow the instruction then this will be very easy to solve this problem<br />
<span id="more-63"></span><br />
app/design/frontend/base/default/template/customer/form/register.phtml</p>
<p>Put this code for your any desired place .</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
 require_once &#8216;lib/recaptcha/recaptchalib.php&#8217;;<br />
$publickey = &#8220;xxxxxxxxxxxxxxxxxxxxxxxxxxx’&#8221;; // you got this from the signup page</p>
<p># the response from reCAPTCHA<br />
$resp = null;<br />
# the error code from reCAPTCHA, if any<br />
$error = null;</p>
<p>echo recaptcha_get_html($publickey, $error);</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>app/code/core/Mage/Customer/controllers/AccountController.php</p>
<p>Go to createPostAction function</p>
<p>if ($this-&gt;getRequest()-&gt;isPost()) {<br />
$errors = array();<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>/***** start code for recaptcha ***/<br />
require_once ‘lib/recaptcha/recaptchalib.php’;<br />
$privatekey = ‘xxxxxxxxxxxxxxxxxxxxxxxxxxx’;<br />
$resp = recaptcha_check_answer ($privatekey,<br />
$_SERVER["REMOTE_ADDR"],<br />
$this-&gt;getRequest()-&gt;getParam(&#8216;recaptcha_challenge_field&#8217;),<br />
$this-&gt;getRequest()-&gt;getParam(&#8216;recaptcha_response_field&#8217;));<br />
if ($resp-&gt;is_valid) {<br />
 // take no action<br />
} else {<br />
# set the error code so that we can display it<br />
$errors[] = $resp-&gt;error;<br />
}</p>
<p>/*** end of recaptcha option ****/<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
if (!$customer = Mage::registry(’current_customer’)) {<br />
$customer = Mage::getModel(’customer/customer’)-&gt;setId(null);<br />
}</p>
<p>Try this! </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sohelrana09.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sohelrana09.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sohelrana09.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sohelrana09.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sohelrana09.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sohelrana09.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sohelrana09.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sohelrana09.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sohelrana09.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sohelrana09.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sohelrana09.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sohelrana09.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sohelrana09.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sohelrana09.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sohelrana09.wordpress.com&amp;blog=7340128&amp;post=63&amp;subd=sohelrana09&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sohelrana09.wordpress.com/2010/06/11/how-do-i-integrate-recaptcha-into-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/40722e3295bf34a4445abbc4cf7db7eb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sohelrana09</media:title>
		</media:content>
	</item>
	</channel>
</rss>
