<?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>tips4developer</title>
	<atom:link href="http://www.tips4developer.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tips4developer.com</link>
	<description></description>
	<lastBuildDate>Wed, 04 Apr 2012 09:42:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Joomla – Allowing adding multiple Email Id’s in Virtuemart Store Setting</title>
		<link>http://www.tips4developer.com/joomla/joomla-allowing-adding-multiple-email-ids-virtuemart-store-setting/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.tips4developer.com/joomla/joomla-allowing-adding-multiple-email-ids-virtuemart-store-setting/#comments</comments>
		<pubDate>Wed, 04 Apr 2012 09:42:09 +0000</pubDate>
		<dc:creator>Guest</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[virtuemart]]></category>

		<guid isPermaLink="false">http://www.tips4developer.com/?p=663</guid>
		<description><![CDATA[Recently I got an requirement to add multiple email ID’s seperated by comma(,) in Virtuemart 1.1.9 store setting (Edit Store), so that one vendor can get the purchasing intimation email on his different Email ID’s. But unluckily Virtuemart 1.1.9 do not allows adding multiple email ID’s in store setting. So to fulfill the requirement I<a href="http://www.tips4developer.com/joomla/joomla-allowing-adding-multiple-email-ids-virtuemart-store-setting/">&#160;&#160;[ Read More ]</a>]]></description>
			<content:encoded><![CDATA[<p>Recently I got an requirement to add multiple email ID’s seperated by comma(,) in Virtuemart 1.1.9 store setting (Edit Store), so that one vendor can get the purchasing intimation email on his different Email ID’s. But unluckily Virtuemart 1.1.9 do not allows adding multiple email ID’s in store setting.</p>
<p><img src="http://www.tips4developer.com/wp-content/themes/Horcrux/images/virtuemart-store-information.jpg" alt="Virtuemart Store Information"></p>
<p>So to fulfill the requirement I added some custom code in Virtuemart admin files. Here is the code and files to modify.</p>
<p>1.	Locate &#8211;  /administrator/components/com_virtuemart/classes/ps_vendor.php<br />
2.	Find the below code and comment it like this</p>
<pre><code>/*if (!vmValidateEmail($d["contact_email"])) {
$vmLogger-&gt;err( 'Please provide a valide email address for the vendor contact.' );
return False;
}*/
</code></pre>
<p>By commenting the above code virtuemart will stops displaying the warning of invalid email address and now it allows you to add multiple email ID&#8217;s seperated with comma(,).</p>
<p>But story doesn&#8217;t end&#8217;s here, because still virtuemart will not shoots the purchasing email to any of the ID&#8217;s added. </p>
<p>3.	Now locate &#8211; /administrator/components/com_virtuemart/classes/ps_vendor.php<br />
4.     Search for the below code</p>
<pre><code>// Email Addresses for shopper and vendor
// **************************************
$shopper_email = $dbbt-&gt;f("user_email");
$shopper_name = $dbbt-&gt;f("first_name")." ".$dbbt-&gt;f("last_name");
$from_email = $dbv-&gt;f("contact_email");
</code></pre>
<p>5.  Replace it with </p>
<pre><code>// Email Addresses for shopper and vendor
// **************************************
$shopper_email = $dbbt-&gt;f("user_email");
$shopper_name = $dbbt-&gt;f("first_name")." ".$dbbt-&gt;f("last_name");
$email = explode(',',trim($dbv-&gt;f("contact_email"),','));
$from_email=$email[0];
</code></pre>
<p>Please note:- In the above code we assigned the very first email ID as a &#8220;from&#8221; email ID. So for example if you are going to enter abc@gmail.com,xyz@gmail.com then the receiving mail is going to display abc@gmail.com as a &#8220;from&#8221; email id.</p>
<p>6. Now in the same file search for </p>
<pre><code>if ( !$shopper_mail || !$vendor_mail )</code></pre>
<p>7. And just above searched code line add this code</p>
<pre><code>if(count($email)&gt;1)
   {
    for($j=1;count($email)&gt;$j;$j++)
    {
     $vendor_mail = vmMail( $from_email, $mosConfig_fromname, $email[$j], $vendor_subject, $vendor_mail_Body, $vendor_mail_AltBody, true, null, null, $EmbeddedImages, null, $shopper_email);
    }
   }</code></pre>
<p>So in the above code we added a loop to grab all email ID&#8217;s and shoot them email one by one. </p>
<p>Here you are done, now just go ahead and check the implemented functionality.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tips4developer.com/joomla/joomla-allowing-adding-multiple-email-ids-virtuemart-store-setting/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress &#8211; Controlling Page specific options using Page Lists Plus</title>
		<link>http://www.tips4developer.com/wordpress/wordpress-controlling-page-specific-options-page-lists/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.tips4developer.com/wordpress/wordpress-controlling-page-specific-options-page-lists/#comments</comments>
		<pubDate>Mon, 26 Mar 2012 05:44:04 +0000</pubDate>
		<dc:creator>Guest</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://www.tips4developer.com/?p=647</guid>
		<description><![CDATA[Page Lists Plus is one of the most use full WordPress plugin. Page Lists Plus includes lots of options, and you can use it in lots of different ways. I am sure each of you as a WordPress site developer, got the basic requirement to open any specific page in new window, or redirecting any<a href="http://www.tips4developer.com/wordpress/wordpress-controlling-page-specific-options-page-lists/">&#160;&#160;[ Read More ]</a>]]></description>
			<content:encoded><![CDATA[<p><strong>Page Lists Plus</strong> is one of the most use <strong>full WordPress plugin</strong>.  Page Lists Plus includes lots of options, and you can use it in lots of different ways.</p>
<p>I am sure each of you as a WordPress site developer, got the basic requirement to open any specific page in new window, or redirecting any specific WordPress page to any external URL. Though I am not sure how did each of you tackle this but here this WordPress plugin helps you to manage this just be checking a checkbox.</p>
<p>Few of the very useful option that I would like to specify for this plugin are – </p>
<p>1.	Alternative Link Text (lets you specify alternative link text to be used in Page lists instead of the &nbsp;&nbsp;&nbsp;&nbsp;Page title)<br />
2.	Alternative Title Attribute (lets you specify an alternative title attribute to be used in Page lists &nbsp;&nbsp;&nbsp;&nbsp;instead of the Page title)<br />
3.	Add Custom Classes to Individual List Items<br />
4.	Redirect To (lets you redirect the link to a different url)<br />
5.	Open link in new window<br />
6.	Include (lets you specify which Pages appear in Page lists and which don&#8217;t)<br />
7.	Link (lets you unlink Pages without removing them from your Page lists)<br />
8.	Nofollow (lets you add rel=&#8221;nofollow&#8221; to links, telling search engines not to follow them)</p>
<p>Beside these options there much more you can get from this wordpress plugin. Just go ahead and <a href="http://wordpress.org/extend/plugins/page-lists-plus/" target="_blank">download the plugin</a> right away.</p>
<div class="download"><a href="http://wordpress.org/extend/plugins/page-lists-plus/" target="_blank">Download Page Lists Plus</a></div>
<p></p>
<h3>How to use the pligin – Page Lists Plus</h3>
<p>1.	Download Install and activate the plugin<br />
2.	Mouse over the “Settings” and select “Page Lists Plus”<br />
<br />
<img src="http://www.tips4developer.com/wp-content/themes/Horcrux/images/page-lists-plus-scree1.jpg" alt="Page Lists Plus"><br />
<br />
3.	Check the options as per your requirement and save the changes<br />
4.	Now in each of the WordPress page you will get new options as per the selection you made in Plage Lists Plus Setting<br />
<br />
<img src="http://www.tips4developer.com/wp-content/themes/Horcrux/images/page-lists-plus-scree2.jpg" alt="Page Lists Plus"></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tips4developer.com/wordpress/wordpress-controlling-page-specific-options-page-lists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE compatible mode – DEVIL for Web Designers and Developers</title>
		<link>http://www.tips4developer.com/general/compatible-mode-devil-web-designers-developers/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.tips4developer.com/general/compatible-mode-devil-web-designers-developers/#comments</comments>
		<pubDate>Tue, 06 Mar 2012 07:48:23 +0000</pubDate>
		<dc:creator>Guest</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://www.tips4developer.com/?p=631</guid>
		<description><![CDATA[I noticed most of the web developers and designers hate IE compatible view. The reason is that in there general coding practice and cross browser testing they do not give preference and forgot to test their webpage outputs in IE compatibility view and when at the end of project delivery it clicks in their mind,<a href="http://www.tips4developer.com/general/compatible-mode-devil-web-designers-developers/">&#160;&#160;[ Read More ]</a>]]></description>
			<content:encoded><![CDATA[<p>I noticed most of the web developers and designers hate <strong>IE compatible view</strong>. The reason is  that in there general coding practice  and cross browser testing they do not give preference and forgot to test their webpage outputs in IE compatibility  view and when at the end of project delivery it clicks in their mind, it get too  late and brings lots of burden to rectify the UI compatibility issues.</p>
<p>Here I am sharing a best solution for them, as with the help of <strong>http-equiv=&quot;X-UA-Compatible&quot; </strong>Meta  Tag you can easily control that<strong> what  browser version your page will render in</strong>. And along with that you can <strong>hide the compatibility view button on IE.</strong></p>
<div class="noteContainer"><span class="txtRed">Please note: -</span> by default your pages will get rendered in IE5 (Quirks) mode until and unless you specified the <strong>&lt;!DOCTYPE&gt;</strong> in your HTML head section</div>
<p></p>
<h3>Handling IE Compatibility Mode using Meta Tag</h3>
<p><strong>&lt;meta  http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=5&quot; /&gt;</strong> <br />
  This will forces IE  to render the page in <a href="http://www.quirksmode.org/css/quirksmode.html">&ldquo;Quirks&rdquo; mode</a>. </p>
<p>
  <strong>&lt;meta  http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=7&quot; /&gt;</strong> <br />
  This will forces IE  to render the page using IE 7 Strict mode.</p>
<p>
  <strong>&lt;meta  http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=7&quot; /&gt;</strong> <br />
  This will forces IE  to render the page using IE 8 Strict mode. </p>
<p><img src="http://tips4developer.com/wp-content/themes/Horcrux/images/hide-compatibility-view-button-using-meta-tag.jpg" alt="hide compatibility view button using meta tag"></p>
<p>
  <strong>&lt;meta  http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=EmulateIE7&quot; /&gt;</strong> <br />
  IE 7 standards or Quirks rendering,  depending on DOCTYPE . Along with this will <strong>hide the compatibility view button of browser</strong> </p>
<p>
  <strong>&lt;meta  http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=EmulateIE8&quot; /&gt;</strong> <br />
  IE 8 standards or Quirks rendering,  depending on DOCTYPE. Along with this will <strong>hide  the compatibility view button of browser</strong></p>
<p>
  <strong>&lt;meta  http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=EmulateIE9&quot; /&gt;</strong> <br />
  IE 9 standards or Quirks rendering,  depending on DOCTYPE. Along with this will <strong>hide  the compatibility view button of browser</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tips4developer.com/general/compatible-mode-devil-web-designers-developers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding PayPal Donate Button in WordPress Post and Page</title>
		<link>http://www.tips4developer.com/wordpress/adding-paypal-donate-button-wordpress-post-page/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.tips4developer.com/wordpress/adding-paypal-donate-button-wordpress-post-page/#comments</comments>
		<pubDate>Thu, 01 Mar 2012 13:25:25 +0000</pubDate>
		<dc:creator>Guest</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[paypal]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.tips4developer.com/?p=616</guid>
		<description><![CDATA[Adding PayPal Donate Button in WordPress Post and Page are very common now a days. If you think that your website containing very useful information, and for that your website viewer will love to donate and helps you out financially. Then you just need to prepare a Paypal account and have to past the below<a href="http://www.tips4developer.com/wordpress/adding-paypal-donate-button-wordpress-post-page/">&#160;&#160;[ Read More ]</a>]]></description>
			<content:encoded><![CDATA[<p>Adding PayPal Donate Button in WordPress Post and Page are very common now a days. If you think that your website containing very useful information, and for that your website viewer will love to donate and helps you out financially. Then you just need to prepare a Paypal account and have to past the below code in function.php of your WordPress site.</p>
<h3>Easy Steps to add Donate Button in WordPress site</h3>
<p>1.	<a href="http://www.paypal.com/" target="_blank">Create  your PayPal account</a> if it is not already created<br />
2.	Locate function.php in your current activated theme<br />
3.	Past the below code in function.php</p>
<pre><code>function donate_shortcode( $atts ) {
    extract(shortcode_atts(array(
        'text' =&gt; 'Make a donation',
        'account' =&gt; 'YOUR PAYPAL USER NAME WILL GOES HERE',
        'for' =&gt; 'MESSAGE TO BE DISPLAIED ON DONATION PAGE',
    ), $atts));

    global $post;

    if (!$for) $for = str_replace(" ","+",$post-&gt;post_title);

    return '&lt;a class="donateLink" href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business='.$account.'&amp;item_name=Donation+for+'.$for.'"&gt;'.$text.'&lt;/a&gt;';

}
add_shortcode('donate', 'donate_shortcode');
</code></pre>
<p>4. Just don’t forget to update 3 variables in the above code as per your requirement &#8211;<br />
&#8216;text&#8217; =&gt; &#8216;Make a donation&#8217;,<br />
        &#8216;account&#8217; =&gt; &#8216;YOUR PAYPAL USER NAME WILL GOES HERE&#8217;,<br />
        &#8216;for&#8217; =&gt; &#8216;MESSAGE TO BE DISPLAIED ON DONATION PAGE&#8217;, </p>
<p>And at the last if needed you can display donate image graphics using &lt;img&gt; tag instead of normal text by replacing <strong>$text </strong>in  &#8211; </p>
<p>return &#8216;&lt;a class=&#8221;donateLink&#8221; href=&#8221;https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=&#8217;.$account.&#8217;&amp;item_name=Donation+for+&#8217;.$for.&#8217;&#8221;&gt;&#8217;.<strong>$text</strong>.&#8217;&lt;/a&gt;&#8217;;</p>
<p>5. At the very end you just have to add a short code <strong>&#091;donate&#093;</strong> on the WordPress page to display display button/text on it.</p>
<p>Here you are done, It&#8217;s time to check code the implementation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tips4developer.com/wordpress/adding-paypal-donate-button-wordpress-post-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multi Browsers CSS Hacks and Compatibility Test</title>
		<link>http://www.tips4developer.com/general/multi-browsers-css-hacks-compatibility-test/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.tips4developer.com/general/multi-browsers-css-hacks-compatibility-test/#comments</comments>
		<pubDate>Mon, 27 Feb 2012 16:24:42 +0000</pubDate>
		<dc:creator>Guest</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://www.tips4developer.com/?p=604</guid>
		<description><![CDATA[Here I am sharing few of the very useful multi browser CSS hacks, that one web designer and developer requires in his/her day to day integration. If you like, you can test CSS hacks and compatibility, by opening this page in your different browser. /* IE6 and below */ * html #uno { color: red<a href="http://www.tips4developer.com/general/multi-browsers-css-hacks-compatibility-test/">&#160;&#160;[ Read More ]</a>]]></description>
			<content:encoded><![CDATA[<p>Here I am sharing few of the <strong>very useful multi browser CSS hacks</strong>,  that one web designer and developer requires in his/her day to day integration.<br />
  If you like, you can <a href="http://paulirish.com/demo/css-hacks" target="_blank">test CSS hacks and  compatibility</a>, by opening this page in your different browser. </p>
<pre><code>/* IE6 and below */
* html #uno  { color: red }

/* IE7 */
*:first-child+html #dos { color: red } 

/* IE7, FF, Saf, Opera  */
html&gt;body #tres { color: red }

/* IE8, FF, Saf, Opera (Everything but IE 6,7) */
html&gt;/**/body #cuatro { color: red }

/* Opera 9.27 and below, safari 2 */
html:first-child #cinco { color: red }

/* Safari 2-3 */
html[xmlns*=""] body:last-child #seis { color: red }

/* safari 3+, chrome 1+, opera9+, ff 3.5+ */
body:nth-of-type(1) #siete { color: red }

/* safari 3+, chrome 1+, opera9+, ff 3.5+ */
body:first-of-type #ocho {  color: red }

/* saf3+, chrome1+ */
@media screen and (-webkit-min-device-pixel-ratio:0) {
 #diez  { color: red  }
}

/* iPhone / mobile webkit */
@media screen and (max-device-width: 480px) {
 #veintiseis { color: red  }
}

/* Safari 2 - 3.1 */
html[xmlns*=""]:root #trece  { color: red  }

/* Safari 2 - 3.1, Opera 9.25 */
*|html[xmlns*=""] #catorce { color: red  }

/* Everything but IE6-8 */
:root *&gt; #quince { color: red  }

/* IE7 */
*+html #dieciocho {  color: red }

/* Firefox only. 1+ */
#veinticuatro,  x:-moz-any-link  { color: red }

/* Firefox 3.0+ */
#veinticinco,  x:-moz-any-link, x:default  { color: red  }

/***** Attribute Hacks ******/

/* IE6 */
#once { _color: blue }

/* IE6, IE7 */
#doce { *color: blue; /* or #color: blue */ }

/* Everything but IE6 */
#diecisiete { color/**/: blue }

/* IE6, IE7, IE8 */
#diecinueve { color: blue\9; }

/* IE7, IE8 */
#veinte { color/*\**/: blue\9; }

/* IE6, IE7 -- acts as an !important */
#veintesiete { color: blue !ie; } /* string after ! can be anything */
</code></pre>
<p>Referal URL: My special thanks to <a href="http://paulirish.com/2009/browser-specific-css-hacks/" target="_blank">Paul Irish</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tips4developer.com/general/multi-browsers-css-hacks-compatibility-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ultimate CSS3 generator and tools for web designers</title>
		<link>http://www.tips4developer.com/general/ultimate-css3-generator-tools-web-designers/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.tips4developer.com/general/ultimate-css3-generator-tools-web-designers/#comments</comments>
		<pubDate>Thu, 23 Feb 2012 15:16:01 +0000</pubDate>
		<dc:creator>Guest</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[css3]]></category>

		<guid isPermaLink="false">http://www.tips4developer.com/?p=591</guid>
		<description><![CDATA[In the cutting edge of web design and technology CSS3 is playing a vital role and that brought a huge revolution in the market of web design. CSS3 introduced number of magical attributes and in the presence of which one web designer/developer can think and implement beyond their imaginations with very less or no efforts<a href="http://www.tips4developer.com/general/ultimate-css3-generator-tools-web-designers/">&#160;&#160;[ Read More ]</a>]]></description>
			<content:encoded><![CDATA[<p>In the cutting edge of web design and technology CSS3 is playing a vital role and that brought a huge revolution in the market of web design. <strong>CSS3 introduced number of magical attributes</strong> and in the presence of which one web designer/developer can think and implement beyond their imaginations with very less or no efforts and time.</p>
<p>Though there are numbers of magical tools available on the web to cut off the webpage styling time and which help you in preparing CSS styles on the air with few clicks. Here I am sharing few of them which I think one web designer should be aware of it.</p>
<h3>1.	CSS3 Pie</h3>
<p><a href="http://css3pie.com/" target="_blank"><img src="http://www.tips4developer.com/wp-content/themes/Horcrux/images/css3-pie.jpg" alt="CSS3 Pie"></a></p>
<p>This is one of the best and most lovingly tool of mine. One of the best feature of this tool is that it provides the <strong>CSS3 rules or say CSS3 attributes that runs on IE</strong>. So CSS rules like border-radius, box-shadow, border-image, multiple background images, linear-gradient as background image. Don’t get surprised this is TRUE.</p>
<p>Visit: <strong><a href="http://css3pie.com/" target="_blank">CSS3 Pie</a></strong> for more info</p>
<h3>2.	CSS3 Generator</h3>
<p><a href="http://css3generator.com/" target="_blank"><img src="http://www.tips4developer.com/wp-content/themes/Horcrux/images/css3-generator.jpg" alt="CSS3 Pie"></a></p>
<p>Again this is one of the best online CSS3 tool, which will helps you out in reducing your webpage styling efforts in extreme extends. An I am dam sure you will really love to work on such a great CSS3 generator tool.</p>
<p>Visit: <strong><a href="http://css3generator.com/" target="_blank">CSS3 Generator</a></strong></p>
<h3>3.	Button Maker</h3>
<p><a href="http://css-tricks.com/examples/ButtonMaker/" target="_blank"><img src="http://www.tips4developer.com/wp-content/themes/Horcrux/images/Button-Maker.jpg" alt="CSS3 Pie"></a></p>
<p>This  tool will going to fall in love with himself. This is one of the amazing tool  to prepare stylish buttons with no efforts. This button maker tool simply asks  you to drag the sliders to adjust the button settings. My special thanks to <a href="http://chriscoyier.net/" target="_blank">Chris Coyier</a> for introducing  such a wonder full Button maker tool.</p>
<p>Visit: <strong><a href="http://css-tricks.com/examples/ButtonMaker/" target="_blank">Button Maker</a></strong></p>
<h3>4.	CSS3 Cheat Sheet</h3>
<p><a href="http://media.smashingmagazine.com/wp-content/uploads/images/css3-cheat-sheet/css3-cheat-sheet.pdf" target="_blank"><img src="http://www.tips4developer.com/wp-content/themes/Horcrux/images/CSS3-Cheat-Sheet.jpg" alt="CSS3 Pie"></a></p>
<p>One Web developer/designer should have this cheat sheet on his/her computer table stick board. So this sheet containing all common attributes for CSS. This will also helps you in memorizing the CSS properties and syntax.</p>
<div class="download"><strong>Download: <a href="http://media.smashingmagazine.com/wp-content/uploads/images/css3-cheat-sheet/css3-cheat-sheet.pdf" target="_blank">CSS3 Cheat Sheet</a></strong></div>
]]></content:encoded>
			<wfw:commentRss>http://www.tips4developer.com/general/ultimate-css3-generator-tools-web-designers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress – How to resolve thumbnail issue while facebook sharing</title>
		<link>http://www.tips4developer.com/wordpress/wordpress-resolve-thumbnail-issue-facebook-sharing/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.tips4developer.com/wordpress/wordpress-resolve-thumbnail-issue-facebook-sharing/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 17:10:39 +0000</pubDate>
		<dc:creator>Guest</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.tips4developer.com/?p=584</guid>
		<description><![CDATA[So many of my WordPress developer friends ask me this particular issue, that while sharing their blog post to facebook either they did not get any thumbnail or their post sharing displays un-relevant thumbnail image. And I remember the same issue was faced by me at the very initial stage of blogging. Cause of the<a href="http://www.tips4developer.com/wordpress/wordpress-resolve-thumbnail-issue-facebook-sharing/">&#160;&#160;[ Read More ]</a>]]></description>
			<content:encoded><![CDATA[<p>So many of my WordPress developer friends ask me this particular issue, that <strong>while sharing their blog post to facebook</strong> either they <strong>did not get any thumbnail</strong> or their <strong>post sharing displays un-relevant thumbnail image</strong>. And I remember the same issue was faced by me at the very initial stage of blogging.</p>
<h3>Cause of the issue &#8211; No Thumbnail or un-relevant thumbnail while sharing post on Facebook</h3>
<p>The only cause which I get to know in my R&amp;D is “<strong>Bad coded facebook script</strong>”. So this facebook script search for all the image tags in our posts and pages, and display what it feels relevant, and even some time it stops image searching in between. As a reason we will not able to assign particular post image to facebook sharing.</p>
<h3>Solution for the issue &#8211; Facebook share thumbnail image missing or un-relevant image thumbnail</h3>
<p>We actually have two solutions for the issue, where one works well for the static site and another works in case of dynamic site like WordPress Blog with different posts.</p>
<h3>Solution for the static sites</h3>
<p>Simply add any of the bellow line of code in the  &lt;head&gt; section of your template file</p>
<pre><code>&lt;link  rel=&quot;image_src&quot; href=&quot;absolute path to your image&quot; /&gt;</code></pre>
<p><strong>OR</strong></p>
<pre><code>&lt;meta property=&quot;og:image&quot; content=&quot;http://www.yoursite.com/image.jpg&quot; /&gt;</code></pre>
<p>Just don’t forget to update the image path in the above code.</p>
<h3>Solution for the dynamic sites</h3>
<p>Open <strong><em>function.php</em></strong> from your current activated theme folder in your WordPress site, and place the below code in it</p>
<pre><code>function insert_image_src_rel_in_head() {
        global $post;
        if ( !is_singular()) //if it is not a post or a page
               return;
        if(!has_post_thumbnail( $post-&gt;ID )) { //the post does not have featured image, use a default image
               $default_image=&quot;http://example.com/image.jpg&quot;; //replace this with a default image on your server or an image in your media library
               echo '&lt;meta property=&quot;og:image&quot; content=&quot;' . $default_image . '&quot;/&gt;';
        }
        else{
               $thumbnail_src = wp_get_attachment_image_src( get_post_thumbnail_id( $post-&gt;ID ), 'medium' );
               echo '&lt;meta property=&quot;og:image&quot; content=&quot;' . esc_attr( $thumbnail_src[0] ) . '&quot;/&gt;';
        }
        echo &quot;\n&quot;;
}
add_action( 'wp_head', 'insert_image_src_rel_in_head', 5 );</code></pre>
<p>Just don’t forget to update the default image path in the above code so you have to update http://example.com/image.jpg with your actual image path. So the above code will first search for the post featured image and assign that image to facebook sharing otherwise it will assign the default image to it.</p>
<p>If you like you can use this plugin as an alternative to the above code &#8211; <a href="http://wordpress.org/extend/plugins/add-image-src-meta-tag/" target="_blank">Add image_src Meta Tag</a></p>
<p>Source: <a href="http://www.staenzwebsolutions.com/avoid-no-thumbnail-or-unrelated-thumbnail-image-while-sharing-post-on-facebook/" target="_blank">Staenz Web Solutions</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tips4developer.com/wordpress/wordpress-resolve-thumbnail-issue-facebook-sharing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Truncated Post Title</title>
		<link>http://www.tips4developer.com/wordpress/wordpress-truncated-post-title/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.tips4developer.com/wordpress/wordpress-truncated-post-title/#comments</comments>
		<pubDate>Sat, 18 Feb 2012 10:15:32 +0000</pubDate>
		<dc:creator>Guest</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.tips4developer.com/?p=570</guid>
		<description><![CDATA[Do you ever got an issue to fit your blog post titles in limited width space. Or if every your client asks you to display only first 100 characters of the blog posts title. If yes then you are at right place, as in this post I am sharing a best trick to truncate post<a href="http://www.tips4developer.com/wordpress/wordpress-truncated-post-title/">&#160;&#160;[ Read More ]</a>]]></description>
			<content:encoded><![CDATA[<p>Do you ever got an issue to fit your blog post titles in limited width space. Or if every your client asks you to display only first 100 characters of the blog posts title. If yes then you are at right place, as in this post I am sharing a <strong>best trick to truncate post title in wordpress blog, without using any plugin</strong>.</p>
<p>To implement truncated post title you simply have to locate the file containing post title. This all depends on the WordPress theme you are using on your site, but most provably the title code will located in index.php of your current activated theme folder.</p>
<h3>Implementing Truncated Post Title</h3>
<p>1. Simply open index.php from your current activated theme</p>
<p>2. Search for anchor tag with post title. Code might look something like this &#8211;<br />
&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to &lt;?php the_title(); ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;. Or you can simply search for <strong>&lt;a href=&quot;&lt;?php the_title(); ?&gt;</strong></p>
<p>3. Replace complete anchor tag with the below code  </p>
<pre><code>&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;
&lt;?php
$thetitle = $post-&gt;post_title;
$getTitlelength = strlen($thetitle);
$titlelength = 100;
echo substr($thetitle, 0, $titlelength);
if ($getTitlelength &gt; $titlelength) echo &quot;...&quot;;
?&gt;
&lt;/a&gt;</code></pre>
<p>Just don’t forget to adjust the character limit in the above code as per your requirement, as in above code I have assigned “100” as a character limit. So the above code will going to display first 100 characters of you blog post title following with “…”</p>
<p>You can also directly place this code in any of the theme file where you want to display truncated post title. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.tips4developer.com/wordpress/wordpress-truncated-post-title/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress &#8211; Devil replytocom Urls</title>
		<link>http://www.tips4developer.com/wordpress/wordpress-devil-replytocom-urls/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.tips4developer.com/wordpress/wordpress-devil-replytocom-urls/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 04:44:57 +0000</pubDate>
		<dc:creator>Guest</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.tips4developer.com/?p=561</guid>
		<description><![CDATA[What is Replytocom URL’s Replytocom URL’s are the auto generated URL’s form wordpress blog site with enabled reply to comments feature. Basically Replytocom URL’s are kind of a query string added to your original URL. Or you can say Replytocom are the parameter which get appended in your post permalink for the comments you have<a href="http://www.tips4developer.com/wordpress/wordpress-devil-replytocom-urls/">&#160;&#160;[ Read More ]</a>]]></description>
			<content:encoded><![CDATA[<h3>What is Replytocom URL’s</h3>
<p>Replytocom URL’s are the auto generated URL’s form wordpress blog site with enabled reply to comments feature. Basically Replytocom URL’s are kind of a query string added to your original URL. Or you can say Replytocom are the parameter which get appended in your post permalink for the comments you have on your Blog, so for example if your original URL look like http://www.tips4developer.com/joomla/3-security-extensions-secure-joomla-website/<br />
then replytocom URL will become something like http://www.tips4developer.com/joomla/3-security-extensions-secure-joomla-website ?replytocom=1192. So it automatically add ?replytocom=# at the end of your original URL</p>
<h3>How does Replytocom URL’s get generated</h3>
<p>Basically these URL’s get generated from the posts comments you gets form the site visitors, so as much as comments you have on your posts as much replytocom URL’s get generated. But that does not mean that you have to disable commenting feature from your Blog. Instead we have good solution to get rid of it.</p>
<h3>Issue and Drawbacks of Replytocom URL’s</h3>
<p>Replytocom links are actually a serious problem which – </p>
<p>1.	Eventually bring steep fall in rankings among the search engines<br />
2.	Search Engines will detect your pages as duplicate content<br />
3.	Will consume high database usage, because bots will asks a repetitive requests to your server to crawl already crawled URL with non replytocom URL</p>
<h3>How to remove replytocom URL’s</h3>
<ol>
<li><strong>Handeling replycom URL&rsquo;s with Google  Webmaster Tool</strong></li>
<ul>
<li>Open your <a href="http://www.google.com/webmasters/" target="_blank" title="Google Webmaster Tools">Google Webmaster Tools</a> Dashboard. </li>
<li>Expand the &lsquo;Site Configuration&rsquo; menu on the left  hand side of the Dashboard. </li>
<li>Click on the Settings option &amp; go to the &lsquo;URL  parameters&rsquo;. </li>
<li>Then click on &ldquo;Configure URL parameters&rdquo;  displayed on right side main page </li>
<li>Click on &ldquo;Edit&rdquo; link of &ldquo;replytocom&rdquo; row </li>
<p><img src="http://www.tips4developer.com/wp-content/themes/Horcrux/images/edit-replycom-webmaster-tool.jpg" alt="Editing replytocom URL in Google Webmaster Tool"></p>
<li>Update the settings as per below screen cap </li>
<p><img src="http://www.tips4developer.com/wp-content/themes/Horcrux/images/replycom-setting-webmaster-tool.jpg" alt="Setting to update in Google webmaster Tool">
 </ul>
<li><strong>Handeling replycom URL&rsquo;s with Robots.txt  file</strong><br />
    Simply add the below line on your Roborts.txt file </p>
<pre><code>Disallow: *?replytocom</code></pre>
<p></li>
<li><strong>Handeling replycom URL&rsquo;s with WordPress Plugin</strong><br />
    In case you are not much comfortable with Robots.txt file, the other best  option you have is to let the WordPress plugin to handle the issue. So you  simple need to download and install  <a href="http://wordpress.org/extend/plugins/replytocom-redirector/" target="_blank">Replytocom  redirector plugin</a>, that automatically deal with the bot. </li>
</ol>
<p>I hope the above information is going to helps you allot. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.tips4developer.com/wordpress/wordpress-devil-replytocom-urls/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Virtuemart – Setting total number of products to display on product pages</title>
		<link>http://www.tips4developer.com/joomla/virtuemart-setting-total-number-products-display-product-pages/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.tips4developer.com/joomla/virtuemart-setting-total-number-products-display-product-pages/#comments</comments>
		<pubDate>Mon, 13 Feb 2012 10:43:50 +0000</pubDate>
		<dc:creator>Guest</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[virtuemart]]></category>

		<guid isPermaLink="false">http://www.tips4developer.com/?p=551</guid>
		<description><![CDATA[In my last project I got a requirement from my client to restrict the virtuemart product pages to display total and maximum 6 products in a page by default, then I noticed that under virtuemart 1.1.9 admin there is no option to set the number of products to display on each product page. Here I<a href="http://www.tips4developer.com/joomla/virtuemart-setting-total-number-products-display-product-pages/">&#160;&#160;[ Read More ]</a>]]></description>
			<content:encoded><![CDATA[<p>In my last project I got a requirement from my client to <strong>restrict the virtuemart product pages to display total and maximum 6 products in a page by default</strong>, then I noticed that under virtuemart 1.1.9 admin there is no option to <strong>set the number of products to display on each product page</strong>.</p>
<p>Here I got the best solution to achieve the scenario – </p>
<h3>Setting default number of product to display on product pages in virtuemart</h3>
<p>1.	Locate the file in your admin virtuemart folder<br />
/administrator/components/com_virtuemart/classes/pageNavigation.class.php<br />
2.	Search for the below code</p>
<pre><code>for ($i=5; $i &lt;= 30; $i+=5)
   {
      if (empty( $link)) {
        $limits[$i] = $i;
      } else {
        $limits[vmRoute($link.&#039;&amp;limit=&#039;.$i)] = $i;
      }
    }
</code></pre>
<p>3.	Update the # in the above for loop as per your requirement so -<br />
the 1st value (5) is the smallest # of products shown, or say the very first value going to be display in pagination dropdown<br />
the 2nd value (30) is until which # of products it will count up in steps of the 3rd value (5), so this will be like 5&#215;1=5,5&#215;2=10,5&#215;3=15…..5&#215;6=30.</p>
<p>Go ahead and check your product pages get starting to display number of products as per your choice, and along with that “Display” dropdown under pagination get also filled with new options as per changes and requirement</p>
<p>Your output will look something like this &#8211; </p>
<div style="text-align:center"><img align="center" src="/wp-content/themes/Horcrux/images/setting-total-number-of-products-to-display-on-product-pages.jpg" alt="Virtuemart – Setting total number of products to display on product pages"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.tips4developer.com/joomla/virtuemart-setting-total-number-products-display-product-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

