<?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>Design Gala &#187; How to</title>
	<atom:link href="http://designgala.com/topics/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://designgala.com</link>
	<description>Web Usability, Web Technology, User Experience</description>
	<lastBuildDate>Sat, 11 Jun 2011 02:38:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>CSS 3 Transitions</title>
		<link>http://designgala.com/css-3-transitions/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=css-3-transitions</link>
		<comments>http://designgala.com/css-3-transitions/#comments</comments>
		<pubDate>Sat, 11 Jun 2011 02:38:19 +0000</pubDate>
		<dc:creator>manish</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[CSS3 transitions]]></category>

		<guid isPermaLink="false">http://designgala.com/?p=2692</guid>
		<description><![CDATA[Its been sometime since  CSS3 has been introduced, bringing some interesting new presentational techniques along with it. Today, we’ll review the basics of using CSS3 transitions to add an extra layer of polish....]]></description>
			<content:encoded><![CDATA[<p>Its been sometime since  CSS3 has been introduced, bringing some interesting new presentational techniques along with it. Today, we’ll review the basics of using CSS3 transitions  to add an extra layer of polish.</p>
<p>Let’s create a simple example of animating a pop out sign.</p>
<p><a href="http://designgala.com/wp-content/uploads/2011/05/css3_transition.jpg"><img class="alignnone size-full wp-image-2693" src="http://designgala.com/wp-content/uploads/2011/05/css3_transition.jpg" alt="css3 transition image" width="292" height="257" /></a></p>
<p>First Create a Div with images</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">&amp;lt;div id=&quot;signpost&quot;&amp;gt;
	&amp;lt;img id=&quot;post&quot; src=&quot;post.png&quot;&amp;gt;
	&amp;lt;img id=&quot;sign&quot; src=&quot;sign.png&quot;&amp;gt;
&amp;lt;/div&amp;gt;</pre>
</div>
</div>
<p>Create the bounding box for the signpost, and give it a relative positioning context to ensure that we can position items absolutely within it.</p>
<div class="wp_syntax">
<div class="code">
<pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#signpost</span><span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">60px</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">196px</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre>
</div>
</div>
<p>Next, the post is positioned with a z-index of two, to place it on top of the sign.</p>
<div class="wp_syntax">
<div class="code">
<pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#post</span><span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">79px</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">196px</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">2</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre>
</div>
</div>
<p>Now we place sign underneath the Post and rotate it with our CSS3 transform property</p>
<div class="wp_syntax">
<div class="code">
<pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#sign</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">46px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">80px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">10</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">60</span><span style="color: #00AA00;">;</span>
-webkit-transform-origin<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
-moz-transform-origin<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
&nbsp;
-webkit-transform<span style="color: #00AA00;">:</span> rotate<span style="color: #00AA00;">&#40;</span>86deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-moz-transform<span style="color: #00AA00;">:</span> rotate<span style="color: #00AA00;">&#40;</span>86deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">1</span><span style="color: #00AA00;">;</span>
-webkit-transition<span style="color: #3333ff;">:-webkit-</span>transform 0.5s ease-in-out<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre>
</div>
</div>
<p>The sign is rotated using transform: rotate(86deg), and is positioned under the post. To ensure that the sign rotates around the proper point, we must change the <strong>transform origin</strong> to the top left corner: 0, 0.</p>
<p><a href="http://designgala.com/wp-content/uploads/2011/05/changeoforigin.jpg"><img class="alignnone size-full wp-image-2694" src="http://designgala.com/wp-content/uploads/2011/05/changeoforigin.jpg" alt="css3 transform" width="100" height="150" /></a></p>
<p>We set the transition to change the transform property over 0.5s with an ease-in-out profile, and on hover, we rotate the sign back to its original orientation.</p>
<div class="wp_syntax">
<div class="code">
<pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#signpost</span><span style="color: #3333ff;">:hover </span><span style="color: #cc00cc;">#sign</span><span style="color: #00AA00;">&#123;</span>
	-webkit-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>0deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
         -moz-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>0deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre>
</div>
</div>
<p>Reference: <a href="http://net.tutsplus.com/">http://net.tutsplus.com</a>
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/css-3-transitions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Floating Message Box Using Jquery</title>
		<link>http://designgala.com/floating-message-box-using-jquery/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=floating-message-box-using-jquery</link>
		<comments>http://designgala.com/floating-message-box-using-jquery/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 04:45:30 +0000</pubDate>
		<dc:creator>Rabi Shrestha</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[floating message box]]></category>
		<category><![CDATA[floating message box using jquery]]></category>
		<category><![CDATA[message box]]></category>

		<guid isPermaLink="false">http://www.designgala.com/?p=2383</guid>
		<description><![CDATA[Sometimes, we have to show some extra message in our post which are important and linked with the post and cannot put that in the webpage like some important announcement and breaking news...]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.designgala.com/wp-content/uploads/2010/07/iceberg2.jpg"><img src="http://www.designgala.com/wp-content/uploads/2010/07/iceberg2.jpg" alt="" title="iceberg2" width="519" height="270" class="alignnone size-full wp-image-2386" /></a><br />
Sometimes, we have to show some extra message in our post which are important and linked with the  post and cannot put that in the webpage  like some important announcement  and breaking news etc. In these cases, it can better  option  to use a Floating Message Box which will appear in front of the webpage .  Today, I am going to discuss the code which will create a floating message box using jquery . You can use this code everywhere you want .<span id="more-2383"></span></p>
<p><strong>Step 1</strong>:<br />
Copy and paste the following code on the head section of your webpage .</p>
<div class="wp_syntax">
<div class="code">
<pre class="javascript" style="font-family:monospace;">&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;
&lt;script language=&quot;javascript&quot; src=&quot;jquery.js&quot;&gt;&lt;/script&gt;
&lt;script language=&quot;javascript&quot; src=&quot;jquery.dimensions.js&quot;&gt;&lt;/script&gt;
<span style="color: #339933;">&lt;</span>script language<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;javascript&quot;</span><span style="color: #339933;">&gt;</span>
	<span style="color: #003366; font-weight: bold;">var</span> <span style="color: #000066;">name</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;#floatMess&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> menuYloc <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #339933;">;</span>
		$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	menuYloc <span style="color: #339933;">=</span> parseInt<span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#40;</span><span style="color: #000066;">name</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;top&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">substring</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">0</span><span style="color: #339933;">,</span>$<span style="color: #009900;">&#40;</span><span style="color: #000066;">name</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;top&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">indexOf</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
			$<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span>.<span style="color: #000066;">scroll</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
				offset <span style="color: #339933;">=</span> menuYloc<span style="color: #339933;">+</span>$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">scrollTop</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #339933;">;</span>
				$<span style="color: #009900;">&#40;</span><span style="color: #000066;">name</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">animate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>top<span style="color: #339933;">:</span>offset<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><span style="color: #009900;">&#123;</span>duration<span style="color: #339933;">:</span><span style="color: #CC0000;">500</span><span style="color: #339933;">,</span>queue<span style="color: #339933;">:</span><span style="color: #003366; font-weight: bold;">false</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
			$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#close_message'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
			<span style="color: #009900;">&#123;</span>
  			$<span style="color: #009900;">&#40;</span><span style="color: #000066;">name</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">animate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> top<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;+=15px&quot;</span><span style="color: #339933;">,</span>opacity<span style="color: #339933;">:</span><span style="color: #CC0000;">0</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;slow&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	 <span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre>
</div>
</div>
<p><strong>Step 2</strong>:<br />
Add the following code in the CSS style sheet or  in the style section of html page.</p>
<div class="wp_syntax">
<div class="code">
<pre class="javascript" style="font-family:monospace;">#floatMess <span style="color: #009900;">&#123;</span>
		position<span style="color: #339933;">:</span>absolute<span style="color: #339933;">;</span>
		top<span style="color: #339933;">:</span>5px<span style="color: #339933;">;</span>
		float<span style="color: #339933;">:</span>left<span style="color: #339933;">;</span>
		width<span style="color: #339933;">:</span><span style="color: #CC0000;">95</span><span style="color: #339933;">%;</span>
		border<span style="color: #339933;">:</span>1px solid #<span style="color: #CC0000;">999</span><span style="color: #339933;">;</span>
		background<span style="color: #339933;">-</span>color<span style="color: #339933;">:</span>#<span style="color: #CC0000;">456</span><span style="color: #339933;">;</span>
		color<span style="color: #339933;">:</span>#ccc<span style="color: #339933;">;</span>
		padding<span style="color: #339933;">:</span>5px 5px 5px 25px<span style="color: #339933;">;</span>
		text<span style="color: #339933;">-</span>align<span style="color: #339933;">:</span>center<span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #009900;">&#125;</span></pre>
</div>
</div>
<p> The above codes select the color,size font color, width etc of the floating message box.<br />
You can change the upper parameters as per your requirements.</p>
<p><strong>Step 3</strong>:<br />
 Now it’s the time for adding the main thing in the body section of your webpage ie the main message DIV which is going to be displayed on the webpage. Copy the following codes and paste it in the beginning of the body section or anywhere , it will not affect the other div of the page .</p>
<div class="wp_syntax">
<div class="code">
<pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>div id<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;floatMess&quot;</span><span style="color: #339933;">&gt;&lt;</span>img id<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;close_message&quot;</span> style<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;float:right;cursor:pointer&quot;</span>  src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;cross.png&quot;</span> <span style="color: #339933;">/&gt;</span>
      Your message Goes here
 <span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span></pre>
</div>
</div>
<p><strong>Step 4</strong>:<br />
You will need to download  following three files and save it in the same folder which contains the main html file.</p>
<ul>
<li>jquery.js</li>
<li>jquery.dimensions.js</li>
<li>cross.png  ( ICON need to display cross image  at the message box )</li>
</ul>
<p><strong>Downloads:</strong></p>
<ul>
<li><a href="http://www.designgala.com/demos/floatmessage/jquery.js" target=" "><strong>Click here</strong></a> to download jquery.js</li>
<li><a href="http://www.designgala.com/demos/floatmessage/jquery.dimensions.js" target=" "><strong>Click here</strong></a> to download jquery.dimensions.js</li>
<li><a href="http://www.designgala.com/demos/floatmessage/cross.png" target=" "><strong>Click here</strong></a> to download cross.png</li>
</ul>
<p><strong>DEMO</strong></p>
<ul>
<li><a href="http://www.designgala.com/demos/floatmessage/message.html" target=" "><strong>Click here</strong></a>  to see DEMO </li>
<li><a href="http://www.designgala.com/demos/floatmessage/demo.rar" target=" "><strong>Click here</strong></a> to download the zip version of demo file .</li>
</ul>
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/floating-message-box-using-jquery/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ten Guidelines for Perfect CMS</title>
		<link>http://designgala.com/ten-guidelines-for-perfect-cms/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ten-guidelines-for-perfect-cms</link>
		<comments>http://designgala.com/ten-guidelines-for-perfect-cms/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 07:49:09 +0000</pubDate>
		<dc:creator>S@R0Z</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://www.designgala.com/?p=2390</guid>
		<description><![CDATA[1. The CMS you choose should be really good at whatever the main function of your website is. What do you want your website to do? Is it going to be primarily a...]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.designgala.com/wp-content/uploads/2010/07/gestores-de-contenido-cms.gif" alt="" width="374" height="379" class="aligncenter size-full wp-image-2395" /><br />
<strong>1. The CMS you choose should be really good at whatever the main function of your website is.</strong></p>
<p>What do you want your website to do? Is it going to be primarily a static website, like an online brochure? Or is it going to be a fully-functioning ecommerce site? Or maybe it’s going to be really media-heavy with tons of videos, photos, and audio files. Or is a blog going to be the primary focus?<br />
<span id="more-2390"></span><br />
Whatever your site’s primary function is going to be, you need to define it and then find a CMS that does that particular thing really, really well. If blogging is the main focus of the site, then use a blog platform. If images and video are the main focus, then you need to find a CMS that either has great support for media built-in or has great plugins for enabling those functions. If your site is going to focus on an online store, then the platform you choose needs to be able to seamlessly integrate that online store without a ton of extra work.</p>
<p><strong> 2. A CMS needs to work intuitively.</strong></p>
<p>When you average user opens up the backend of the site, they should be able to figure out how to do basic functions without too much instruction. Different elements of the site should be clearly labeled. The basics of posting a new page, editing a page, and even changing themes or sidebar elements should all be relatively simple to figure out for the average computer user.</p>
<p><strong>3. The backend needs to be standardized.</strong></p>
<p>Things should all work basically the same way in the backend of the site. A good CMS should have a standardized format for each section of the backend. If one section uses a drop-down menu for selecting something, then all of the other sections should use the same type of menu for similar options—not radio buttons or some other selector.</p>
<p>The same goes for the way things are named or otherwise referred to. If something is called a “page” in one place and a “post” in another, that’s going to get confusing (plus, most people consider those two different things). If it’s a “sidebar” in one place and a “second column” somewhere else, that’s going to confuse your average user.</p>
<p><strong>4. The backend needs to be logical and well-organized.</strong></p>
<p>Things should be laid out logically in the backend. This means that all of the functions related to editing, or sidebars, or themes, or creating new content, should be grouped somehow or otherwise function the same. Alternatively, some CMSs put all of the things related to pages in one place, sidebars in another, plugins in another, etc. Either way, they’re laid out logically and once you know the basic architecture, it’s easy enough to figure out where things are supposed to be.</p>
<p><strong>5. The right CMS shouldn’t have a ton of extra functionality you’ll never use.</strong></p>
<p>This is a completely personal choice. Some sites will make use of tons of advanced functionality. Other sites won’t. If you’re never going to have an online store, why do you need a CMS that focuses on ecommerce? If you never plan to do anything beyond posting photos to your site, why have a CMS that does that plus a hundred other things? Instead, find a CMS that does the one thing you want to do really well and forget about the other features.</p>
<p><strong>6. The right CMS should be easy for non-geeks to use.</strong></p>
<p>Web designers and developers are very good at using web-based applications and pretty much anything else computer-related. A lot of their clients, on the other hand, probably aren’t. While most of the end-users of any CMS are going to have at least basic computer knowledge, they’re probably not super tech savvy. While you might love a particular CMS and think it’s the best thing since solid-state hard drives, your clients might find it confusing, hard to use, and overly complicated.</p>
<p>The question I always ask myself when considering this is, “Could my mother use this?” My mother is your typical business computer user. She can do spreadsheets, word processing, and email, but she’s definitely not a techy. If I’m confident that I could easily explain a CMS to her and she’d then be able to use it with a minimum of later support, then I know it’s going to be appropriate for 90% of other likely users.</p>
<p><strong>7. It needs to include a WYSIWYG editor.</strong></p>
<p>WYSIWYG editors make life easier for your clients. Most clients don’t know HTML and don’t care to learn. But they want to be able to use bold or italic text or use header tags to create sections within their pages. A WYSIWYG editor makes that all possible for non-tech-savvy users.</p>
<p><strong>8. The pages it creates should be fast-loading and have simple code.</strong></p>
<p>One of the major advantages of a CMS is that it simplifies the updating and management of a website. So the pages it produces should also be simple. There shouldn’t be a lot of extra code or provisions for unused functionality in the final page code. All that serves to do is slow the load times for the page and increase the likelihood that something will render wrong or throw an error.</p>
<p><strong>9. The template engine should allow you complete creative control.</strong></p>
<p>Some CMSs have very set ideas about what a website should look like. There needs to be a sidebar for navigation. You shouldn’t use navigation dropdowns. The content has to be arranged in nice, neat columns. Who’s the designer here? Whatever CMS you choose should let you design pages the way you want and should work around your needs.</p>
<p><strong>10. The right CMS should have adequate support and documentation.</strong></p>
<p>In all likelihood, you’re going to run into some sort of problems with any CMS you choose. Whether this is caused by add-ons or in the course of customizing some bit of code, or whether the CMs is doing something unexpected, having somewhere you can turn to to get advice on how to fix the problem is invaluable.</p>
<p>This doesn’t necessarily have to be some expensive tech support phone number or other paid support. Sometimes you can get quicker and better responses from a user community. Does the CMS you’re considering have support forums frequented both by other users and by those involved in the project? Are there other, off-site forums dedicated to that particular CMS? The people who visit these forums can be a wealth of information for doing just about anything with your CMS of choice.</p>
<p>Thorough documentation for the CMS is also valuable. It should provide information on everything from basic use of the CMS to customizations and advanced functionality.</p>
<p style="text-align: right"><a href="http://www.noupe.com/php/choosing-cms-tips.html" target="_blank">Article Source</a></p>
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/ten-guidelines-for-perfect-cms/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to get Twitter Follower Count in WordPress?</title>
		<link>http://designgala.com/how-to-get-twitter-follower-count-in-wordpress/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-get-twitter-follower-count-in-wordpress</link>
		<comments>http://designgala.com/how-to-get-twitter-follower-count-in-wordpress/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 13:45:45 +0000</pubDate>
		<dc:creator>Design Gala</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.designgala.com/?p=1832</guid>
		<description><![CDATA[I am neither the first nor the last one that will be writing about placing twitter follower counter in webpage. Though there already exist many widgets anyone can easily use and customize; see...]]></description>
			<content:encoded><![CDATA[<p>I am neither the first nor the last one that will be writing about placing twitter follower counter in webpage. Though there already exist many widgets anyone can easily use and customize; see <a href="http://twittercounter.com/">here</a> and <a href="http://www.widgetbox.com/widget/chris-count-chriscount-on-twitter">here</a>; But those widgets have limited options in terms of color, layout and moreover they have their info attched (somewhere) in widget which does not feels good. Here&#8217;s my attempt on how to get follower count in twitter using PHP.</p>
<p><img class="alignright size-full wp-image-1834" title="twitter pool" src="http://www.designgala.com/wp-content/uploads/2010/02/twitter_pool.jpg" alt="" width="500" /></p>
<p><span id="more-1832"></span></p>
<p><strong>Step 1:</strong><br />
We will create a PHP file; lets say <strong>follower_count.php</strong> or whatever you&#8217;d like to name it. Then simply put following contents in that page.</p>
<div class="wp_syntax">
<div class="code">
<pre class="php" style="font-family:monospace;"><span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>?php
<span style="color: #000088;">$twitter_username</span>	<span style="color: #339933;">=</span>	<span style="color: #0000ff;">'designgala'</span><span style="color: #339933;">;</span>	<span style="color: #666666; font-style: italic;">// please replace it with your twitter username</span>
<span style="color: #000088;">$tw</span>	<span style="color: #339933;">=</span>	get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;total_twitter_followers&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$tw</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'lastcheck'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> <span style="color: #009900;">&#40;</span> <span style="color: #990000;">mktime</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> – <span style="color: #cc66cc;">3600</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 	<span style="color: #000088;">$xml</span>	<span style="color: #339933;">=</span>	<span style="color: #990000;">file_get_contents</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'http://twitter.com/users/show.xml?screen_name='</span><span style="color: #339933;">.</span> <span style="color: #000088;">$twitter_username</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">preg_match</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/followers_count&amp;gt;(.*)</span></pre>
</div>
</div>
<p><strong>Explanation:</strong><br />
I used 2 PHP functions <strong><em><a href="http://php.net/manual/en/function.file-get-contents.php">file_get_contents()</a></em></strong> and <em><strong><a href="http://php.net/manual/en/function.preg-match.php">preg_match()</a></strong></em> here. file_get_contents fetches twitter xml file and stores in buffere while preg_match searches followers_count for a match in the buffer returned by earlier function.</p>
<p><strong>Step 2:</strong><br />
Now you can include above file using PHP include like below in any template file.</p>
<div class="wp_syntax">
<div class="code">
<pre class="php" style="font-family:monospace;"><span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>?php <span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;follower_count.php&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> ?<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span></pre>
</div>
</div>
<p>Thats it. It will show twitter follower count.</p>
<p>[Photo Credit: <a href="http://www.flickr.com/photos/javajunky/4331986096/in/pool-twitter">JavaJunky</a> via Flickr]
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/how-to-get-twitter-follower-count-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Make your website more popular and interactive with the cool wibiya toolbar</title>
		<link>http://designgala.com/make-your-website-more-popular-and-interactive-with-the-cool-wibiya-toolbar/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=make-your-website-more-popular-and-interactive-with-the-cool-wibiya-toolbar</link>
		<comments>http://designgala.com/make-your-website-more-popular-and-interactive-with-the-cool-wibiya-toolbar/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 08:47:01 +0000</pubDate>
		<dc:creator>Mukesh Chapagain</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[toolbar]]></category>
		<category><![CDATA[wibiya]]></category>

		<guid isPermaLink="false">http://www.designgala.com/?p=1218</guid>
		<description><![CDATA[Wibiya enables blogs to integrate the most exciting services, applications and widgets of their choice into their blog through customized web-based toolbars. You can add the toolbar to wordpress, blogger, typepad, drupal, joomla,...]]></description>
			<content:encoded><![CDATA[<p><a href="http://wibiya.com"><strong>Wibiya</strong></a> enables blogs to integrate the most exciting services, applications and widgets of their choice into their blog through customized web-based toolbars.</p>
<p><img src="http://www.designgala.com/wp-content/uploads/2010/01/wibiya.jpg" alt="wibiya" title="wibiya" width="569" class="alignleft size-full wp-image-1219" /></p>
<p>You can add the toolbar to wordpress, blogger, typepad, drupal, joomla, ning, vBulletin, and even in your custom website as well.</p>
<p><strong>Benefits</strong><br />
- Increase page views and time on site<br />
- Increase content sharing with the social tools available<br />
- Enrich your content and increase communication</p>
<p>Here is a list of Applications available in wibiya toobar (there are more applications than the list below):</p>
<p>- <strong>Search</strong> (add search box in the toolbar)</p>
<p>- <strong>Google Translation</strong> (translate your page with google translation)</p>
<p>- <strong>Latest posts</strong> (view latest posts from the toolbar)</p>
<p>- <strong>Random posts</strong> (view random posts)</p>
<p>- <strong>Live notifications</strong> (broadcast alerts, messages, news and more to all your visitors)</p>
<p>- <strong>Real time users</strong> (display real time stats of your website including number of online users, popular pages and a dynamic geolocaion user map)</p>
<p>- <strong>Navigation links</strong> (create a custom navigation menu or button that make it easier for your visitors to reach different pages)</p>
<p>- <strong>Subscribe</strong> (add rss subscription button)</p>
<p>- <strong>Sharing tools</strong> (facebook, twitter, email, digg, stumbleupon, yahoo! buzz, myspace and more)</p>
<p>- <strong>Facebook community</strong> (create your own website community with facebook connect in just one click)</p>
<p>- <strong>Twitter dashboard</strong> (post tweets from website, latest tweets, twitter search, and more)</p>
<p>- <strong>Facebook fan page</strong> (bring your fan page to your website and grow the number of fans)</p>
<p>- <strong>Photo gallery</strong> (display your flickr photogallery in your website)</p>
<p>- <strong>Youtube channel</strong> (display your youtube video gallery in your website)</p>
<p>You can view the demo of the toolbar in the <a href="http://wibiya.com"><strong>wibiya homepage</strong></a> itself.</p>
<p>Use wibiya toolbar, make your site more popular, interactive and cool. ;)</p>
<p>Cheers,
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/make-your-website-more-popular-and-interactive-with-the-cool-wibiya-toolbar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tweet while browsing</title>
		<link>http://designgala.com/tweet-while-browsing/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tweet-while-browsing</link>
		<comments>http://designgala.com/tweet-while-browsing/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 17:25:10 +0000</pubDate>
		<dc:creator>Mukesh Chapagain</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[share]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.designgala.com/?p=974</guid>
		<description><![CDATA[Scenario: You are browsing the web. You liked a url and wanted to share it, probably on twitter. The old lengthy way: You will open twitter.com, login with you username and password. Open...]]></description>
			<content:encoded><![CDATA[<p><strong>Scenario:</strong></p>
<p>You are browsing the web. You liked a url and wanted to share it, probably on twitter.</p>
<p><strong>The old lengthy way:</strong></p>
<p>You will open twitter.com, login with you username and password. Open url shortner like bit.ly and shorten the url you want to share. Then post your tweet with some text and shortened url.</p>
<p><strong>The new and quick way:</strong></p>
<p>You can do the same very easily and quickly. I hope you are using Firefox. So, there is a firefox addon <a href="https://addons.mozilla.org/en-US/firefox/addon/11423">Shorten url </a> which will shorten the url and display the result in location bar. It supports more than 100 URL shorteners.</p>
<p>You can always remain logged in in twitter with the firefox addon <a href="https://addons.mozilla.org/en-US/firefox/addon/5081">Echofon</a>. Echofon adds a tiny status bar icon that notifies you when your friends post tweets. You can also view updates in a timeline and post your own tweets.</p>
<p>So, it&#8217;s just simple. Shorten any url with <a href="https://addons.mozilla.org/en-US/firefox/addon/11423">Shorten url</a> ff addon. And share it adding some text with <a href="https://addons.mozilla.org/en-US/firefox/addon/5081">Echofon </a>ff addon.</p>
<p>Enjoy tweeting!
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/tweet-while-browsing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to refresh DIV using jquery</title>
		<link>http://designgala.com/how-to-refresh-div-using-jquery/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-refresh-div-using-jquery</link>
		<comments>http://designgala.com/how-to-refresh-div-using-jquery/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 10:20:49 +0000</pubDate>
		<dc:creator>Rabi Shrestha</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.designgala.com/?p=943</guid>
		<description><![CDATA[Jquery; magic in web programming, have allowed us to use different features with the simple knowledge to use them. I was searching for basic code to refresh the specific DIV using jquery and...]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.designgala.com/wp-content/uploads/2010/01/ref.jpg" alt="ref" title="ref" width="530"  class="alignnone size-full wp-image-953" /><br />
Jquery; magic in web programming, have allowed us to use  different features with the simple knowledge to use them. I was searching for basic code to refresh the specific DIV using jquery and found <a href="http://www.9lessons.info/2009/07/auto-load-refresh-every-10-seconds-with.html">this article</a> and like to share with my viewers.<br />
There are  very simple steps to achieve this:<br />
<strong>Step 1:</strong><br />
Copy the following code and paste it in the head section of your webpage.</p>
<div class="wp_syntax">
<div class="code">
<pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;http://ajax.googleapis.com/ajax/
libs/jquery/1.3.0/jquery.min.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
 <span style="color: #339933;">&lt;</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #003366; font-weight: bold;">var</span> auto_refresh <span style="color: #339933;">=</span> setInterval<span style="color: #009900;">&#40;</span>
<span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#loaddiv'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">fadeOut</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'slow'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">load</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'reload.php'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">fadeIn</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;slow&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">20000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre>
</div>
</div>
<p>Here , above the file &#8220;reload.php&#8221; will be reloaded in every 20000ms ie 20 second . You can change the file which you have to reload and you can also change the reload time as per your requirement.<br />
and secondly , the #loaddiv is the name of DIV which is going to be refreshed.</p>
<p><strong>Step 2:</strong><br />
and now you need to put the div in the body section of your page</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">&lt;div id=&quot;loaddiv&quot;&gt;
&lt;/div&gt;</pre>
</div>
</div>
<p><strong>Step 3:</strong><br />
Now finally you need to write the code for the file &#8220;reload.php&#8221; which will extract the contends from the other page  or it also may contain the code to read the data from the database depending upon requirement.<br />
here i am going to read a small content from another site. you can copy , paste the code and save it as the filename &#8220;reload.php&#8221;. in the same folder that contains the source code.</p>
<div class="wp_syntax">
<div class="code">
<pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span><span style="color: #0000ff;">&quot;&lt;img src='http://www.nepalstock.com/datanepse/realindex.php'/&gt;&quot;</span><span style="color: #339933;">;</span></pre>
</div>
</div>
<p>Now your page is ready .<br />
<a href="http://www.designgala.com/demos/divref/a3.html">Click here</a> to see the demo.
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/how-to-refresh-div-using-jquery/feed/</wfw:commentRss>
		<slash:comments>45</slash:comments>
		</item>
		<item>
		<title>How to play media file in your site</title>
		<link>http://designgala.com/how-to-play-media-file-in-your-site/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-play-media-file-in-your-site</link>
		<comments>http://designgala.com/how-to-play-media-file-in-your-site/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 10:25:21 +0000</pubDate>
		<dc:creator>Rabi Shrestha</dc:creator>
				<category><![CDATA[How to]]></category>

		<guid isPermaLink="false">http://www.designgala.com/?p=934</guid>
		<description><![CDATA[In my recent project, i had to put video clips and mp3&#8242;s, the media file at the webpage and was searching for codes to play media files. I found this simple code that...]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-939" title="preview" src="http://www.designgala.com/wp-content/uploads/2010/01/preview.jpg" alt="preview" width="352" height="256" /><br />
In my recent project, i had to put video clips and mp3&#8242;s, the media file at the webpage and was searching for codes to play  media files. I found this simple code that could  play media files . you can simply download the zip file from the <a href="http://www.longtailvideo.com/players/jw-flv-player/">jwplayer </a>and use it.</p>
<p><strong>Step 1:</strong><br />
Copy and paste the following codes in the head section of your webpage.</p>
<div class="wp_syntax">
<div class="code">
<pre class="css" style="font-family:monospace;">&lt;!--
		body <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
                 <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">font</span><span style="color: #00AA00;">:</span> <span style="color: #933;">13px</span>/<span style="color: #933;">18px</span> Arial<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
		a <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#360</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
		h3 <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">padding-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
		ol <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">5px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">15px</span> <span style="color: #933;">16px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> list-style-
                    type<span style="color: #00AA00;">:</span><span style="color: #993333;">square</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
&nbsp;
--<span style="color: #00AA00;">&gt;</span></pre>
</div>
</div>
<p><strong>Step 2:</strong></p>
<p>Now download the following files and store it in the same folder which contains the main code.<br />
<a href="http://www.designgala.com/demos/jwp/player-viral.swf">player-viral.swf</a><br />
<a href="http://www.designgala.com/demos/jwp/swfobject.js">swfobject.js</a><br />
<a href="http://www.designgala.com/demos/jwp/preview.jpg">preview.jpg</a></p>
<p><strong>Step 3</strong></p>
<p>Now copy the following codes in the body section of your page</p>
<div class="wp_syntax">
<div class="code">
<pre class="css" style="font-family:monospace;">&lt;object id<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;player&quot;</span> classid<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;clsid:d27cdb6e-ae6d-11cf-96b8-444553540000&quot;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;400&quot;</span> <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;315&quot;</span> codebase<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0&quot;</span><span style="color: #00AA00;">&gt;</span>&lt;param name<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;name&quot;</span> value<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;player&quot;</span> /<span style="color: #00AA00;">&gt;</span>&lt;param name<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;allowfullscreen&quot;</span> value<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;true&quot;</span> /<span style="color: #00AA00;">&gt;</span>&lt;param name<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;allowscriptaccess&quot;</span> value<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;always&quot;</span> /<span style="color: #00AA00;">&gt;</span>&lt;param name<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;flashvars&quot;</span> value<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;file=axa.flv&amp;amp;image=preview.jpg&quot;</span> /<span style="color: #00AA00;">&gt;</span>&lt;param name<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;src&quot;</span> value<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;player-viral.swf&quot;</span> /<span style="color: #00AA00;">&gt;</span>&lt;embed id<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;player&quot;</span> type<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;application/x-shockwave-flash&quot;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;400&quot;</span> <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;315&quot;</span> src<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;player-viral.swf&quot;</span> flashvars<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;file=axa.flv&amp;amp;image=preview.jpg&quot;</span> allowscriptaccess<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;always&quot;</span> allowfullscreen<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;true&quot;</span> name<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;player&quot;</span><span style="color: #00AA00;">&gt;</span>&lt;/embed<span style="color: #00AA00;">&gt;</span>&lt;/object<span style="color: #00AA00;">&gt;</span></pre>
</div>
</div>
<p>here above file &#8220;video.flv&#8221; is the media file that is going to be played and file &#8220;preview.jpg&#8221; is the image that will first appear in the screen.<br />
now your site is ready to play the media file.</p>
<p><a href="http://www.designgala.com/demos/jwp/ind.html" target=" ">click here</a> for demo
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/how-to-play-media-file-in-your-site/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to transfer wordpress installation from one server to another?</title>
		<link>http://designgala.com/how-to-transfer-wordpress-installation-from-one-server-to-another/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-transfer-wordpress-installation-from-one-server-to-another</link>
		<comments>http://designgala.com/how-to-transfer-wordpress-installation-from-one-server-to-another/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 15:08:04 +0000</pubDate>
		<dc:creator>Mukesh Chapagain</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.designgala.com/?p=865</guid>
		<description><![CDATA[Suppose, you are migrating you wordpress installation from one server to the other. In this case, you might have a different database server, database username and password. You might also have a different...]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Suppose, you are migrating you wordpress installation from one server to the other. In this case, you might have a different database server, database username and password. You might also have a different domain name as well. A general scenario will be migrating you wordpress installation from your localhost (local installation on your computer) to any online server.</p>
<p style="text-align: justify;">In this case, you need to consider few things to make the site working. You need to make changes in wp-config.php (present in root directory of wordpress installation) and some update in wp-options table of your database.</p>
<p style="text-align: justify;"><strong>Changes in wp-config.php</strong></p>
<p style="text-align: justify;">I suppose that my database name is wordpress, database username is root, password is pass and database server name is localhost.</p>
<div class="wp_syntax">
<div class="code">
<pre class="php" style="font-family:monospace;"><span style="color: #009933; font-style: italic;">/** The name of the database for WordPress */</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_NAME'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'wordpress'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009933; font-style: italic;">/** MySQL database username */</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_USER'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'root'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009933; font-style: italic;">/** MySQL database password */</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_PASSWORD'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'pass'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009933; font-style: italic;">/** MySQL hostname */</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_HOST'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'localhost'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre>
</div>
</div>
<p style="text-align: justify;"><strong>Changes in database (wp-options table)</strong></p>
<p style="text-align: justify;">1) In<strong> wp-options</strong> table, search for <strong>siteurl </strong>and<em> </em><strong>home</strong> in <strong>option_name</strong> column.</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">SELECT * FROM `wp_options` where `option_name` = 'siteurl' OR `option_name` = 'home';</pre>
</div>
</div>
<p style="text-align: justify;">2) Then edit the <strong>option_value</strong> column for the two rows with your current site url. I have supposed your current url as http://example.com. You can put your own url.</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">UPDATE `wp_options` SET `option_value` = 'http://example.com' WHERE `wp_options`.`option_name` = 'home' ;
&nbsp;
UPDATE `wp_options` SET `option_value` = 'http://example.com' WHERE `wp_options`.`option_name` = 'siteurl' ;</pre>
</div>
</div>
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/how-to-transfer-wordpress-installation-from-one-server-to-another/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How to use google map in webpage</title>
		<link>http://designgala.com/how-to-use-google-map-in-webpage/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-use-google-map-in-webpage</link>
		<comments>http://designgala.com/how-to-use-google-map-in-webpage/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 05:48:37 +0000</pubDate>
		<dc:creator>Rabi Shrestha</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[google map]]></category>

		<guid isPermaLink="false">http://www.designgala.com/?p=693</guid>
		<description><![CDATA[My last article was about inserting twitter updates in personal webpage. Now this time I am writing on how to use google map in webpage. Google offers an API which we can use...]]></description>
			<content:encoded><![CDATA[<p>My last article was about <a href="http://www.designgala.com/how-to-insert-twitter-updates-in-your-webpage/" title="inserting twitter updates in webpage">inserting twitter updates in personal webpage</a>. Now this time I am writing on how to use google map  in webpage. Google offers an API which we can use to pull information from google maps  for our own use. Even easier, they offer a little JavaScript widget which automatically uses this API and returns simple HTML of google maps and we can use this simple html where we need to show the location&#8217;s through google map.</p>
<p>Here are some simple steps for this.</p>
<h3><strong>Step 1:</strong></h3>
<p> First  go to <a href="http://maps.google.com/">http://maps.google.com/</a> and search the map which you want to insert in your webpage.<br />
<img src="http://www.designgala.com/wp-content/uploads/2009/12/mp1.jpg" alt="mp1" title="mp1" width="540" class="alignnone size-full wp-image-694" /> </p>
<h3><strong>Step 2:</strong></h3>
<p>Then click to the &#8221;Link&#8221; bottom seen on the upper right side of the page like shown below.<br />
<img src="http://www.designgala.com/wp-content/uploads/2009/12/mp1.jpg2_.jpg" alt="mp1.jpg2" title="mp1.jpg2" width="540" class="alignnone size-full wp-image-696" /> </p>
<h3><strong>Step 3:</strong></h3>
<p>And now you will see the following page on your screen .If you are fine with the size( height and width), zoom  of the map , then copy the  html code and paste it in the page where you want to insert the map. </p>
<p><img src="http://www.designgala.com/wp-content/uploads/2009/12/m3.jpg" alt="m3" title="m3" width="540"  class="alignnone size-full wp-image-699" /></p>
<p>If you want to customize the map then click on the &#8220;Customize and preview embedded map&#8221;. and you will see the following window.<br />
<img src="http://www.designgala.com/wp-content/uploads/2009/12/m4.jpg" alt="m4" title="m4" width="558" height="685" class="alignnone size-full wp-image-701" /></p>
<p>Next change the size of the map and zoom as you want, copy the html code  and paste it in the your page. Its very simple and easy.</p>
<p><strong><a href="http://www.designgala.com/demos/goomaps/maps.html">click here</a></strong> to see the example.</p>
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/how-to-use-google-map-in-webpage/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

