<?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>Learn Web Design Online</title>
	<atom:link href="http://learnwebdesignonline.com/feed" rel="self" type="application/rss+xml" />
	<link>http://learnwebdesignonline.com</link>
	<description>Resources for Learning Web Design and Web Development</description>
	<lastBuildDate>Thu, 26 Jan 2012 06:07:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>PHP Maximum File Upload Size Control</title>
		<link>http://learnwebdesignonline.com/php-maxium-file-upload-size-control</link>
		<comments>http://learnwebdesignonline.com/php-maxium-file-upload-size-control#comments</comments>
		<pubDate>Thu, 26 Jan 2012 06:07:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://learnwebdesignonline.com/?p=481</guid>
		<description><![CDATA[Certain web applications can allow an user or an administrator to upload a file from their computer to the Web Server. Once in a while, you may encounter an error when the file that you are trying to upload is too large. Some default PHP installation is set to allow a maximum of file upload [...]]]></description>
			<content:encoded><![CDATA[<p>Certain web applications can allow an user or an administrator to upload a file from their computer to the Web Server.  Once in a while, you may encounter an error when the file that you are trying to upload is too large.  Some default PHP installation is set to allow a maximum of file upload size of 2 MB.  So try uploading a file less than that to see if it is file size that is causing the upload problem.</p>
<p>There are two constraints that can limit the file upload size: 1) the code in the web application, and 2) the web host server configuration.   The actual limit would be the lower of the two. </p>
<h2>Setting Media Upload File Size in Joomla</h2>
<p>If the web application is a content management system such as Joomla, then the administrator may be able to set the upload file size in the administrator settings.  For Joomla 1.5, it would be in &#8220;Site -> Global Configuration -> System -> Media Settings -> Maximum Size&#8221;.</p>
<h2>PHP Upload File Size</h2>
<p>Linux web host server that runs PHP, has a PHP.ini configuration file.  Among its configuration parameters are <strong>upload_max_filesize</strong> and the <strong>post_max_size</strong>.  These can limit the maximum file size that can be uploaded to the server via a webpage regardless of the code of the webpage.  So try fiddling with these two parameters in the php.ini file. </p>
<p>Note that there can be multiple locations where the php.ini configuration file exists.  You may have to change it in more than one place.  You can determine the values of the configuration file that are in effect, by placing a PHP file that displays phpinfo() at the desired location that you want to check.  The phpinfo() display can also tell you the php.ini file location.  Remember to remove this after checking.</p>
<p>The <a href="[http://www.php.net/manual/en/ini.core.php#ini.upload-max-filesize">upload_max_filesize</a> specifies the maximum size of the uploaded file.</p>
<p>The <a href="http://www.php.net/manual/en/ini.core.php#ini.post-max-size">post_max_size</a> sets the maximum size of posted data which affect the file upload site.</p>
<p>Because uploading large files require execution time, <strong>max_execution_time</strong> and <strong>max_input_time</strong>  can also affect the upload.  As can <strong>memory_limit</strong>.</p>
<p>Another parameter that might affect the upload is file_uploads.  Make sure that parameter is set to be &#8220;1&#8243;.  </p>
<h2>Alternatives if unable to adjust Max limit of Upload File Size</h2>
<p>Depending on the web host, some may not let you adjust the php.ini file settings.  You can zip up the file to be uploaded and hope that the compressed size is smaller than the limit.  Alternatively you can manually upload the file to the server using an FTP client.   <a href="http://learnwebdesignonline.com/quick-ftp-connect-filezilla">See tutorial on how to use the free FTP client FileZilla</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://learnwebdesignonline.com/php-maxium-file-upload-size-control/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google&#8217;s Privacy Policy and Terms of Service Agreement</title>
		<link>http://learnwebdesignonline.com/googles-privacy-policy-and-terms-of-service-agreement</link>
		<comments>http://learnwebdesignonline.com/googles-privacy-policy-and-terms-of-service-agreement#comments</comments>
		<pubDate>Thu, 26 Jan 2012 05:11:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://learnwebdesignonline.com/?p=478</guid>
		<description><![CDATA[Google is updating their privacy policy and terms of service agreement as of March 1, 2012. This shorter and more readable privacy policy replaces the 60 different privacy policies that is in place across many of Google&#8217;s websites.]]></description>
			<content:encoded><![CDATA[<p>Google is updating their <a href="http://www.google.com/policies/">privacy policy and terms of service agreement</a> as of March 1, 2012.  This shorter and more readable privacy policy replaces the 60 different privacy policies that is in place across many of Google&#8217;s websites.</p>
]]></content:encoded>
			<wfw:commentRss>http://learnwebdesignonline.com/googles-privacy-policy-and-terms-of-service-agreement/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Chrome Most Secure Browsers</title>
		<link>http://learnwebdesignonline.com/google-chrome-most-secure-browser</link>
		<comments>http://learnwebdesignonline.com/google-chrome-most-secure-browser#comments</comments>
		<pubDate>Wed, 14 Dec 2011 06:10:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://learnwebdesignonline.com/?p=475</guid>
		<description><![CDATA[As of December 2011, Google Chrome happens to be the most secure of the three top browsers, according to security firm Accuvant. [reference] Many people are switching to Google Chrome as the default browser. Because Google Chrome had been the number three browser in the past. But now recently as of December 2011, Google Chrome [...]]]></description>
			<content:encoded><![CDATA[<p>As of December 2011, Google Chrome happens to be the most secure of the three top browsers, according to security firm Accuvant. [<a href="http://www.pcworld.com/businesscenter/article/245856/chrome_is_most_secure_of_the_top_three_browsers_study_finds.html">reference</a>]</p>
<p>Many people are switching to Google Chrome as the default browser.  Because Google Chrome had been the number three browser in the past.  But now recently as of December 2011, Google Chrome have surpassed Firefox to become the number two browser &#8212; second only to Microsoft Internet Explorer.[<a href="http://online.wsj.com/article/SB10001424052970204012004577071933883857786.html">reference</a>]</p>
<p>So if you want to switch to Google chrome, <a href="http://computertutorialsonline.com/google-chrome-default-browser">see tutorial how to make Google Chrome your default browser</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://learnwebdesignonline.com/google-chrome-most-secure-browser/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chrome is number two Browser Surpassing Firefox</title>
		<link>http://learnwebdesignonline.com/chrome-is-number-two-browser-surpassing-firefox</link>
		<comments>http://learnwebdesignonline.com/chrome-is-number-two-browser-surpassing-firefox#comments</comments>
		<pubDate>Fri, 09 Dec 2011 05:40:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[chrome]]></category>

		<guid isPermaLink="false">http://learnwebdesignonline.com/?p=467</guid>
		<description><![CDATA[Internet Explorer continues to the be dominate browser on the market as of year end of 2011. Firefox browser has been number two for quite some time. However, as of December 2011, Google&#8217;s Chrome browser has surpassed Firefox, making it the number two browser in the market. This is according to ExtremeTech.com where you can [...]]]></description>
			<content:encoded><![CDATA[<p>Internet Explorer continues to the be dominate browser on the market as of year end of 2011.  Firefox browser has been number two for quite some time.  However, as of December 2011, Google&#8217;s Chrome browser has surpassed Firefox, making it the number two browser in the market.</p>
<p>This is according to <a href="http://www.extremetech.com/internet/107589-chrome-takes-the-two-spot-et-readers-love-firefox">ExtremeTech.com</a> where you can see a chart of the StatCounter Global Stats.</p>
]]></content:encoded>
			<wfw:commentRss>http://learnwebdesignonline.com/chrome-is-number-two-browser-surpassing-firefox/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video Tutorials on FileMaker Pro</title>
		<link>http://learnwebdesignonline.com/video-tutorials-on-filemaker-pro</link>
		<comments>http://learnwebdesignonline.com/video-tutorials-on-filemaker-pro#comments</comments>
		<pubDate>Sun, 21 Aug 2011 03:54:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[videos]]></category>

		<guid isPermaLink="false">http://learnwebdesignonline.com/?p=464</guid>
		<description><![CDATA[Lynda.com has training videos on FileMaker Pro. These are paid training courses. But a few of the video are accessible for free as sample. In Lynda.com FileMaker Pro 11 Essential Training course, the &#8220;Touring the interface&#8221; video is especially helpful as it provides an introduction to FileMaker Pro&#8217;s four mode: Browse Mode, Find Mode, Layout [...]]]></description>
			<content:encoded><![CDATA[<p>Lynda.com has training videos on FileMaker Pro.  These are paid training courses.  But a few of the video are accessible for free as sample.</p>
<p>In Lynda.com <em><a href="http://www.lynda.com/FileMaker-Pro-11-tutorials/essential-training/62221-2.html">FileMaker Pro 11 Essential Training</a></em> course, the &#8220;Touring the interface&#8221; video is especially helpful as it provides an introduction to FileMaker Pro&#8217;s four mode: Browse Mode, Find Mode, Layout Mode, and Preview Mode.</p>
<p>If you are already familiar with FileMaker and want to just learn the new features of FileMaker 11, then there is the <em><a href="http://www.lynda.com/FileMaker-Pro-11-tutorials/new-features/61686-2.html">FileMaker Pro New Features</a></em> course.</p>
<p>Some companies are still using older versions of FileMaker, for those videos there are &#8230;<br />
<em><a href="http://www.lynda.com/FileMaker-Pro-10-tutorials/essential-training/638-2.html">FileMaker Pro 10 Essential Training</a></em></p>
<p>and </p>
<p><em><a href="http://www.lynda.com/FileMaker-Pro-9-tutorials/essential-training/399-2.html">FileMaker Pro 9 Essential Training</a></em></p>
]]></content:encoded>
			<wfw:commentRss>http://learnwebdesignonline.com/video-tutorials-on-filemaker-pro/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video Tutorials on Expression Engine</title>
		<link>http://learnwebdesignonline.com/video-tutorials-expression-engine</link>
		<comments>http://learnwebdesignonline.com/video-tutorials-expression-engine#comments</comments>
		<pubDate>Sun, 21 Aug 2011 03:50:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[videos]]></category>
		<category><![CDATA[coding]]></category>

		<guid isPermaLink="false">http://learnwebdesignonline.com/?p=462</guid>
		<description><![CDATA[Expression Engine is a commercial content management system. Here are some video tutorials about it. Ryan explains in this video how to first install Expression Engine 2.0]]></description>
			<content:encoded><![CDATA[<p>Expression Engine is a commercial content management system.  Here are some video tutorials about it.</p>
<p>Ryan <a href="http://static.eeinsider.com/videos/installing-expressionengine2.mov">explains in this video</a> how to first install Expression Engine 2.0</p>
]]></content:encoded>
			<wfw:commentRss>http://learnwebdesignonline.com/video-tutorials-expression-engine/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://static.eeinsider.com/videos/installing-expressionengine2.mov" length="39333991" type="video/quicktime" />
		</item>
		<item>
		<title>CSS Based Horizontal Tabs</title>
		<link>http://learnwebdesignonline.com/css-based-horizontal-tabs</link>
		<comments>http://learnwebdesignonline.com/css-based-horizontal-tabs#comments</comments>
		<pubDate>Mon, 25 Jul 2011 02:50:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://learnwebdesignonline.com/?p=436</guid>
		<description><![CDATA[In this tutorial, we are going to create CSS-based horizontal tabs as shown here. View live code here. Graphics Used The graphics looks like this &#8230; Default gradient tab: default_tab.jpg &#160; Highlighted tab&#8230; &#160; But instead of using two different graphic files for the two tabs, we combine the default tab and highlighted tab into [...]]]></description>
			<content:encoded><![CDATA[<p>In this tutorial, we are going to create CSS-based horizontal tabs as shown here.</p>
<div id="attachment_437" class="wp-caption alignnone" style="width: 361px"><img class="size-full wp-image-437" title="horizontal CSS tabs" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/horizontal-css-tabs-final.gif" alt="horizontal CSS tabs" width="351" height="217" /><p class="wp-caption-text">horizontal CSS tabs</p></div>
<p><a href="/example/code/horizontal-tabs.html">View live code here</a>.</p>
<h2>Graphics Used</h2>
<p>The graphics looks like this &#8230;</p>
<p>Default gradient tab: <strong>default_tab.jpg</strong></p>
<p><img class="alignnone size-full wp-image-438" title="default_tab" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/default_tab.jpg" alt="" width="88" height="23" /></p>
<p>&nbsp;</p>
<p><strong>Highlighted tab&#8230;</strong></p>
<p><strong><img class="alignnone size-full wp-image-439" title="highlighted_tab" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/highlighted_tab.jpg" alt="" width="88" height="23" /></strong></p>
<p>&nbsp;</p>
<p>But instead of using two different graphic files for the two tabs, we  combine the default tab and highlighted tab into one graphic as shown.</p>
<p>Combined tab: <strong>tabs.jpg</strong></p>
<p><strong><img class="alignnone size-full wp-image-440" title="tabs" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/tabs.jpg" alt="" width="176" height="23" /></strong></p>
<p>Because the two tab images are on one file, they will load with the  single file.  This will improve performance due to one less server call  to get another graphics file.  And it will avoid any &#8220;flicker&#8221; that may  occur if we had to wait for the browser to load a separate image for the  hover state.</p>
<h2>Page Structure</h2>
<p>First, we will start out with a page structure on to which we will  place our tabs to be sitting right on top of the gold nav strip.</p>
<div id="attachment_441" class="wp-caption alignnone" style="width: 535px"><img class="size-full wp-image-441" title="page structure for horizontal tabs" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/skeleton-page.gif" alt="page structure for horizontal tabs" width="525" height="287" /><p class="wp-caption-text">page structure for horizontal tabs</p></div>
<p>The code for this page looks like &#8230;</p>
<div id="attachment_442" class="wp-caption alignnone" style="width: 518px"><img class="size-full wp-image-442" title="code for page structure of CSS tabs" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/skeleton-code-css-tabs.gif" alt="code for page structure of CSS tabs" width="508" height="832" /><p class="wp-caption-text">code for page structure of CSS tabs</p></div>
<p>Note that for the sake of simplicity, this tutorial had placed the  CSS on the same page embedded in the head section.  However, for  production code, you should put the CSS in a separate CSS file.  Also  images will be referenced in the same directory.  Again, for production  code, they would normally be in a separate directory.</p>
<h2>Coding the CSS Based Horizontal Tabs</h2>
<p>1. Start by letting the tabs be links in an unordered list&#8230;</p>
<p><img class="alignnone size-full wp-image-443" title="where-code-css-horizontal-tabs" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/where-code-css-horizontal-tabs.gif" alt="" width="376" height="194" /></p>
<p>And we get this &#8230;</p>
<p><img class="alignnone size-full wp-image-444" title="css-horizontal-tabs-1" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/css-horizontal-tabs-1.gif" alt="" width="280" height="218" /></p>
<p>2. Because different browsers may have different default margins and paddings for <strong>ul</strong>&#8216;s and <strong>li</strong>&#8216;s, we set them all to zero first and then we can adjust them later. We give the ul element an id of tabnav and create a CSS rule to select this ul and li&#8217;s that it contains.</p>
<p><img class="alignnone size-full wp-image-445" title="code for css tabs" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/zero-out-css-tabs-margin-padding.gif" alt="code for css tabs" width="402" height="437" /></p>
<p>3.  In the CSS, we remove the bullets that normally appears in the  unordered list.  And we remove the underlines that normally occurs in  the links for li&#8217;s.</p>
<p><img class="alignnone size-full wp-image-446" title="code for CSS horizontal tabs" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/remove-css-horiz-tabs.gif" alt="code for CSS horizontal tabs" width="342" height="213" /></p>
<p>4. The main characteristic about horizontal css tabs is that they actually be horizontal.  We make the list items horizontal by floating the li&#8217;s.  When we float the li&#8217;s, we need to give it a width.  We set the li&#8217;s to 88px by 23px since that is the size of our graphic image for one tab.</p>
<p><img class="alignnone size-full wp-image-447" title="float-size-horiz-css-tabs" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/float-size-horiz-css-tabs.gif" alt="" width="339" height="257" /></p>
<p>Now the list items are horizontal &#8230;</p>
<p><img class="alignnone size-full wp-image-448" title="horizontal list items to be tabs" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/horizontal-list-item-tabs.gif" alt="horizontal list items to be tabs" width="331" height="217" /></p>
<p>5. We set the display of the link to be block so that the link will expand to fill the entire width of the li, making the entire tab clickable and not just the text clickable.  This is done with the following CSS &#8230;</p>
<p>display:block;</p>
<p>6.  We set the background image of link to be the tab graphic.  We  center align the text.  Finally, we stylize the link with a color and  font size that is suitable to match the tab graphics&#8230;</p>
<p><img class="alignnone size-full wp-image-449" title="stylize horizontal CSS tabs" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/stylize-horizontal-css-tab.gif" alt="stylize horizontal CSS tabs" width="458" height="371" /></p>
<p>And we get&#8230;</p>
<p><img class="alignnone size-full wp-image-450" title="horizontal CSS tabs" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/horizontal-css-tabs-6.gif" alt="horizontal CSS tabs" width="308" height="205" /></p>
<p>7. Notice that the tabs are much shorter than we would like.  In fact,  the tab height is only taking up as much height as needed by the text  instead of the full 23px height of the tab graphic.  Therefore, we remove  the &#8220;height&#8221; attribute from the &#8220;li&#8221; to the &#8220;a&#8221; selector rule.</p>
<p><img class="alignnone size-full wp-image-451" title="height-horizontal-css-tabs" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/height-horizontal-css-tabs.gif" alt="" width="457" height="370" /></p>
<p>And we get &#8230;</p>
<p><img class="alignnone size-full wp-image-452" title="horizontal-css-tabs-7" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/horizontal-css-tabs-7.gif" alt="" width="325" height="215" /></p>
<p>&nbsp;</p>
<p>8.  The text is sitting a little bit too high in relation to the tab graphics, so we add 3px top padding to the link.  But when we add padding to the link, remember to decrease the height by the same amount since &#8220;height&#8221; in CSS is defined as &#8220;content height&#8221; and does not include any padding.</p>
<p><img class="alignnone size-full wp-image-453" title="adjust-height-css-horizontal-tabs" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/adjust-height-css-horizontal-tabs.gif" alt="" width="447" height="192" /></p>
<p>9. To create the hover effect where the highlighted tab is displayed  when the mouse cursor is over the tab, we add a new CSS rule using the  hover pseudo-class where we shift the background image to the left by  88px.  Recall that the highlighted tab image is on the right-half of the  graphics file and that each tab image is 88px in width.</p>
<p><img class="alignnone size-full wp-image-454" title="shift bg image of horizontal CSS tabs" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/shift-bg-image-horiz-css-tabs.gif" alt="shift bg image of horizontal CSS tabs" width="443" height="259" /></p>
<p>We also altered the link color upon hover to better constrast with the highlighted tab.</p>
<p>And here is what it looks like if you hover over the home tab&#8230;</p>
<p><img class="alignnone size-full wp-image-455" title="horizontal-css-tabs-9" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/horizontal-css-tabs-9.gif" alt="" width="350" height="215" /></p>
<p>10.  If we want the home tab to stay highlighted because this is the &#8220;home&#8221; page, then we have to add a class to the &#8220;home&#8221; link to make it different from the rest of the links.  We&#8217;ll give it the arbitrary class called &#8220;selected&#8221; and add the CSS selector rule as shown&#8230;</p>
<p><img class="alignnone size-full wp-image-456" title="horizontal CSS selected tab" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/horizontal-css-selected-tab.gif" alt="horizontal CSS selected tab" width="446" height="254" /></p>
<p>11.  We want the tabs to be sitting on the gold nav strip, not floating  near the top of the page masthead.  No problem.  With some graphical  measurements, we determined that all we need to do is to move the whole  tab structure 71px lower.  We do so by giving a top margin to the ul element, since the ul element is what contains all the tabs.</p>
<p><img class="alignnone size-full wp-image-457" title="top-margin-css-horizontal-tabs" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/top-margin-css-horizontal-tabs.gif" alt="" width="361" height="196" /></p>
<p>And now it looks like &#8230;</p>
<p><img class="alignnone size-full wp-image-458" title="horizontal-css-tabs-located" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/horizontal-css-tabs-located.gif" alt="" width="333" height="220" /></p>
<p>12.  Let&#8217;s space the horizontal tabs apart by adding 10px right margin to the li element.</p>
<p><img class="alignnone size-full wp-image-459" title="right-margin-horizontal-css-tabs" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/right-margin-horizontal-css-tabs.gif" alt="" width="383" height="195" /></p>
<p>And we got our final product that looks like &#8230;</p>
<div id="attachment_437" class="wp-caption alignnone" style="width: 361px"><img class="size-full wp-image-437" title="horizontal CSS tabs" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/horizontal-css-tabs-final.gif" alt="horizontal CSS tabs" width="351" height="217" /><p class="wp-caption-text">horizontal CSS tabs</p></div>
<p>And there you have it.</p>
]]></content:encoded>
			<wfw:commentRss>http://learnwebdesignonline.com/css-based-horizontal-tabs/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick FTP connect with FileZilla</title>
		<link>http://learnwebdesignonline.com/quick-ftp-connect-filezilla</link>
		<comments>http://learnwebdesignonline.com/quick-ftp-connect-filezilla#comments</comments>
		<pubDate>Mon, 25 Jul 2011 02:11:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[filezilla]]></category>
		<category><![CDATA[other]]></category>

		<guid isPermaLink="false">http://learnwebdesignonline.com/?p=432</guid>
		<description><![CDATA[FTP stands for &#8220;File Transfer Protocol&#8221;. In order to transfer files to a server, you to need use a software known as a &#8220;FTP client&#8221;. FileZilla is one such software for Windows and is free. (Mac users can use CyberDuck) In this tutorial, we will show you how to use FileZilla&#8217;s &#8220;Quick Connect&#8221; feature to [...]]]></description>
			<content:encoded><![CDATA[<p>FTP stands for &#8220;File Transfer Protocol&#8221;.  In order to transfer files  to a server, you to need use a software known as a &#8220;FTP client&#8221;.  <a href="http://filezilla-project.org/">FileZilla</a> is one such software for Windows and is free.  (Mac users can use <a href="http://cyberduck.ch/">CyberDuck</a>)</p>
<p>In this tutorial, we will show you how to use FileZilla&#8217;s &#8220;Quick Connect&#8221; feature to transfer files to a web server.</p>
<p>Although this method is the simplest way to connect, it is not the  best because it transmits passwords and data over the internet route via  &#8220;clear text&#8221;.  Once you have learned the basics of FTP, ideally you  will want to use <a href="http://www.learnwebdesignonline.com/tutorials/webhost-admin/sftp-filezilla-tutorial">SFTP which is a secured transmission of data as described in our other tutorial</a>.</p>
<h2>FileZilla Quick Connect FTP</h2>
<p><strong>Step 1:</strong> First download and install FileZilla from <a href="http://filezilla-project.org/">FileZilla-Project.org</a>.  Click on the &#8220;<strong>Download FileZilla Client</strong>&#8221; button.  It is free.</p>
<p><strong>Step 2:</strong> In order to connect to the webserver, you  need three pieces of information provided by your webserver  administrator: 1) the host name, 2) the username, and 3) the password.</p>
<p>In this example tutorial, we use these three fake pieces of information&#8230;</p>
<p>server: <strong>example.com</strong><br />
username: <strong>someone@example.com</strong><br />
password: <strong>123456</strong></p>
<p>Note that depending on the webhost, the username can in the form of  an email address (but it is not a real email address) as in the above or  it can be a single word as in &#8220;<strong>someone</strong>&#8220;.</p>
<p><strong>Step 3:</strong> After you run FileZilla, enter the server, username, password and click the &#8220;<strong>Quick Connect</strong>&#8221; button as shown.</p>
<div id="attachment_433" class="wp-caption alignnone" style="width: 535px"><img class="size-full wp-image-433" title="Quick FTP connect with Filezilla" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/filezilla.gif" alt="Quick FTP connect with Filezilla" width="525" height="444" /><p class="wp-caption-text">Quick FTP connect with Filezilla</p></div>
<p><strong>Step 4:</strong> The pane on the left shows your local disk.   The pane on the right shows your webserver.  In the left pane, navigate  to the files you want to upload.  Using the left pane and then drag  those files from the left pane to the right pane.</p>
<p><strong>Step 5:</strong> When done, disconnect the connection to the server by clicking the disconnect icon.</p>
<p>More info&#8230;</p>
<ul>
<li><a href="http://www.hostmonstertutorials.com/filezilla/">Hostmonster&#8217;s Video Tutorial on downloading and using FileZilla</a></li>
<li><a href="http://filezilla.sourceforge.net/documentation/">FileZilla Documentation</a></li>
<li><a href="http://www.velnetsupport.co.uk/parrots/FTP/Filezilla/">Using FileZilla Site Manager to remember connection info</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://learnwebdesignonline.com/quick-ftp-connect-filezilla/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorial to create a Simple Joomla Plugin</title>
		<link>http://learnwebdesignonline.com/tutorial-joomla-plugin</link>
		<comments>http://learnwebdesignonline.com/tutorial-joomla-plugin#comments</comments>
		<pubDate>Mon, 25 Jul 2011 01:42:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[joomla]]></category>

		<guid isPermaLink="false">http://learnwebdesignonline.com/?p=420</guid>
		<description><![CDATA[For the purpose of this tutorial example, we will create a Joomla plugin that will alter the title tag of pages of a Joomla 1.5 website. The text surrounded by the title tags in the HTML code is what the browser will display in the browser window frame and browser tabs. By default, Joomla sets [...]]]></description>
			<content:encoded><![CDATA[<p>For the purpose of this tutorial example, we will create a Joomla  plugin that will alter the title tag of pages of a Joomla 1.5 website.</p>
<p>The text surrounded by the title tags in the HTML code is what the  browser will display in the browser window frame and browser tabs.</p>
<div id="attachment_421" class="wp-caption alignnone" style="width: 530px"><img class="size-full wp-image-421 " title="Joomla title tag plugin" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/joomla-title-tag.jpg" alt="Joomla title tag plugin" width="520" height="328" /><p class="wp-caption-text">Joomla title tag</p></div>
<p>By default, Joomla sets the title tag to be the title of the article  being displayed.  We want to create a plugin that will append our site  name at the end of the title tag as in &#8230;</p>
<div id="attachment_422" class="wp-caption alignnone" style="width: 522px"><img class="size-full wp-image-422" title="sitename added to title tag" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/sitename-added-title.jpg" alt="sitename added to title tag" width="512" height="338" /><p class="wp-caption-text">sitename added to title tag</p></div>
<p>For the purposes of this example, the site name is &#8220;Demo Joomla Site&#8221;.</p>
<h2>Do Not Modify Core Joomla Code</h2>
<p>The core Joomla code that controls the output of the title tag is found in &#8230;<br />
<strong>libraries/joomla/document/html/renderer/head.php</strong></p>
<p>However, it is not considered good practice to alter this file here.    Because an Joomla upgrade may wipe out your changes to that file.   Altering core Joomla files to get the behavioral changes you want is  sometimes known as a &#8220;hack&#8221;.</p>
<h2>Better to Create a Joomla Plugin</h2>
<p>Instead, a better way is to create a Joomla plugin that will add our  site name to this output without modifying the Joomla core code. We will be inserting new files into the Joomla system instead of altering any  existing Joomla files. We  will call our plugin &#8220;SiteNameInTitle&#8221;.</p>
<p>1.  Plugins can be in any of the nine plugin groups shown below in the Joomla file system.</p>
<div id="attachment_423" class="wp-caption alignnone" style="width: 320px"><img class="size-full wp-image-423" title="Joomla plugin groups" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/plugin-groups.jpg" alt="Joomla plugin groups" width="310" height="566" /><p class="wp-caption-text">Joomla plugin groups</p></div>
<p>We will put our plugin into the &#8220;system&#8221; group.  So we create two files (<strong>sitenameintitle.xml</strong> and <strong>sitenameintitle.php</strong> within the system folder on our local computer (not on the webhost  yet).  I like to keep all the characters of the filename in lowercase.</p>
<p>2.  The <strong>sitenameintitle.xml</strong> is the plugin installer file.  Make it look similar to the following with your own relevant information.</p>
<div id="attachment_424" class="wp-caption alignnone" style="width: 529px"><img class="size-full wp-image-424" title="Joomla plugin xml file" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/plugin-xml-file.jpg" alt="Joomla plugin xml file" width="519" height="275" /><p class="wp-caption-text">Joomla plugin xml file</p></div>
<p>The name of our plugin is highlighted in the above.  Also note that we put <strong>group=&#8221;system&#8221;</strong> and the reference to our second file <strong>sitenameintitle.php</strong></p>
<p>3.  For our second file <strong>sitenameintitle.php</strong>, we put the following &#8230;</p>
<div id="attachment_425" class="wp-caption alignnone" style="width: 459px"><img class="size-full wp-image-425" title="Joomla plugin code" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/plugin-code.jpg" alt="Joomla plugin code" width="449" height="611" /><p class="wp-caption-text">Joomla plugin code</p></div>
<p>We create a class <strong>plgSystemSiteNameInTitle</strong> which extends <strong>JPlugin</strong>.  The class name is constructed by convention to start with <strong>plg</strong> to indicate a plugin followed by the plugin group and by the plugin name.</p>
<p>4. Inside the class, we have a function <strong>onAfterDispatch()</strong> to handle the event.</p>
<p>First we get our document object by &#8230;<br />
<strong>$document = &amp; JFactory::getDocument();</strong><br />
We need this to access our title.</p>
<p>We handle the event <strong>onAfterDispatch</strong> by setting the document title to whatever the document title is currently suffixed by the site name &#8230;</p>
<p><strong>$document-&gt;setTitle($document-&gt;getTitle() . &#8216; &#8211; &#8216; . $mainframe-&gt;getCfg(&#8216;sitename&#8217;));</strong></p>
<p>We use <strong>$document-&gt;getTitle()</strong> to get our current  title.  We concatenate it with a hyphen.  And we get the site name as  configured in the Joomla administrator via <strong>$mainframe-&gt;getCfg(&#8216;sitename&#8217;)</strong></p>
<p>Then we use <strong>$document-&gt;setTitle</strong> to set the new title.</p>
<p>5.  Now zip the two files up into a zip file called <strong>sitenameintitle.zip</strong></p>
<p>6.  In your Joomla <strong>Administrator -&gt; Extensions -&gt; Install</strong>, browse to pick up the <strong>sienameintitle.zip</strong> and click <strong>Upload File and Install</strong></p>
<div id="attachment_427" class="wp-caption alignnone" style="width: 530px"><img class="size-full wp-image-427" title="upload and install plugin" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/upload-install.jpg" alt="upload and install plugin" width="520" height="256" /><p class="wp-caption-text">upload and install plugin</p></div>
<p>7.  You should see &#8220;Install Plugin Success&#8221;.  Note the plugin description from the XML file is also shown here.</p>
<div id="attachment_428" class="wp-caption alignnone" style="width: 530px"><img class="size-full wp-image-428" title="Joomla plugin successful" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/plugin-install-success.jpg" alt="Joomla plugin successful" width="520" height="259" /><p class="wp-caption-text">Joomla plugin successful</p></div>
<p>Joomla has just unzipped the two files <strong>sitenameintitle.xml</strong> and <strong>sitenameintitle.php</strong> into the <strong>plugins/system</strong> folder on your webhost.</p>
<p>8.  In <strong>Extensions -&gt; Plugin Manager</strong>, find your new plugin and enable it.</p>
<div id="attachment_429" class="wp-caption alignnone" style="width: 529px"><img class="size-full wp-image-429" title="enable Joomla plugin" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/enable-plugin.jpg" alt="enable Joomla plugin" width="519" height="315" /><p class="wp-caption-text">enable Joomla plugin</p></div>
<p>9.  Refresh your browser and see that site name is now added to the title tag&#8230;</p>
<div id="attachment_430" class="wp-caption alignnone" style="width: 522px"><img class="size-full wp-image-430" title="sitename added to title" src="http://learnwebdesignonline.com/wp-content/uploads/2011/07/sitename-with-added-title.jpg" alt="sitename added to title" width="512" height="338" /><p class="wp-caption-text">sitename added to title</p></div>
<h2>Notes:</h2>
<p>We can not remove the text &#8220;Mozilla Firefox&#8221; that you see in the  browser frame because that is put there by the browser and not  controlled in the title tag HTML code.</p>
<p>This tutorial refers to Joomla version 1.5.14.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://learnwebdesignonline.com/tutorial-joomla-plugin/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorials for Creating WordPress Plugins</title>
		<link>http://learnwebdesignonline.com/tutorials-for-creating-wordpress-plugins</link>
		<comments>http://learnwebdesignonline.com/tutorials-for-creating-wordpress-plugins#comments</comments>
		<pubDate>Sun, 24 Jul 2011 17:43:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://learnwebdesignonline.com/?p=409</guid>
		<description><![CDATA[WordPress functionality can be customized through the use of WordPress Plugins. If you have a functionality that you want in your wordpress site that can not be found in an existing plugin, you can write your own plugins with a bit of PHP knowledge. Here are some tutorials to get you started on creating your [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>WordPress functionality can be customized through the use of  WordPress Plugins.   If you have a functionality that you want in your  wordpress site that can not be found in an existing plugin, you can  write your own plugins with a bit of PHP knowledge.</p>
<p>Here are some tutorials to get you started on creating your own WordPress plugins.</p>
<ul>
<li><a href="http://codex.wordpress.org/Writing_a_Plugin">WordPress Codex on Writing Plugin</a>: Best place to start off with is the WordPress Codex documentation as to how WordPress plugin works and how to create one.</li>
<li><a href="http://markjaquith.wordpress.com/2006/03/04/wp-tutorial-your-first-wp-plugin/">Video for First WordPress Plugin</a>:  Mark Jaquith shows us in this video as to how to make a bare minimal  wordpress plugin.  The plug-in uses the &#8220;add_filter&#8221; hooks to  &#8220;the_content&#8221; and &#8220;the_title&#8221; to replace words of &#8220;foo&#8221; with &#8220;bar&#8221;.</li>
<li><a href="http://ditio.net/2007/08/09/how-to-create-wordpress-plugin-from-a-scratch/">WordPress Plugin from Scratch</a> &#8212; This tutorial not only shows you how to create a Plugin from the  beginning, it also shows more sophisticated use of accessing the  database.  As of this writing, there appears to be a typo in the code.   The call to &#8220;get_results&#8221; should be &#8220;$results=$wpdb-&gt;get_results&#8221;.</li>
<li><a href="http://codex.wordpress.org/Adding_Administration_Menus">Adding Administration Menus:</a> When your plugin gets more complicated, you may have the need to add administrator menus.</li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://learnwebdesignonline.com/tutorials-for-creating-wordpress-plugins/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

