<?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>PHPJavascript</title>
	<atom:link href="http://www.phpjavascript.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpjavascript.com</link>
	<description>Web Development Guide - My Personal Library of Tutorials and Scripts</description>
	<lastBuildDate>Tue, 23 Feb 2010 09:14:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Disable right click</title>
		<link>http://www.phpjavascript.com/disable-right-click/</link>
		<comments>http://www.phpjavascript.com/disable-right-click/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 09:14:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development Guide]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.phpjavascript.com/?p=483</guid>
		<description><![CDATA[Use jquery to disable right click
Add the following code in the &#60;head&#62; of your webpage
&#60;script type=&#8221;text/javascript&#8221;&#62;
$(document).ready(function(){
$(&#8221;img&#8221;).bind(&#8221;contextmenu&#8221;,function(e){
return false;
});
});
&#60;/script&#62;
I had used this on my drupal site in page.tpl file
]]></description>
		<wfw:commentRss>http://www.phpjavascript.com/disable-right-click/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal 5 jscrollpane</title>
		<link>http://www.phpjavascript.com/drupal-5-jscrollpane/</link>
		<comments>http://www.phpjavascript.com/drupal-5-jscrollpane/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 12:16:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://www.phpjavascript.com/?p=480</guid>
		<description><![CDATA[I wanted a flashy scrollpane for the content on my drupal site.
I have drupal 5 where the scrollpane module is not available and I needed lightbox2 which required jquery_update module. Now the jscrollpane script clashed with compat.js of jquery_update module. So the solution for that is to download jscrollpane module for drupal 6. Take the [...]]]></description>
		<wfw:commentRss>http://www.phpjavascript.com/drupal-5-jscrollpane/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal webform validate either fields</title>
		<link>http://www.phpjavascript.com/drupal-webform-validate-either-fields/</link>
		<comments>http://www.phpjavascript.com/drupal-webform-validate-either-fields/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 07:19:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://www.phpjavascript.com/?p=478</guid>
		<description><![CDATA[I am using webforms and I have three fields were either one of em should be filed.
Use the &#8220;additional validation&#8221; input box in the form &#8220;configuration&#8221;.
The code is following:
&#60;?php
$book= $form_values['submitted'][11];
$author= $form_values['submitted'][12];
$isbn= $form_values['submitted'][13];
if (($book == NULL) AND ($author == NULL) AND ($isbn == NULL))
{
form_set_error(&#8221;, t(&#8217;Please enter either Book Title or Author or ISBN.&#8217;));
}
?&#62;
The 11, 12 and [...]]]></description>
		<wfw:commentRss>http://www.phpjavascript.com/drupal-webform-validate-either-fields/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Drupal webform atleast one of the fields mandatory</title>
		<link>http://www.phpjavascript.com/drupal-webform-atleast-one-of-the-fields-mandatory/</link>
		<comments>http://www.phpjavascript.com/drupal-webform-atleast-one-of-the-fields-mandatory/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 07:18:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://www.phpjavascript.com/?p=476</guid>
		<description><![CDATA[I am using webforms and I have three fields were either one of em should be filed.
Use the &#8220;additional validation&#8221; input box in the form &#8220;configuration&#8221;.
The code is following:
&#60;?php
$book= $form_values['submitted'][11];
$author= $form_values['submitted'][12];
$isbn= $form_values['submitted'][13];
if (($book == NULL) AND ($author == NULL) AND ($isbn == NULL))
{
form_set_error(&#8221;, t(&#8217;Please enter either Book Title or Author or ISBN.&#8217;));
}
?&#62;
The 11, 12 and [...]]]></description>
		<wfw:commentRss>http://www.phpjavascript.com/drupal-webform-atleast-one-of-the-fields-mandatory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>drupal arabic or rtl support theming</title>
		<link>http://www.phpjavascript.com/drupal-arabic-or-rtl-support-theming/</link>
		<comments>http://www.phpjavascript.com/drupal-arabic-or-rtl-support-theming/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 11:49:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://www.phpjavascript.com/?p=474</guid>
		<description><![CDATA[Create a separate stylesheet like style-rtl.css
Then in the page.tpl file instead of &#60;?php print $styles?&#62; variable use the following:
&#60;?php
$rtl_langs = array(&#8221;ar&#8221;, &#8220;fa&#8221;, &#8220;he&#8221;, &#8220;ur&#8221;, &#8220;yi&#8221;); // There are a couple or so more. Put the codes of your RTL languages here
$is_rtl = in_array ($language, $rtl_langs);
if ($is_rtl) { // Check if the language of the current [...]]]></description>
		<wfw:commentRss>http://www.phpjavascript.com/drupal-arabic-or-rtl-support-theming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove php extension</title>
		<link>http://www.phpjavascript.com/remove-php-extension/</link>
		<comments>http://www.phpjavascript.com/remove-php-extension/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 12:07:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[htaccess]]></category>

		<guid isPermaLink="false">http://www.phpjavascript.com/?p=472</guid>
		<description><![CDATA[I need to redirect pages with .php extension to without. Like www.magrudy.com/mystore.php to www.magrudy.com/mystore
Use the following
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/\ ]+/)*([^.\ ]+\.)+(php&#124;html?)\ HTTP
RewriteRule ^(([^/]+/)*[^.]+)\.(php&#124;html?)$ http://www.magrudy.com/$1 [R=301,L]
]]></description>
		<wfw:commentRss>http://www.phpjavascript.com/remove-php-extension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redirect .php pages</title>
		<link>http://www.phpjavascript.com/redirect-php-pages/</link>
		<comments>http://www.phpjavascript.com/redirect-php-pages/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 12:06:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[htaccess]]></category>

		<guid isPermaLink="false">http://www.phpjavascript.com/?p=470</guid>
		<description><![CDATA[I need to redirect pages with .php extension to without. Like www.magrudy.com/mystore.php to www.magrudy.com/mystore
Use the following
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/\ ]+/)*([^.\ ]+\.)+(php&#124;html?)\ HTTP
RewriteRule ^(([^/]+/)*[^.]+)\.(php&#124;html?)$ http://www.magrudy.com/$1 [R=301,L]
]]></description>
		<wfw:commentRss>http://www.phpjavascript.com/redirect-php-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal tweetmeme button error</title>
		<link>http://www.phpjavascript.com/drupal-tweetmeme-button-error/</link>
		<comments>http://www.phpjavascript.com/drupal-tweetmeme-button-error/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 09:27:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://www.phpjavascript.com/?p=468</guid>
		<description><![CDATA[Make sure the website is not in maintenance mode   took me atleast 20 mins to figure it out.
]]></description>
		<wfw:commentRss>http://www.phpjavascript.com/drupal-tweetmeme-button-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal tweetmeme content type not working</title>
		<link>http://www.phpjavascript.com/drupal-tweetmeme-content-type-not-working/</link>
		<comments>http://www.phpjavascript.com/drupal-tweetmeme-content-type-not-working/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 09:27:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://www.phpjavascript.com/?p=466</guid>
		<description><![CDATA[I had installed tweetmeme on my drupal website, it was working great on the content type &#8216;page&#8217; but not on my customized content types like news and blog.
I spend hours finding the solution, going through all the complicated scenarios, cursing drupal, hating life etc and then as usual the solution was very easy and it [...]]]></description>
		<wfw:commentRss>http://www.phpjavascript.com/drupal-tweetmeme-content-type-not-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>drupal line break converter not working</title>
		<link>http://www.phpjavascript.com/drupal-line-break-converter-not-working/</link>
		<comments>http://www.phpjavascript.com/drupal-line-break-converter-not-working/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 11:19:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://www.phpjavascript.com/?p=464</guid>
		<description><![CDATA[Go to &#8211; admin &#8211; input formats
click configure next to &#8220;filtered html&#8221;
disable HTML filter
]]></description>
		<wfw:commentRss>http://www.phpjavascript.com/drupal-line-break-converter-not-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
