<?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>Monie Studios</title>
	<atom:link href="http://www.moniestudios.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.moniestudios.com</link>
	<description>So much to learn, so little time!</description>
	<lastBuildDate>Sat, 21 Aug 2010 04:59:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Create Simple Animation with Illustrator</title>
		<link>http://www.moniestudios.com/tutorials/create-simple-animation-with-illustrator/</link>
		<comments>http://www.moniestudios.com/tutorials/create-simple-animation-with-illustrator/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 07:00:12 +0000</pubDate>
		<dc:creator>Monie</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[illustrator]]></category>

		<guid isPermaLink="false">http://www.moniestudios.com/?p=1297</guid>
		<description><![CDATA[<a href="http://www.thewebsqueeze.com/web-design-articles/create-simple-animation-with-illustrator.html" target="_blank">Thewebsqueeze blog post</a>: Adobe Flash isn't the only way to create an animated banner!  Learn how to create one using Adobe Illustrator.  ]]></description>
			<content:encoded><![CDATA[<p>At some point in time in every designer’s life there comes a time where you need to make an animated web banner.</p>
<p>Illustrator itself has always been a print based application and one thing it just doesn&#8217;t do is animation.</p>
<p>There is an application called Adobe Flash. Flash does have the ability to create animation. It&#8217;s also one of the most popular applications being used to create animation. Flash uses the concept of framed based animation whereas in Illustrator, there is no frame. However, there are layers inside Illustrator and the beauty of Illustrator is that it can turn layers into frames for you.</p>
<p>Let&#8217;s see how we can do that.</p>
<h2>Creating Layers</h2>
<p><img class="alignnone size-full wp-image-5716" title="Illustrator1" src="/wp-content/uploads/image-1.jpg" alt="" width="549" height="77" /></p>
<p>Opening my layers panel will show you that my banner is made up of 5 different layers. If you are familiar with the Flash application, you&#8217;ll know how easy it is to create an image like that. Now, just think of a layer as a frame and you&#8217;ll see how easy this will be.</p>
<p><img class="alignnone size-full wp-image-5717" title="illustrator2" src="/wp-content/uploads/image-2.jpg" alt="" width="550" height="220" /></p>
<p>What I have done here is basically to put every frame of my animation onto a separate layer. Right now I have five different layers and when combined, it will produce the full image like the example above.</p>
<p>Once you have completed setting up your layers, let’s create our animation.</p>
<h2>Saving Your Animation</h2>
<p><img class="alignnone size-full wp-image-5718" title="illustrator3" src="/wp-content/uploads/image-3.jpg" alt="" width="550" height="220" /></p>
<p>Things to consider when setting up the Save for Web &#038; Devices command:</p>
<ul>
<li>Optimized file format: SWF</li>
<li><strong>Flash Player version:</strong> Flash Player 9 (the latest version on your machine)</li>
<li><strong>Type of export:</strong> Layers to SWF Frames (this is the most important setting)</li>
<li><strong>Curve Quality:</strong> 7</li>
<li><strong>Frame Rate:</strong> 1 second</li>
<li><strong>Loop:</strong> Play animation repeatedly (tick this checkbox)</li>
</ul>
<p><strong>Saving the file to SWF</strong>, a Flash format, Illustrator will ask you which flash player you want to optimize. <strong>Select Flash Player 9</strong> which is the latest version at the time of writing this tutorial.</p>
<p><strong>Type of export</strong>, this is the most important setting that you need to set. You can tell Illustrator to save your file into a big flash file by selecting the AI File to SWF File. You can also turn all your Illustrator layers into frames by selecting the second option which is Layers to SWF Frames and that&#8217;s going to create an animation.</p>
<p>Next, if you want to play the animation over and over again, put a tick in the Loop check box. Setting the frame rate to one frame per second means that every one second it&#8217;s going to switch within the layer.</p>
<p>Let&#8217;s go ahead and save the animation and select HTML and Images (*.html) in the Save as type. This will then automatically export an html demo file with the table already in it, so on and so forth.</p>
<p>This is how your html will look like, automatically generated for you by Illustrator.</p>
<pre class="brush: xml;">
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Simple-Animation-In-Illustrator-2&lt;/title&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;&gt;&lt;script src=&quot;images/Simple-Animation-with-Illustrator.js&quot; type=&quot;text/javascript&quot; &gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#FFFFFF&quot; leftmargin=&quot;0&quot; topmargin=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot;&gt;&lt;noscript&gt;
&lt;!-- ImageReady Slices (Simple-Animation-with-Illustrator.ai) --&gt;
&lt;embed src=&quot;images/Simple-Animation-with-Illustrator.swf&quot; width=&quot;569&quot; height=&quot;80&quot; alt=&quot;&quot; type=&quot;application/x-shockwave-flash&quot; pluginspage=&quot;http://www.macromedia.com/shockwave/download/&quot;&gt;
&lt;!-- End ImageReady Slices --&gt;&lt;/noscript&gt;&lt;script type=&quot;text/javascript&quot;&gt;fn00000()&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<h2>DEMO</h2>
<p><a href="http://www.moniestudios.com/wp-content/uploads/Simple-Animation-with-Illustrator1.swf">Click here to view demo!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.moniestudios.com/tutorials/create-simple-animation-with-illustrator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Change Remote Desktop Default Port Number</title>
		<link>http://www.moniestudios.com/tutorials/how-to-change-remote-desktop-default-port-number/</link>
		<comments>http://www.moniestudios.com/tutorials/how-to-change-remote-desktop-default-port-number/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 00:16:33 +0000</pubDate>
		<dc:creator>Monie</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[cache control]]></category>

		<guid isPermaLink="false">http://www.moniestudios.com/?p=1190</guid>
		<description><![CDATA[Ever wonder how to remote access your computer from miles away, across country and sea using the  built in windows RDP connection? Here is the tips.]]></description>
			<content:encoded><![CDATA[<p>This article applies to you if you have total control over your firewall devices, administration privileges to your computer and of course, some background in computer networking.</p>
<p><strong>Note</strong> The default Remote Desktop Connection Client for Windows XP Professional is 3389. </p>
<p>You can use the Remote Desktop feature in Microsoft Windows XP Professional to connect to your computer from another remote computer. To change the port that Remote Desktop listens on, follow these simple steps.</p>
<h2>Changing The Default Windows XP Pro RDP Port Number</h2>
<blockquote><p><strong>Important</strong> This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs.</p></blockquote>
<ol>
<li>Start Registry Editor. (regedit)</li>
<li>Locate and then click the following registry subkey:<br />
<strong>HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control \TerminalServer\WinStations\RDP-Tcp\PortNumber</strong></li>
<li>On the <strong>Edit</strong> menu, click <strong>Modify</strong>, and then click <strong>Decimal</strong>.</li>
<li>Type the new port number, and then click <strong>OK</strong>.</li>
<li>Quit Registry Editor.</li>
</ol>
<p>You have successfully changed your default RDP port number at this point.</p>
<p><strong>Note</strong> When you try to connect to this computer by using the Remote Desktop connection, you must type the new port.<br />
<a href="http://www.moniestudios.com/wp-content/uploads/rdp-connection.jpg"><img src="http://www.moniestudios.com/wp-content/uploads/rdp-connection.jpg" alt="" title="rdp-connection" width="600" height="288" class="alignnone size-full wp-image-1193" /></a></p>
<h2>Port Forwarding Your Firewall To RDP To Your Computer</h2>
<p>Once you have successfully changed your Windows XP default port number, it is time to do another trick (configuration in your firewall) to port forward your newly created RDP port number to point to your computer. Here is the setting and it may vary from different types/model of firewall.<br />
<a href="http://www.moniestudios.com/wp-content/uploads/rdp-firewall.jpg"><img src="http://www.moniestudios.com/wp-content/uploads/rdp-firewall.jpg" alt="" title="rdp-firewall" width="600" height="196" class="alignnone size-full wp-image-1204" /></a></p>
<h2>Alternative To Windows RDP</h2>
<p>You can use some third party application to access into your computer in a similar way by using any of this following application:</p>
<ul>
<li><a href="http://www.realvnc.com/" target="_blank">Real VNC</a></li>
<li><a href="http://www.teamviewer.com/index.aspx" target="_blank">TeamViewer</a></li>
<li><a href="http://www.uvnc.com/" target="_blank">Ultra VNC</a></li>
<li><a href="https://secure.logmein.com/" target="_blank">LogMeIn</a></li>
</ul>
<p>Hope this helps you with your RDP activity.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moniestudios.com/tutorials/how-to-change-remote-desktop-default-port-number/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learn How Google Works: in Gory Detail</title>
		<link>http://www.moniestudios.com/articles/learn-how-google-works-in-gory-detail/</link>
		<comments>http://www.moniestudios.com/articles/learn-how-google-works-in-gory-detail/#comments</comments>
		<pubDate>Sun, 04 Jul 2010 14:30:49 +0000</pubDate>
		<dc:creator>Monie</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.moniestudios.com/?p=1174</guid>
		<description><![CDATA[This detail image illustrates how Google work from the moment you click the search button up until the first ten result being shown to you.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.moniestudios.com/wp-content/uploads/how-google-work-600.jpg"><img src="http://www.moniestudios.com/wp-content/uploads/how-google-work-600.jpg" alt="Learn How Google Works: in Gory Detail" title="how-google-work-600" width="600" height="600" class="size-full wp-image-1175 alignleft" /></a></p>
<p><a href="http://www.moniestudios.com/wp-content/uploads/how-google-works-1195.jpg"><strong>Download High resolution Here</strong></a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moniestudios.com/articles/learn-how-google-works-in-gory-detail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Tips: Connecting Multiple MySQL Databases On A Single Page</title>
		<link>http://www.moniestudios.com/tutorials/connecting-multiple-mysql-databases-on-a-single-page/</link>
		<comments>http://www.moniestudios.com/tutorials/connecting-multiple-mysql-databases-on-a-single-page/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 02:00:05 +0000</pubDate>
		<dc:creator>Monie</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.moniestudios.com/?p=1160</guid>
		<description><![CDATA[Learn how to connect multiple MySQL database on a single page.]]></description>
			<content:encoded><![CDATA[<h2>The Scenario</h2>
<blockquote><p>I have information spread out across a few databases and want to put all the information onto one webpage using PHP. I was wondering how I can connect to multiple databases on a single PHP webpage.</p></blockquote>
<h2>The Solution</h2>
<p>You can make multiple calls to mysql_connect(), but if the parameters are the same you need to pass the value &#8220;true&#8221; as the forth parameter, otherwise the same connection is reused. Here is a demonstration on connecting multiple MySQL databases on a single Page.</p>
<h3>Database One</h3>
<pre class="brush: php;">
    // Database ONE Connection

    // Constant variable declaration
    $host = 'localhost';
    $user = 'database_user';
    $pass = 'password';
    $name = 'database_name';

    // 1. Create database connection
    $db1_connection = mysql_connect($host, $user, $pass) or die(mysql_error());

    // 2. Select database to use
    $db1 = mysql_select_db($qn_name, $db1_connection) or die(mysql_error());
</pre>
<h3>Database Two</h3>
<pre class="brush: php;">
    // Database TWO Connection

    // 1. Create the second database connection
    // Passing the &quot;true&quot; value in the forth parameter here
    $db2_connection = mysql_connect($host, $user, $pass, true) or die(mysql_error());

    // 2. Select database to use
    $db2 = mysql_select_db($name, $db2_connection) or die(mysql_error());
</pre>
<p>Problem solved! Happy coding&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moniestudios.com/tutorials/connecting-multiple-mysql-databases-on-a-single-page/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Create Short URLs Using PHP Functions</title>
		<link>http://www.moniestudios.com/tutorials/create-short-urls-using-php-functions/</link>
		<comments>http://www.moniestudios.com/tutorials/create-short-urls-using-php-functions/#comments</comments>
		<pubDate>Wed, 12 May 2010 02:12:17 +0000</pubDate>
		<dc:creator>Monie</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.moniestudios.com/?p=1136</guid>
		<description><![CDATA[Learn how to turn ridicules long links into super short links with Bit.ly with the help of PHP function.]]></description>
			<content:encoded><![CDATA[<p>You might have notice that whenever you retweet some post to your twitter account, or whenever you share some link to your twitter account, you will see that your link become something that you don’t quite understand, weird and definitely a lot shorter than it used to be. So, what is that all about?</p>
<pre class="brush: xml;">
&lt;a href=&quot;http://bit.ly/asSkuN&quot;&gt;MonieStudios.com&lt;/a&gt;
</pre>
<h2>Introduction To URL Shortening Services</h2>
<p>One of the most popular URL shortening services is <a href="http://bit.ly/">Bit.ly</a>, which you see a lot in your twitter post link sharing. <a href="http://bit.ly/">Bit.ly</a> requires you to sign up for an account and once you have an account, you may attain your login detail, your appkey (you can find your appkey by clicking your username link) and your URL information. That is where you will be doing your URL shortening activity manually.</p>
<p><img src="http://www.moniestudios.com/wp-content/uploads/api-key.png" alt="" title="api-key" width="580" height="170" class="alignnone size-full wp-image-1148" /></p>
<p>Most CMS like WordPress have a plugins of built in support for this service where you don’t have to be logged in to <a href="http://bit.ly/">Bit.ly</a> in order for you to shorten your link. It will be done right at your page just before it passed on to your twitter account.</p>
<p>What if you want to do the same thing with your custom made website. After all, custom made website doesn’t have shortening URL plugins like WordPress do!</p>
<p>I’ll show you how to create Bit.ly URLs remotely with PHP function.</p>
<h2>The Functions</h2>
<pre class="brush: php;">
/* make a URL small with bit.ly */
function make_bitly_url($url,$login,$appkey,$format = 'xml',$version = '2.0.1') {

    //create the URL
    $bitly = 'http://api.bit.ly/shorten?version='.$version.'&amp;longUrl='.urlencode($url).'&amp;login='.$login.'&amp;apiKey='.$appkey.'&amp;format='.$format;

    //get the url, could also use cURL here
    $response = file_get_contents($bitly);

    //parse depending on desired format
    if(strtolower($format) == 'json') {
        $json = @json_decode($response,true);
        return $json['results'][$url]['shortUrl'];
    }
     //xml
    else {
        $xml = simplexml_load_string($response);
        return 'http://bit.ly/'.$xml-&gt;results-&gt;nodeKeyVal-&gt;hash;
    }
}
</pre>
<h2>The Usage</h2>
<p>Just put this code where you want to share the page to your social boorkmark (facebook, twitter, etc..). Your new URL that has been shorten can be access with the variable: $short</p>
<p>Example of usage would be something like this:</p>
<pre class="brush: php;">
    // Get the full address of your website page
    $url = &quot;http://&quot;.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];

    // Authentication details
    $login = &quot;your.email.id@gmail.com&quot;;
    $appkey = &quot;R_22c9bc44570b459ab9d095d7ef5e78fe&quot;;

    /* Calling up the function */
    $short = make_bitly_url($url,$login,$appkey,'json');

    /* Share on Twitter link */
    &lt;a class=&quot;twitter&quot; href=&quot;http://twitter.com/home?status=Your Website Title - &lt;?php echo $short; ?&gt;&quot;&gt;Twitter&lt;/a&gt;
</pre>
<p>Happy shortening!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moniestudios.com/tutorials/create-short-urls-using-php-functions/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Winners of &#8220;Panda Internet Security License&#8221; Giveaway</title>
		<link>http://www.moniestudios.com/news/winners-of-panda-internet-security-license-giveaway/</link>
		<comments>http://www.moniestudios.com/news/winners-of-panda-internet-security-license-giveaway/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 06:15:31 +0000</pubDate>
		<dc:creator>Monie</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.moniestudios.com/?p=1110</guid>
		<description><![CDATA[If you've participated in Monieweb <a href="http://www.moniestudios.com/news/giveaway-panda-antivirus-license/">“Panda Internet Security License”</a> giveaway, here’s the moment you’ve been waiting for.]]></description>
			<content:encoded><![CDATA[<p>Without further do, here are the 2 lucky winners, in no particular order.</p>
<h2>The Lucky Winner!</h2>
<ol>
<li><strong>Felix Robert</strong></li>
<li><strong>Sreeparna</strong></li>
</ol>
<p>Congratulation guys. You&#8217;ll be receiving an e-mail notification together with the download instruction and activation code soon.</p>
<p><img class="size-full wp-image-943  alignleft" title="panda-internet-security" src="http://www.moniestudios.com/wp-content/uploads/panda-internet-security.jpg" alt="" width="600" height="682" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.moniestudios.com/news/winners-of-panda-internet-security-license-giveaway/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Adding Multiple Widgets In Your WordPress Theme</title>
		<link>http://www.moniestudios.com/tutorials/adding-multiple-widgets-in-your-wordpress-theme/</link>
		<comments>http://www.moniestudios.com/tutorials/adding-multiple-widgets-in-your-wordpress-theme/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 07:45:13 +0000</pubDate>
		<dc:creator>Monie</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.moniestudios.com/?p=1078</guid>
		<description><![CDATA[<a href="http://www.thewebsqueeze.com/web-design-tutorials/adding-multiple-widgets-in-your-wordpress-theme.html">Thewebsqueeze blog post</a>:  This quick tip will show you how you can add extra widgets inside your current Wordpress theme.]]></description>
			<content:encoded><![CDATA[<p>I was playing around with my WordPress theme. At the moment, I have three portions in my main page, which have the same div class;  i.e div class = &#8220;box&#8221;. All of them are referring to <em>About Me</em>, <em>My Service</em> and <em>Blog Updates</em>. Suddenly I realize that I wanted to have something more dynamic! A theme with  maximum flexibility to be exact! Then I was thinking, I should have a sidebar widget instead of a raw html hardcoded footer. Let’s see how a widget can help to solve the problem.</p>
<p>The WordPress theme that I have right now supports only one sidebar widget. Let me show you how you can add in more sidebar widgets into your current theme.</p>
<pre class="brush: php;">
&lt;div id=&quot;sidebar_widget&quot;&gt;
    &lt;div class=&quot;box&quot;&gt;
          &lt;h2&gt;About Me&lt;/h2&gt;
          &lt;p&gt;About me description here...&lt;/p&gt;
    &lt;/div&gt;
    &lt;div class=&quot;box&quot;&gt;
        &lt;h2&gt;My Services&lt;/h2&gt;
        &lt;ul&gt;
            &lt;li&gt;Custom Web Design&lt;/li&gt;
            &lt;li&gt;WordPress Theme&lt;/li&gt;
            &lt;li&gt;Technical Support&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
    &lt;div class=&quot;box&quot;&gt;
        &lt;h2&gt;Blog Updates&lt;/h2&gt;
        &lt;ul&gt;
            &lt;li&gt;Writing Functions In PHP - Return Values&lt;/li&gt;
            &lt;li&gt;Writing Functions In PHP - Flexibility&lt;/li&gt;
            &lt;li&gt;Writing Functions In PHP - Introduction&lt;/li&gt;
            &lt;li&gt;Install WordPress In Windows&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
&lt;/div&gt;
</pre>
<h2>Registering The Sidebars</h2>
<p>I am assuming that you are familiar with the WordPress platform; otherwise you won’t end up reading this tutorial.</p>
<p>To begin this tutorial, firstly you need to tell WordPress how many widget(s) that you need. Navigate to your functions.php page, the one that is in your theme folder. Without much difficulty, you will see these few lines of code.  If it’s difficult to find, search for the string called <em>register_sidebars</em>.</p>
<pre class="brush: php;">
&lt;?php
    if ( function_exists('register_sidebars') )
    register_sidebars(2);
?&gt;
</pre>
<p>Once you have found them, all you need to do is change the number according to your requirement and then save the file. You can increase this number if you want to have more sidebars as long as your theme layout can accommodate it.</p>
<p>Now, go to your WordPress <strong>Admin</strong> section and browse to the widgets under the menu item called <strong>Appearance</strong>. You can see there are three sidebars listed there. You can drag your widget items into any of the sidebars to start using it.</p>
<p><img class="size-full wp-image-1081 alignnone" title="sidebar" src="http://www.moniestudios.com/wp-content/uploads/sidebar.png" alt="" width="570" height="170" /></p>
<h2>Building The Sidebars</h2>
<p>Here comes the part where we actually build the sidebars. If your theme has only one sidebar, locate the file called <em>sidebar.php</em> in your theme folder. If for some reason your theme has two sidebars, you should have the files called <em>sidebar.php</em>, <em>sidebar1.php</em> and <em>sidebar2.php</em>. So if you want to add another sidebar widget into your theme, you should duplicate either <em>sidebar1.php</em> or <em>sidebar2.php</em> and rename it as <em>sidebar3.php</em>.</p>
<p>In this tutorial, we will modify the theme by adding two more sidebars and let’s rename <em>sidebar.php</em> to <em>sidebar1.php</em> and duplicate this file and rename it as <em>sidebar2.php</em>. Add the code below into the widget template, <em>sidebar2.php</em> and save the file:</p>
<pre class="brush: php;">
&lt;div class=&quot;box&quot;&gt;
&lt;ul&gt;
&lt;?php if ( function_exists('dynamic_sidebar') &amp;&amp; dynamic_sidebar(2) ) : else : ?&gt;
&lt;?php endif; ?&gt;
&lt;/ul&gt;
&lt;/div&gt;
</pre>
<p>Remember that this code, <em>dynamic_sidebar(2)</em> is referring to your widget template which is sidebar2.php. So for your <em>sidebar1.php</em>, you would call this as <em>dynamic_sidebar(1)</em> instead.</p>
<p>Just to add more flexibility to your theme, the page won’t display an empty sidebar widget if you didn’t add any widgets into your theme. Add in this default value for your widget, replacing the code above.</p>
<pre class="brush: php;">
&lt;div class=&quot;box&quot;&gt;
&lt;ul&gt;
&lt;?php if ( function_exists('dynamic_sidebar') &amp;&amp; dynamic_sidebar(2) ) : else : ?&gt;
&lt;h2&gt;Sidebar 2&lt;/h2&gt;
&lt;p&gt;This is your sidebar 2. You can drag your widget here from your WordPress admin section and browse to the widgets under the menu item called Appearance.&lt;/p&gt;
&lt;?php endif; ?&gt;
&lt;/ul&gt;
&lt;/div&gt;
</pre>
<h2>Calling The Sidebar</h2>
<p>Now, we have the two sidebars ready but how do we call it? How do we place them in the area that we want in our page? You can call them from anywhere in your theme with this line of code;</p>
<pre class="brush: php;">&lt;?php include  (TEMPLATEPATH . '/sidebar1.php'); ?&gt;</pre>
<p>or for the second sidebar,</p>
<pre class="brush: php;">&lt;?php include  (TEMPLATEPATH . '/sidebar2.php'); ?&gt;</pre>
<p>Let’s go back to our <em>index.php</em> page with the current sidebar being hardcoded. Let’s update them and call this widget.</p>
<pre class="brush: php;">
&lt;div id=&quot;sidebar_widget&quot;&gt;
&lt;?php include (TEMPLATEPATH . '/sidebar1.php'); ?&gt;
&lt;?php include (TEMPLATEPATH . '/sidebar2.php'); ?&gt;
&lt;?php include (TEMPLATEPATH . '/sidebar3.php'); ?&gt;
&lt;/div&gt;
</pre>
<p>Preview your theme. You will see your new widgets appearing on your website just the way you want it. There may be some minor issues on the div alignment and positioning. I’m sure you can easily fix that with your CSS. If you have not placed any widgets yet, you will still see the default value that we’ve created earlier. You can add more sidebars in a similar way to your WordPress theme.</p>
<p><img class="size-full wp-image-1082 alignnone" title="widget" src="http://www.moniestudios.com/wp-content/uploads/widget.png" alt="" width="570" height="216" /><br />
I hope this tutorial is helpful and enjoy blogging.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moniestudios.com/tutorials/adding-multiple-widgets-in-your-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>25 Best Practices In Banner Advertising</title>
		<link>http://www.moniestudios.com/news/25-best-practices-in-banner-advertising/</link>
		<comments>http://www.moniestudios.com/news/25-best-practices-in-banner-advertising/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 08:55:33 +0000</pubDate>
		<dc:creator>Monie</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[The W Group]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.moniestudios.com/?p=1054</guid>
		<description><![CDATA[Want to sharpen up your banner advertising skills? <a href="http://www.bannersnack.com/blog/25-best-practices-in-banner-advertising/">BannerSnack</a> is giving a short e-book away available for free download. A book that will help you to dramatically improve the way you advertise online, and eventually create successful banner ads.]]></description>
			<content:encoded><![CDATA[<blockquote><p>We are happy to offer you “25 best practices in banner advertising”, a short ebook that will help you to dramatically improve the way you advertise online, and eventually create successful banner ads.</p></blockquote>
<h2>Where To Download</h2>
<p><a href="http://files.bannersnack.net/pdf/25-best-practices-in-banner-advertising-ebook.pdf"><img class="alignleft size-full wp-image-1076" title="banner-ebook" src="http://www.moniestudios.com/wp-content/uploads/banner-ebook1.jpg" alt="" width="600" height="537" /></a></p>
<h2>Why you should read this book?</h2>
<ul>
<li>The ebook contains dozens of practical pieces of advice that you can apply right away</li>
<li>It comprises all the basics of banner advertising</li>
<li>It’s short and easy to read</li>
<li>The book is based on the experience that we, the people here at BannerSnack, have accumulated interacting with the banner advertising business</li>
<li>It’s free</li>
</ul>
<p>Feel free to post this ebook on your blog or share it with whoever might benefit from reading it.<br />
Thank you from Monieweb!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moniestudios.com/news/25-best-practices-in-banner-advertising/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>25 Facts About Web Designer</title>
		<link>http://www.moniestudios.com/articles/25-facts-about-web-designer/</link>
		<comments>http://www.moniestudios.com/articles/25-facts-about-web-designer/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 05:36:45 +0000</pubDate>
		<dc:creator>Monie</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[e-book]]></category>

		<guid isPermaLink="false">http://www.moniestudios.com/?p=1020</guid>
		<description><![CDATA[Here is the list of facts that (from my personal point of view) should define who "web designer" are. So, are you a web designer?]]></description>
			<content:encoded><![CDATA[<p>This list was to better define the thin line between a web  designer wannabe (newbie) and a mature (professional) web designer. So, are you really a web designer?</p>
<h2>You are not a Web Designer IF:</h2>
<p>1. You don’t know what a <strong>PIXEL</strong> is!<br />
2. You don’t know what a <strong>MOCKUP</strong> is!<br />
3. You don’t know what <strong>RGB</strong> or <strong>CMYK</strong> is and stands for!<br />
4. You don’t know what <strong>SCREEN REAL ESTATE</strong> is!<br />
5. You only <strong>DESIGN</strong> and never <strong>CODE</strong>!<br />
6. You don’t know the difference between <strong>VECTOR</strong> and <strong>RASTER</strong>!<br />
7. You have no idea what <strong>CRUD</strong> is!<br />
8. You can’t name an alternative to <strong>PHOTOSHOP</strong>!<br />
9.You know only a way of selection in <strong>PHOTOSHOP</strong>!<br />
10.You don’t know what <strong>DPI</strong> stands for!<br />
11. You don’t know what <strong>IMAGE FORMATS</strong> are!<br />
12. You only know <strong>MSSQL</strong> database!<br />
13. You have no knowledge of <strong>DESIGN HISTORY</strong>!<br />
14. You don’t know what a <strong>DTD</strong> is!<br />
15. You use only <strong>HTML TRANSITIONAL DTD</strong>!<br />
16. You don’t know the difference between <strong>HTML</strong> &amp; <strong>XHTML</strong>!<br />
17. You don’t know what <strong>CSS</strong> is!<br />
18. You don’t use <strong>FIREFOX</strong> as your default browser!<br />
19. You don’t have <strong>WEB DEVELOPER TOOLBAR</strong>!<br />
20. You’ve never heard about <strong>W3C</strong>!<br />
21. You know to code only in <strong>DREAMWEAVER</strong>!<br />
22. You test your web pages only in <strong>INTERNET EXPLORER</strong>!<br />
23. You don’t read <strong>WEB DESIGN BLOGS</strong>!<br />
24. You have a <strong>MAC</strong>! (You are not necessarily a designer if you own a Mac)<br />
25. You don’t have a <strong>WEBSITE</strong>!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moniestudios.com/articles/25-facts-about-web-designer/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>The World Most Unsuccessful Web Designers</title>
		<link>http://www.moniestudios.com/articles/the-world-most-unsuccessful-web-designers/</link>
		<comments>http://www.moniestudios.com/articles/the-world-most-unsuccessful-web-designers/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 06:05:49 +0000</pubDate>
		<dc:creator>Monie</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[cache control. windows]]></category>
		<category><![CDATA[vb script]]></category>

		<guid isPermaLink="false">http://www.moniestudios.com/?p=1001</guid>
		<description><![CDATA[There are many reasons for a designer to fail. Here is the most common traits of web designers who simply fail at design and freelancing in general.]]></description>
			<content:encoded><![CDATA[<p>Today, we will be discussing some of the most common traits of web designers who fail at design and freelancing in general. Mixed in with these ten items are topics that range from time management to the ugly table codes we&#8217;ve all grown to hate. If you know of something that an unsuccessful web designer does but isn&#8217;t in this list, make sure to make it known to everyone in the comments section of this post.</p>
<p>So how do you know if someone is categorized as &#8220;The World Most Unsuccessful Web Designers&#8221;?</p>
<h2>10 Trends of the World&#8217;s Most Unsuccessful Web Designers</h2>
<ul>
<li>Not Using Any Form of CSS</li>
<li>Making Everything on the Page a Graphic</li>
<li>Using Bright, Blinking Text Everywhere</li>
<li>Stretching Their Time Too Thin and Causing Problems with Clients</li>
<li>Not Utilizing Any Web Trends After 1990</li>
<li>Never Test their Designs in Different Browsers</li>
<li>Making Things Pretty and Totally Avoiding Usability</li>
<li>Using Color Combination&#8217;s That Make You Want to Puke</li>
<li>Tables &#8211; All Tables!</li>
<li>Relying on One Source for Job Leads is a Death Trap</li>
</ul>
<blockquote><p>
Original source by <a href="http://www.madebyguerrilla.com/">Mike Smith</a> at <a href="http://www.Onextrapixel.com/2010/03/22/10-trends-of-the-world-most-unsuccessful-designers/">onextrapixe</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.moniestudios.com/articles/the-world-most-unsuccessful-web-designers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
