<?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>Fundaa.com</title>
	<atom:link href="http://fundaa.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://fundaa.com</link>
	<description></description>
	<lastBuildDate>Thu, 04 Oct 2012 06:33:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Title of the article goes here</title>
		<link>http://fundaa.com/featured/title-of-the-article-goes-here/</link>
		<comments>http://fundaa.com/featured/title-of-the-article-goes-here/#comments</comments>
		<pubDate>Thu, 04 Oct 2012 06:30:47 +0000</pubDate>
		<dc:creator>brijeshg</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Featured]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=338</guid>
		<description><![CDATA[The description of the arcticle goes here. 
bold texddt 
]]></description>
			<content:encoded><![CDATA[<p>The description of the arcticle goes here. </p>
<p><strong>bold</strong> texddt </p>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/featured/title-of-the-article-goes-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extract data from Excel Sheet with unformatted data &#8211; C#</title>
		<link>http://fundaa.com/asp-net/import-from-unformated-excell-file-to-database-asp-net-c/</link>
		<comments>http://fundaa.com/asp-net/import-from-unformated-excell-file-to-database-asp-net-c/#comments</comments>
		<pubDate>Tue, 14 Aug 2012 09:54:19 +0000</pubDate>
		<dc:creator>harikrishna</dc:creator>
				<category><![CDATA[asp.net (c#)]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=325</guid>
		<description><![CDATA[particular cell of sheet and put it into the database.
Here is image for unformatted excel sheet.

To extract data from each cell and insert into database .
First we have to create table and add column corresponding to each require cell
Here, Screenshot of table design

As shown in image one can insert any number of column as per cell in sheet
Now following is code for extract data from cell
Microsoft.Office.Interop.Excel.Workbook excelWorkbook = excelApp.Workbooks.Open( filepath, 0, false, 5, "", "",
            false, Microsoft.Office.Interop.Excel.XlPlatform.xlWindows, "", true, ...]]></description>
			<content:encoded><![CDATA[<p>particular cell of sheet and put it into the database.<br />
Here is image for unformatted excel sheet.</p>
<p><a href="http://fundaa.com/wp-content/uploads/2012/08/excelsheet.jpg"><img src="http://fundaa.com/wp-content/uploads/2012/08/excelsheet-300x137.jpg" alt="&quot;Sheet&quot;" title="excelsheet" width="300" height="137" class="alignnone size-medium wp-image-327" /></a></p>
<p>To extract data from each cell and insert into database .<br />
First we have to create table and add column corresponding to each require cell<br />
Here, Screenshot of table design</p>
<p><a href="http://fundaa.com/wp-content/uploads/2012/08/mssql1.jpg"><img src="http://fundaa.com/wp-content/uploads/2012/08/mssql1-300x137.jpg" alt="" title="mssql" width="300" height="137" class="alignnone size-medium wp-image-330" /></a></p>
<p>As shown in image one can insert any number of column as per cell in sheet<br />
Now following is code for extract data from cell<br />
<code>Microsoft.Office.Interop.Excel.Workbook excelWorkbook = excelApp.Workbooks.Open( filepath, 0, false, 5, "", "",<br />
            false, Microsoft.Office.Interop.Excel.XlPlatform.xlWindows, "", true, false, 0, true, false, false);<br />
            Microsoft.Office.Interop.Excel.Sheets excelSheets = excelWorkbook.Worksheets;<br />
            Microsoft.Office.Interop.Excel.Worksheet xlws = (Microsoft.Office.Interop.Excel.Worksheet)excelSheets.get_Item(1);<br />
     //To Extract data from A line cell e.g. A1,A2....A39 so Apply this same code fro any line<br />
             string[] a = new string[50];<br />
           for (int z = 1; z < 40; z++)<br />
            {<br />
                Range range = xlws.get_Range("A"+z);<br />
                object data = range.get_Value(XlRangeValueDataType.xlRangeValueDefault);<br />
              a[z] = (string)data;<br />
            }<br />
//Now According data contain into string array one can insert into database<br />
//e.g. here is query for MS SQL<br />
           for( j = 1 ; j<41 ;j++)<br />
           {<br />
                  query = @"update table set a" + j + " = '" + a[j] + "' , b"+j+" = '"+b[j]+"', c"+j+" = '"+c[j]+"', d"+j+" = '"+d[j]+"', e"+j+" = '"+eg[j]+"', f"+j+" = '"+f[j]+"', g"+j+" = '"+g[j]+"', h"+j+" = '"+h[j]+"', i"+j+" = '"+i[j]+"',filename ='"+filepath+"'where id = "+id+"" ;<br />
                  SqlCommand cmd = new SqlCommand(query, conn);<br />
                  int numRowsAffected = cmd.ExecuteNonQuery();<br />
           }</code></p>
<p>According above code snippet following is screen shot of filled data</p>
<p><a href="http://fundaa.com/wp-content/uploads/2012/08/Filledtable.png"><img src="http://fundaa.com/wp-content/uploads/2012/08/Filledtable-300x25.png" alt="" title="Filledtable" width="300" height="25" class="alignnone size-medium wp-image-329" /></a></p>
<p>This way one can fill database from excel sheet.<br />
Then As per value one can design formatted table with specific column name.<br />
 e.g as per above image &#8220;jobdescription&#8221; become column in new formatted table and &#8220;C1&#8243; field becomes its value as C1 cell contain data as value of &#8220;jobdescription&#8221; .<br />
so one can use this kind of query for MS SQL<br />
&#8220;insert into formattedtablename(jobdescription) select C1 from table&#8221;<br />
This way One can fill data from excelsheet to database.</p>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/asp-net/import-from-unformated-excell-file-to-database-asp-net-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Log in to WordPress using an Email Address as well as username &#8211; without using any addon.</title>
		<link>http://fundaa.com/wordpress/log-in-to-wordpress-using-an-email-address-as-well-as-username-without-using-any-addon/</link>
		<comments>http://fundaa.com/wordpress/log-in-to-wordpress-using-an-email-address-as-well-as-username-without-using-any-addon/#comments</comments>
		<pubDate>Fri, 27 Jul 2012 07:03:10 +0000</pubDate>
		<dc:creator>harikrishna</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=321</guid>
		<description><![CDATA[Hello friends,
Log in to WordPress using an Email Address &#8211; without using any addon.
Not required to install any third party addon.
Just you need to edit ONLY 2 LINES OF CODE.
Open wp-includes >> user.php
Look for below 2 lines, usually line no.29

		if ( ! empty($_POST['log']) )
			$credentials['user_login'] = $_POST['log'];

Just change that 2 lines with below.

		if ( ! empty($_POST['log']) )
		{
			$user = get_user_by( 'email', $_POST['log'] );
			if ( isset( $user, $user->user_login, $user->user_status ) &#038;&#038; 0 == (int) $user->user_status ){ $_POST['log'] = $user->user_login; }
			$credentials['user_login'] = $_POST['log'];
		}

THATS IT.
]]></description>
			<content:encoded><![CDATA[<p>Hello friends,</p>
<p>Log in to WordPress using an Email Address &#8211; without using any addon.</p>
<p>Not required to install any third party addon.<br />
Just you need to edit ONLY 2 LINES OF CODE.</p>
<p>Open wp-includes >> user.php<br />
Look for below 2 lines, usually line no.29<br />
<code><br />
		if ( ! empty($_POST['log']) )<br />
			$credentials['user_login'] = $_POST['log'];<br />
</code></p>
<p>Just change that 2 lines with below.<br />
<code><br />
		if ( ! empty($_POST['log']) )<br />
		{<br />
			$user = get_user_by( 'email', $_POST['log'] );<br />
			if ( isset( $user, $user->user_login, $user->user_status ) &#038;&#038; 0 == (int) $user->user_status ){ $_POST['log'] = $user->user_login; }<br />
			$credentials['user_login'] = $_POST['log'];<br />
		}<br />
</code></p>
<p>THATS IT.</p>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/wordpress/log-in-to-wordpress-using-an-email-address-as-well-as-username-without-using-any-addon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>File Comparison Tool for Ubuntu</title>
		<link>http://fundaa.com/ubuntu/file-comparison-tool-for-ubuntu/</link>
		<comments>http://fundaa.com/ubuntu/file-comparison-tool-for-ubuntu/#comments</comments>
		<pubDate>Fri, 22 Jun 2012 09:24:02 +0000</pubDate>
		<dc:creator>harikrishna</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=319</guid>
		<description><![CDATA[I have been using Beyond Compare to compare file in Windows. Beyond Comparison is an amazing file comparison tool. I uses Meld when I am working in Ubuntu.
1. Install meld by typing the following command in your console :
	sudo apt-get install meld
2. You can access meld through ‘Applications > Programming > Meld‘
3. Create a new project by clicking the ‘New‘ icon.
4. Click on the ‘Directory Comparison‘ to compare directories.
specify the 2 directories that you want to compare. Meld will automatically compare the directories after your click ‘ok’
I usually click on ...]]></description>
			<content:encoded><![CDATA[<p>I have been using Beyond Compare to compare file in Windows. Beyond Comparison is an amazing file comparison tool. I uses Meld when I am working in Ubuntu.</p>
<p>1. Install meld by typing the following command in your console :</p>
<p>	sudo apt-get install meld</p>
<p>2. You can access meld through ‘Applications > Programming > Meld‘</p>
<p>3. Create a new project by clicking the ‘New‘ icon.</p>
<p>4. Click on the ‘Directory Comparison‘ to compare directories.</p>
<p>specify the 2 directories that you want to compare. Meld will automatically compare the directories after your click ‘ok’</p>
<p>I usually click on the ‘Modified’ button to show those files that has differences.</p>
<p>You can view the file differences by double clicking on the file name. I simply Click on the left or right black arrow to move the changes into a file.</p>
<p>Meld is a great file comparison tool. I am always looking for better software to do my work. What is your experience with Meld ? Do you find there is a better file comparison tool ? Let me know if you know some.</p>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/ubuntu/file-comparison-tool-for-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sage pay server settings</title>
		<link>http://fundaa.com/php/sage-pay-server-settings/</link>
		<comments>http://fundaa.com/php/sage-pay-server-settings/#comments</comments>
		<pubDate>Wed, 16 May 2012 12:46:12 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=315</guid>
		<description><![CDATA[For sage pay server to work on your site without leaving your site  it must load from iframe.  For that you have to set profile page to low that will
bring it in iframe so it will stay on your site. set transaction method to payment and set transaction server to test first to check how it works.
Then if it works fine you can set transaction server to live.
Here If your settings are as above explanation then also it&#8217;s not working and giving you &#8220;4020 error&#8221; then Add you ...]]></description>
			<content:encoded><![CDATA[<p>For sage pay server to work on your site without leaving your site  it must load from iframe.  For that you have to set profile page to low that will<br />
bring it in iframe so it will stay on your site. set transaction method to payment and set transaction server to test first to check how it works.<br />
Then if it works fine you can set transaction server to live.</p>
<p>Here If your settings are as above explanation then also it&#8217;s not working and giving you &#8220;4020 error&#8221; then Add you IP to sege pay servers control<br />
panel. </p>
<p>Thanks  </p>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/php/sage-pay-server-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>add new fields to customer registration and admin manage customer</title>
		<link>http://fundaa.com/solved-issues/add-new-fields-to-customer-registration-and-admin-manage-customer/</link>
		<comments>http://fundaa.com/solved-issues/add-new-fields-to-customer-registration-and-admin-manage-customer/#comments</comments>
		<pubDate>Sat, 21 Apr 2012 08:44:17 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Solved Issues]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[registration custom fields]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=311</guid>
		<description><![CDATA[Go through below code and rub sql queries that need to get executed.
INSERT INTO  `eav_attribute` (
`attribute_id` ,
`entity_type_id` ,
`attribute_code` ,
`attribute_model` ,
`backend_model` ,
`backend_type` ,
`backend_table` ,
`frontend_model` ,
`frontend_input` ,
`frontend_label` ,
`frontend_class` ,
`source_model` ,
`is_required` ,
`is_user_defined` ,
`default_value` ,
`is_unique` ,
`note`
)
VALUES (
NULL ,  &#8216;1&#8242;,  &#8216;karat10&#8242;, NULL , NULL ,  &#8216;varchar&#8217;, NULL , NULL ,  &#8216;text&#8217;,  &#8216;Karat 10 &#8216;, NULL ,  &#8221;,  &#8216;1&#8242;,  &#8216;0&#8242;,  &#8216;0&#8242;,  &#8216;0&#8242;,  &#8221;
);
After insert query, the attribute generated is my case is 154. Next this attribute needs to be associated to an attribute set, ...]]></description>
			<content:encoded><![CDATA[<p>Go through below code and rub sql queries that need to get executed.</p>
<p>INSERT INTO  `eav_attribute` (<br />
`attribute_id` ,<br />
`entity_type_id` ,<br />
`attribute_code` ,<br />
`attribute_model` ,<br />
`backend_model` ,<br />
`backend_type` ,<br />
`backend_table` ,<br />
`frontend_model` ,<br />
`frontend_input` ,<br />
`frontend_label` ,<br />
`frontend_class` ,<br />
`source_model` ,<br />
`is_required` ,<br />
`is_user_defined` ,<br />
`default_value` ,<br />
`is_unique` ,<br />
`note`<br />
)<br />
VALUES (<br />
NULL ,  &#8216;1&#8242;,  &#8216;karat10&#8242;, NULL , NULL ,  &#8216;varchar&#8217;, NULL , NULL ,  &#8216;text&#8217;,  &#8216;Karat 10 &#8216;, NULL ,  &#8221;,  &#8216;1&#8242;,  &#8216;0&#8242;,  &#8216;0&#8242;,  &#8216;0&#8242;,  &#8221;<br />
);</p>
<p>After insert query, the attribute generated is my case is 154. Next this attribute needs to be associated to an attribute set, the sql for this is</p>
<p>INSERT INTO  `eav_entity_attribute` (<br />
`entity_attribute_id` ,<br />
`entity_type_id` ,<br />
`attribute_set_id` ,<br />
`attribute_group_id` ,<br />
`attribute_id` ,<br />
`sort_order`<br />
)<br />
VALUES (<br />
NULL ,  &#8216;1&#8242;,  &#8216;1&#8242;,  &#8216;1&#8242;,  &#8216;154&#8242;,  &#8216;2&#8242;<br />
);</p>
<p>INSERT INTO  `customer_eav_attribute` (<br />
`attribute_id` ,<br />
`is_visible` ,<br />
`input_filter` ,<br />
`multiline_count` ,<br />
`validate_rules` ,<br />
`is_system` ,<br />
`sort_order` ,<br />
`data_model`<br />
)<br />
VALUES (<br />
&#8216;154&#8242;,  &#8216;1&#8242;, NULL ,  &#8216;1&#8242;, NULL ,  &#8216;0&#8242;,  &#8216;0&#8242;, NULL<br />
);</p>
<p>INSERT INTO `customer_eav_attribute_website` (<br />
`attribute_id` ,<br />
`website_id` ,<br />
`is_visible` ,<br />
`is_required` ,<br />
`default_value` ,<br />
`multiline_count`<br />
)<br />
VALUES (<br />
&#8216;154&#8242;,  &#8216;0&#8242;,  &#8216;1&#8242;,  &#8216;0&#8242;, NULL , NULL<br />
);</p>
<p>INSERT INTO  `customer_form_attribute` (<br />
`form_code` ,<br />
`attribute_id`<br />
)<br />
VALUES (<br />
&#8216;adminhtml_customer&#8217;,  &#8216;154&#8242;<br />
), (<br />
&#8216;checkout_register&#8217;,  &#8216;154&#8242;<br />
), (<br />
&#8216;customer_account_create&#8217;,  &#8216;154&#8242;<br />
), (<br />
&#8216;customer_account_edit&#8217;,  &#8216;154&#8242;<br />
)<br />
;</p>
<p>now you can see newly added field in admin manage customer section.</p>
<p>now to add this in registration page add blow code in your registration.phtml where ever you want to display it.</p>
<p>              &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..</p>
<li>
            	 	<?php<br />
            	 		$attribute = Mage::getModel('eav/config')->getAttribute(&#8216;customer&#8217;,'Karat 10&#8242;);<br />
            	 	?><br />
                    <label for="karat10" class="<?php if($attribute->getIsRequired() == true){?>required<?php } ?>&#8220;><?php if($attribute->getIsRequired() == true){?><em>*</em><?php } ?><?php echo $this->__(&#8216;Karat 10&#8242;) ?></label></p>
<div class="input-box">
<input type="text" name="karat10" id="karat10" value="<?php echo $this->htmlEscape($this->getFormData()->getKarat10()) ?>&#8221; title=&#8221;<?php echo $this->__(&#8216;Karat 10&#8242;) ?>&#8221; class=&#8221;<?php if($attribute->getIsRequired() == true){?>required-entry<?php } ?>&#8221; /></p></div>
</li>
<p>              &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..</p>
<p>it is tested on magento 1.6. hope this will help&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/solved-issues/add-new-fields-to-customer-registration-and-admin-manage-customer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Double Girder Crane</title>
		<link>http://fundaa.com/double-girder-crane/double-girder-crane/</link>
		<comments>http://fundaa.com/double-girder-crane/double-girder-crane/#comments</comments>
		<pubDate>Thu, 19 Apr 2012 10:26:55 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Double Girder Crane]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=304</guid>
		<description><![CDATA[
HoistIndia is among the most best companies which provide equipments for any outstanding floor coverage. Among the list of handling equipment and over head travelling cranes, they provide Double Girder Crane with the very best quality.
Why you should go for double girder crane is because it is durable, robust and rigid. And the major benefit of this product is it&#8217;s hook. It provides better hook heights. As a result of our skilled engineers we now have maintained long term relationship with clients. This also is also as a result of ...]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.hoistsindia.com/overhead_cranes.html"><img alt="Double Girder Crane" src="http://t3.gstatic.com/images?q=tbn:ANd9GcRNL6Z4a-2LLYEQZnVe_FvTbC7AZ-xPiOGpxMcFvdK6LLKMo52K" title="Double Girder Crane" class="aligncenter" width="265" height="300" /></a></p>
<p>HoistIndia is among the most best companies which provide equipments for any outstanding floor coverage. Among the list of handling equipment and over head travelling cranes, they provide <strong><a href="http://www.hoistsindia.com/overhead_cranes.html">Double Girder Crane</a></strong> with the very best quality.</p>
<p>Why you should go for double girder crane is because it is durable, robust and rigid. And the major benefit of this product is it&#8217;s hook. It provides better hook heights. As a result of our skilled engineers we now have maintained long term relationship with clients. This also is also as a result of quality our team can accomplish to deal with.</p>
<p style="text-align: center;"><a href="http://www.hoistsindia.com/overhead_cranes.html"><img alt="Double Girder Crane" src="http://t1.gstatic.com/images?q=tbn:ANd9GcQvx-l6Qkv8N7inbBMVKhSyFeNEivB2Js0p_6ltgsqmQG23ucKgdw" title="Double Girder Crane" class="aligncenter" width="325" height="325" /></a></p>
<p>We serve you with Ahmedabad, an economical capital of Gujarat. If you&#8217;ve got double girder crane, you can easily move the loads within less time. We always keep in mind customer&#8217;?s specifications and then training our plan for that customized product. It has gained us lots of confidence and a good number of clientele.</p>
<p>We make the cranes in the quality raw material so that the question of its longevity does not  exist. This product can bear heavier a whole lot for longer time. For this, it does not involve extra maintenance. We make double girder crane in such a way that it is very simple to install it together with manage it. Our cranes are generally EOT credited.</p>
<p style="text-align: center;"><a href=" http://www.hoistsindia.com/overhead_cranes.html"><img alt="Double Girder Crane" src="http://t3.gstatic.com/images?q=tbn:ANd9GcTTW0FH6tonB5YQYh_EMdq0DmO1VqsrN6VZepH5FuxnoWq1lvWn" title="Double Girder Crane" class="aligncenter" width="240" height="169" /></a></p>
<p>Reliability is that which you work out for your clients. This is because people concentrate fully making the device. People use advanced technology in making the products. In the, we provide you competitive rates and in addition assure you of high load capacity with the instrument. Amongst our customers, we now have L&#038;T, IFFCO, Indian Oil, Gajra Groups and also other MNCs.</p>
<p>HoistIndia is now-a-days has become a synonymous while purchasing <strong><a href="http://www.hoistsindia.com/overhead_cranes.html">double girder cranes</a></strong>. Additionally, the products can be purchased in different sizes and types. This way, we try to fit your requirements to built up a long term relationship.</p>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/double-girder-crane/double-girder-crane/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
